From 4da3f268c67e5c4123a0658b749d22902a08b68c Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Wed, 26 Aug 2026 03:01:12 -0700 Subject: [PATCH 1/4] add 3.15 support to py_version.hpp --- pydevd_attach_to_process/common/py_version.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pydevd_attach_to_process/common/py_version.hpp b/pydevd_attach_to_process/common/py_version.hpp index 15c05537..83714090 100644 --- a/pydevd_attach_to_process/common/py_version.hpp +++ b/pydevd_attach_to_process/common/py_version.hpp @@ -25,6 +25,7 @@ enum PythonVersion { PythonVersion_312 = 0x030C, PythonVersion_313 = 0x030D, PythonVersion_314 = 0x030E, + PythonVersion_315 = 0x030F, }; @@ -82,6 +83,9 @@ static PythonVersion GetPythonVersion(void *module) { if(version[3] == '4'){ return PythonVersion_314; } + if(version[3] == '5'){ + return PythonVersion_315; + } } return PythonVersion_Unknown; // we don't care about 3.1 anymore... @@ -99,4 +103,4 @@ static PythonVersion GetPythonVersion(void *module) { return PythonVersion_Unknown; } -#endif \ No newline at end of file +#endif From 40eb849fa294880caa688cddaa91ccfa06694013 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Sat, 29 Aug 2026 23:38:08 -0700 Subject: [PATCH 2/4] Test nested exception handling during unhandled exception reporting Verify that an exception already reported as unhandled remains recognized after a nested exception replaces the transient exception state. This prevents the original exception from being reported twice. --- tests_python/test_sys_monitoring.py | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/tests_python/test_sys_monitoring.py b/tests_python/test_sys_monitoring.py index df96bb66..776a10c8 100644 --- a/tests_python/test_sys_monitoring.py +++ b/tests_python/test_sys_monitoring.py @@ -119,6 +119,49 @@ def method(): ] +def test_nested_exception_does_not_reset_reported_unhandled_exception(): + from _pydevd_sys_monitoring import _pydevd_sys_monitoring + + thread_local_info = _pydevd_sys_monitoring._thread_local_info + state_names = ( + "f_unhandled_exc", + "f_unhandled_frame", + "f_reported_unhandled_exc_tag", + ) + + for name in state_names: + if hasattr(thread_local_info, name): + delattr(thread_local_info, name) + + try: + unhandled_exception = SystemExit(1) + nested_exception = AttributeError("nested") + + _pydevd_sys_monitoring._get_unhandled_exception_frame( + unhandled_exception, 1 + ) + thread_local_info.f_reported_unhandled_exc_tag = ( + thread_local_info.f_unhandled_exc + ) + del thread_local_info.f_unhandled_exc + del thread_local_info.f_unhandled_frame + + _pydevd_sys_monitoring._get_unhandled_exception_frame( + nested_exception, 1 + ) + + assert ( + _pydevd_sys_monitoring._get_unhandled_exception_frame( + unhandled_exception, 1 + ) + is None + ) + finally: + for name in state_names: + if hasattr(thread_local_info, name): + delattr(thread_local_info, name) + + def test_variables_on_call(with_monitoring): monitor.set_events(DEBUGGER_ID, monitor.events.PY_START) From 9064356258332eecad622965574955fc6bce7366 Mon Sep 17 00:00:00 2001 From: Finn Womack Date: Sat, 29 Aug 2026 23:42:17 -0700 Subject: [PATCH 3/4] Preserve reported unhandled exceptions across nested exceptions Track the identity of an exception once it has been reported as unhandled so that nested exceptions cannot cause it to be reported again. Clear the transient exception state before stopping while retaining the reported exception tag for the remainder of its unwind. This fixes duplicate SystemExit stops exposed by Python 3.15, where traceback formatting can trigger a nested monitored exception while resolving its lazy _colorize import. --- _pydevd_sys_monitoring/_pydevd_sys_monitoring.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py b/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py index 6ed28eba..19f99fde 100644 --- a/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py +++ b/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py @@ -196,6 +196,12 @@ def _get_bootstrap_frame(depth: int) -> Tuple[Optional[FrameType], bool]: def _get_unhandled_exception_frame(exc, depth: int) -> Optional[FrameType]: # ENDIF # fmt: on + try: + if _thread_local_info.f_reported_unhandled_exc_tag is exc: + return None + except AttributeError: + pass + try: # Unhandled frame has to be from the same exception. if _thread_local_info.f_unhandled_exc is exc: @@ -950,6 +956,9 @@ def _unwind_event(code, instruction, exc): break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions if break_on_uncaught_exceptions: if frame is _get_unhandled_exception_frame(exc, 1): + _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + del _thread_local_info.f_unhandled_exc + del _thread_local_info.f_unhandled_frame stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) return From 55801445433a8b9cf70d0e575b1254e027ce3915 Mon Sep 17 00:00:00 2001 From: Bastian Germann Date: Tue, 17 Nov 2026 08:22:59 +0100 Subject: [PATCH 4/4] Update cython on pydevd --- _pydevd_bundle/pydevd_cython.c | 21343 ++++++++++----- .../_pydevd_sys_monitoring_cython.c | 21748 ++++++++++------ .../_pydevd_sys_monitoring_cython.pyx | 9 + 3 files changed, 28255 insertions(+), 14845 deletions(-) diff --git a/_pydevd_bundle/pydevd_cython.c b/_pydevd_bundle/pydevd_cython.c index abfc8c1e..364e31b4 100644 --- a/_pydevd_bundle/pydevd_cython.c +++ b/_pydevd_bundle/pydevd_cython.c @@ -1,4 +1,4 @@ -/* Generated by Cython 3.2.4 */ +/* Generated by Cython 3.3.1 */ /* BEGIN: Cython Metadata { @@ -37,11 +37,13 @@ END: Cython Metadata */ #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. -#elif PY_VERSION_HEX < 0x03080000 - #error Cython requires Python 3.8+. +#elif PY_VERSION_HEX < 0x03090000 + #error Cython requires Python 3.9+. +#elif defined(Py_LIMITED_API) && (Py_LIMITED_API & 0xFFFF0000) > (PY_VERSION_HEX & 0xFFFF0000) + #error 'Py_LIMITED_API' can only select past Python X.Y versions, not future ones. #else -#define __PYX_ABI_VERSION "3_2_4" -#define CYTHON_HEX_VERSION 0x030204F0 +#define __PYX_ABI_VERSION "3_3_1" +#define CYTHON_HEX_VERSION 0x030301F0 #define CYTHON_FUTURE_DIVISION 1 /* CModulePreamble */ #include @@ -59,6 +61,11 @@ END: Cython Metadata */ #define __fastcall #endif #endif +#ifdef __has_builtin + #define __Pyx_has_cbuiltin(name) __has_builtin(name) +#else + #define __Pyx_has_cbuiltin(name) (0) +#endif #ifndef DL_IMPORT #define DL_IMPORT(t) t #endif @@ -73,32 +80,49 @@ END: Cython Metadata */ #define Py_HUGE_VAL HUGE_VAL #endif #define __PYX_LIMITED_VERSION_HEX PY_VERSION_HEX -#if defined(GRAALVM_PYTHON) - /* For very preliminary testing purposes. Most variables are set the same as PyPy. - The existence of this section does not imply that anything works or is even tested */ +#if defined(CYTHON_LIMITED_API) + #ifdef Py_LIMITED_API + #undef __PYX_LIMITED_VERSION_HEX + #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API + #if Py_LIMITED_API < 0x03090000 + #error "Cython 3.3 requires the Python Limited API version to be 3.9 or greater." + #endif + #endif + #if defined(GRAALVM_PYTHON) || defined(PYPY_VERSION) + #ifdef _MSC_VER + #pragma message ("Py_LIMITED_API is defined on PyPy or GraalPy. This takes precedence over Cython's specialized\ + code for PyPy and GraalPy and is unlikely to work.") + #else + #warning "Py_LIMITED_API is defined on PyPy or GraalPy. This takes precedence over Cython's specialized\ + code for PyPy and GraalPy and is unlikely to work." + #endif + #endif #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 - #define CYTHON_COMPILING_IN_LIMITED_API 0 - #define CYTHON_COMPILING_IN_GRAAL 1 + #define CYTHON_COMPILING_IN_LIMITED_API 1 + #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 0 #undef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 0 + #define CYTHON_USE_TYPE_SPECS 1 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 - #undef CYTHON_USE_UNICODE_WRITER - #define CYTHON_USE_UNICODE_WRITER 0 + #ifndef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #endif #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 - #undef CYTHON_AVOID_BORROWED_REFS - #define CYTHON_AVOID_BORROWED_REFS 1 - #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 + #ifndef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 0 + #endif + #ifndef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 + #endif #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 #undef CYTHON_ASSUME_SAFE_SIZE @@ -109,45 +133,62 @@ END: Cython Metadata */ #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 0 - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #undef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) + #ifndef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW (CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif - #undef CYTHON_PEP489_MULTI_PHASE_INIT - #define CYTHON_PEP489_MULTI_PHASE_INIT 1 - #undef CYTHON_USE_MODULE_STATE - #define CYTHON_USE_MODULE_STATE 0 + #ifndef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif + #ifndef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 + #endif #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 - #undef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE 0 - #undef CYTHON_USE_AM_SEND - #define CYTHON_USE_AM_SEND 0 + #ifndef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE (__PYX_LIMITED_VERSION_HEX >= 0x030F0000 && PY_VERSION_HEX > 0x030F00A8) + #endif + #ifndef CYTHON_USE_AM_SEND + #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000) + #endif #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK - #define CYTHON_USE_EXC_INFO_STACK 1 + #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 #endif - #undef CYTHON_USE_FREELISTS - #define CYTHON_USE_FREELISTS 0 + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 + #endif + #ifndef CYTHON_USE_FREELISTS + #define CYTHON_USE_FREELISTS 1 + #endif #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 -#elif defined(PYPY_VERSION) - #define CYTHON_COMPILING_IN_PYPY 1 + #if __PYX_LIMITED_VERSION_HEX < 0x030E0000 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 + #elif !defined(CYTHON_OPAQUE_OBJECTS) + #define CYTHON_OPAQUE_OBJECTS 0 + #endif +#elif defined(GRAALVM_PYTHON) + /* For very preliminary testing purposes. Most variables are set the same as PyPy. + The existence of this section does not imply that anything works or is even tested */ + #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_LIMITED_API 0 - #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_GRAAL 1 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 - #undef CYTHON_USE_TYPE_SLOTS - #define CYTHON_USE_TYPE_SLOTS 1 - #ifndef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 0 + #ifndef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 0 #endif + #undef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 0 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS @@ -161,125 +202,131 @@ END: Cython Metadata */ #undef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 1 #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 - #ifndef CYTHON_ASSUME_SAFE_SIZE - #define CYTHON_ASSUME_SAFE_SIZE 1 - #endif + #undef CYTHON_ASSUME_SAFE_SIZE + #define CYTHON_ASSUME_SAFE_SIZE 0 #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 0 - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 + #endif + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW CYTHON_VECTORCALL + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif - #if PY_VERSION_HEX < 0x03090000 - #undef CYTHON_PEP489_MULTI_PHASE_INIT - #define CYTHON_PEP489_MULTI_PHASE_INIT 0 - #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) - #define CYTHON_PEP489_MULTI_PHASE_INIT 1 - #endif + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #undef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 - #ifndef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00) - #endif + #undef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 0 #undef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK - #define CYTHON_USE_EXC_INFO_STACK 0 + #define CYTHON_USE_EXC_INFO_STACK 1 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC - #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100) + #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #endif + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 #endif #undef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS 0 #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 -#elif defined(CYTHON_LIMITED_API) - #ifdef Py_LIMITED_API - #undef __PYX_LIMITED_VERSION_HEX - #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API - #endif - #define CYTHON_COMPILING_IN_PYPY 0 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 +#elif defined(PYPY_VERSION) + #define CYTHON_COMPILING_IN_PYPY 1 #define CYTHON_COMPILING_IN_CPYTHON 0 - #define CYTHON_COMPILING_IN_LIMITED_API 1 + #define CYTHON_COMPILING_IN_LIMITED_API 0 #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS - #define CYTHON_USE_TYPE_SLOTS 0 - #undef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 1 + #define CYTHON_USE_TYPE_SLOTS 1 + #ifndef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 1 + #endif #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 - #ifndef CYTHON_USE_UNICODE_WRITER - #define CYTHON_USE_UNICODE_WRITER 0 - #endif + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 - #ifndef CYTHON_AVOID_BORROWED_REFS - #define CYTHON_AVOID_BORROWED_REFS 0 - #endif - #ifndef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 - #endif + #undef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 1 + #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 - #undef CYTHON_ASSUME_SAFE_SIZE - #define CYTHON_ASSUME_SAFE_SIZE 0 + #ifndef CYTHON_ASSUME_SAFE_SIZE + #define CYTHON_ASSUME_SAFE_SIZE 1 + #endif #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 + #endif + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW (PYPY_VERSION_NUM >= 0x07030800 && CYTHON_VECTORCALL) + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #ifndef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #endif - #ifndef CYTHON_USE_MODULE_STATE - #define CYTHON_USE_MODULE_STATE 0 - #endif + #undef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 #ifndef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE 0 - #endif - #ifndef CYTHON_USE_AM_SEND - #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000) + #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00) #endif + #undef CYTHON_USE_AM_SEND + #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC - #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100) #endif - #ifndef CYTHON_USE_FREELISTS - #define CYTHON_USE_FREELISTS 1 + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 #endif + #undef CYTHON_USE_FREELISTS + #define CYTHON_USE_FREELISTS 0 #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 #else #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 1 @@ -347,11 +394,14 @@ END: Cython Metadata */ #elif !defined(CYTHON_FAST_GIL) #define CYTHON_FAST_GIL (PY_VERSION_HEX < 0x030C00A6) #endif - #ifndef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 1 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 #endif - #ifndef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 1 + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW CYTHON_VECTORCALL #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 @@ -383,6 +433,9 @@ END: Cython Metadata */ #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 1 #endif + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR (PY_VERSION_HEX < 0x030C00B2) + #endif #ifndef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS (!CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) #endif @@ -392,19 +445,9 @@ END: Cython Metadata */ #elif !defined(CYTHON_IMMORTAL_CONSTANTS) #define CYTHON_IMMORTAL_CONSTANTS (PY_VERSION_HEX >= 0x030C0000 && !CYTHON_USE_MODULE_STATE && CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) #endif -#endif -#ifndef CYTHON_COMPRESS_STRINGS - #define CYTHON_COMPRESS_STRINGS 1 -#endif -#ifndef CYTHON_FAST_PYCCALL -#define CYTHON_FAST_PYCCALL CYTHON_FAST_PYCALL -#endif -#ifndef CYTHON_VECTORCALL -#if CYTHON_COMPILING_IN_LIMITED_API -#define CYTHON_VECTORCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) -#else -#define CYTHON_VECTORCALL (CYTHON_FAST_PYCCALL) -#endif + #ifndef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 + #endif #endif #if CYTHON_USE_PYLONG_INTERNALS #undef SHIFT @@ -440,6 +483,8 @@ END: Cython Metadata */ #define CYTHON_UNUSED [[maybe_unused]] #endif #endif + #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L + #define CYTHON_UNUSED [[maybe_unused]] #endif #endif #ifndef CYTHON_UNUSED @@ -514,8 +559,19 @@ typedef uintptr_t __pyx_uintptr_t; #endif #endif #endif +#ifdef Py_UNREACHABLE + #define __Pyx_UNREACHABLE() Py_UNREACHABLE() +#elif __Pyx_has_cbuiltin(__builtin_unreachable) + #define __Pyx_UNREACHABLE() __builtin_unreachable() +#elif defined(__clang__) || defined(__INTEL_COMPILER) || (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))) + #define __Pyx_UNREACHABLE() __builtin_unreachable() +#elif defined(_MSC_VER) + #define __Pyx_UNREACHABLE() __assume(0) +#else + #define __Pyx_UNREACHABLE() Py_FatalError("Unreachable C code path reached") +#endif #ifndef Py_UNREACHABLE - #define Py_UNREACHABLE() assert(0); abort() + #define Py_UNREACHABLE() __Pyx_UNREACHABLE() #endif #ifdef __cplusplus template @@ -527,9 +583,16 @@ typedef uintptr_t __pyx_uintptr_t; #if CYTHON_COMPILING_IN_PYPY == 1 #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX < 0x030A0000) #else - #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX < 0x03090000) + #define __PYX_NEED_TP_PRINT_SLOT 0 #endif #define __PYX_REINTERPRET_FUNCION(func_pointer, other_pointer) ((func_pointer)(void(*)(void))(other_pointer)) +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 +#define __Pyx_PyErr_FetchException(petype, peval, petb) PyErr_Fetch(petype, peval, petb) +#define __Pyx_PyErr_RestoreException(etype, eval, etb) PyErr_Restore(etype, eval, etb) +#else +#define __Pyx_PyErr_FetchException(petype, peval, petb) *(petype)=NULL; *(peval)=PyErr_GetRaisedException(); *(petb)=NULL +#define __Pyx_PyErr_RestoreException(etype, eval, etb) PyErr_SetRaisedException(eval) +#endif /* CInitCode */ #ifndef CYTHON_INLINE @@ -582,11 +645,6 @@ typedef uintptr_t __pyx_uintptr_t; #endif #endif static int __Pyx_init_co_variables(void); -#if PY_VERSION_HEX >= 0x030900A4 || defined(Py_IS_TYPE) - #define __Pyx_IS_TYPE(ob, type) Py_IS_TYPE(ob, type) -#else - #define __Pyx_IS_TYPE(ob, type) (((const PyObject*)ob)->ob_type == (type)) -#endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_Is) #define __Pyx_Py_Is(x, y) Py_Is(x, y) #else @@ -608,28 +666,27 @@ static int __Pyx_init_co_variables(void); #define __Pyx_Py_IsFalse(ob) __Pyx_Py_Is((ob), Py_False) #endif #define __Pyx_NoneAsNull(obj) (__Pyx_Py_IsNone(obj) ? NULL : (obj)) -#if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY - #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) -#else +#if CYTHON_COMPILING_IN_PYPY #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o) +#else + #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) #endif -#ifndef Py_TPFLAGS_CHECKTYPES - #define Py_TPFLAGS_CHECKTYPES 0 -#endif -#ifndef Py_TPFLAGS_HAVE_INDEX - #define Py_TPFLAGS_HAVE_INDEX 0 -#endif -#ifndef Py_TPFLAGS_HAVE_NEWBUFFER - #define Py_TPFLAGS_HAVE_NEWBUFFER 0 +#if CYTHON_COMPILING_IN_LIMITED_API +static unsigned long __Pyx_Runtime_TPFLAGS_SEQUENCE; +static unsigned long __Pyx_Runtime_TPFLAGS_MAPPING; +#else +#define __Pyx_Runtime_TPFLAGS_SEQUENCE Py_TPFLAGS_SEQUENCE +#define __Pyx_Runtime_TPFLAGS_MAPPING Py_TPFLAGS_MAPPING #endif +static int __Pyx_init_tpflags_variables(void); #ifndef Py_TPFLAGS_HAVE_FINALIZE #define Py_TPFLAGS_HAVE_FINALIZE 0 #endif #ifndef Py_TPFLAGS_SEQUENCE - #define Py_TPFLAGS_SEQUENCE 0 + #define Py_TPFLAGS_SEQUENCE (CYTHON_COMPILING_IN_LIMITED_API ? 0 : 1 << 5) #endif #ifndef Py_TPFLAGS_MAPPING - #define Py_TPFLAGS_MAPPING 0 + #define Py_TPFLAGS_MAPPING (CYTHON_COMPILING_IN_LIMITED_API ? 0 : 1 << 6) #endif #ifndef Py_TPFLAGS_IMMUTABLETYPE #define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8) @@ -640,7 +697,7 @@ static int __Pyx_init_co_variables(void); #ifndef METH_STACKLESS #define METH_STACKLESS 0 #endif -#ifndef METH_FASTCALL +#if !defined(METH_FASTCALL) || CYTHON_COMPILING_IN_PYPY #ifndef METH_FASTCALL #define METH_FASTCALL 0x80 #endif @@ -656,7 +713,7 @@ static int __Pyx_init_co_variables(void); # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords #endif #endif -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #define __Pyx_METH_FASTCALL METH_FASTCALL #define __Pyx_PyCFunction_FastCall __Pyx_PyCFunctionFast #define __Pyx_PyCFunction_FastCallWithKeywords __Pyx_PyCFunctionFastWithKeywords @@ -673,11 +730,7 @@ static int __Pyx_init_co_variables(void); #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0 #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n)) #endif -#if PY_VERSION_HEX >= 0x030900B1 -#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) -#else -#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func) -#endif +#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) #define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func) #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth) @@ -698,17 +751,20 @@ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(vo #endif } #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc) -#if PY_VERSION_HEX < 0x03090000 || (CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000) +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b)) - typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); #else #define __Pyx_PyType_FromModuleAndSpec(m, s, b) PyType_FromModuleAndSpec(m, s, b) +#endif +#if CYTHON_COMPILING_IN_PYPY + typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); +#else #define __Pyx_PyCMethod PyCMethod #endif #ifndef METH_METHOD #define METH_METHOD 0x200 #endif -#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc) +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyObject_Malloc) #define PyObject_Malloc(s) PyMem_Malloc(s) #define PyObject_Free(p) PyMem_Free(p) #define PyObject_Realloc(p) PyMem_Realloc(p) @@ -734,6 +790,15 @@ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(vo #else #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() #endif +#if CYTHON_OPAQUE_OBJECTS && CYTHON_COMPILING_IN_LIMITED_API + #define __PYX_SHARED_SIZEOF(T) -((int)sizeof(T)) + #define __PYX_SHARED_RELATIVE_OFFSET Py_RELATIVE_OFFSET + #define CYTHON_OPAQUE_SHARED_TYPES 1 +#else + #define __PYX_SHARED_SIZEOF(T) sizeof(T) + #define __PYX_SHARED_RELATIVE_OFFSET 0 + #define CYTHON_OPAQUE_SHARED_TYPES 0 +#endif #if CYTHON_USE_MODULE_STATE static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op) { @@ -776,7 +841,9 @@ static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op) #define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash) static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) { PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name); - if (res == NULL) PyErr_Clear(); + if (res == NULL && PyErr_Occurred()) { + PyErr_WriteUnraisable(NULL); + } return res; } #elif !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000 @@ -823,6 +890,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_ReadChar(u, i) #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((void)u, 1114111U) #define __Pyx_PyUnicode_KIND(u) ((void)u, (0)) + #define __Pyx_PyUnicode_KIND_04(u) __Pyx_PyUnicode_KIND(u) #define __Pyx_PyUnicode_DATA(u) ((void*)u) #define __Pyx_PyUnicode_READ(k, d, i) ((void)k, PyUnicode_ReadChar((PyObject*)(d), i)) #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GetLength(u)) @@ -842,12 +910,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #if PY_VERSION_HEX >= 0x030C0000 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_LENGTH(u)) #else - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length)) #else #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u))) #endif #endif + static CYTHON_INLINE int __Pyx_PyUnicode_KIND_04(PyObject *o) { + return __Pyx_PyUnicode_KIND(o) - (int) !!PyUnicode_IS_ASCII(o); + } #endif #if CYTHON_COMPILING_IN_PYPY #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b) @@ -861,13 +932,13 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #if !defined(PyUnicode_DecodeUnicodeEscape) #define PyUnicode_DecodeUnicodeEscape(s, size, errors) PyUnicode_Decode(s, size, "unicode_escape", errors) #endif - #if !defined(PyUnicode_Contains) + #if PY_VERSION_HEX < 0x030C0000 && !defined(PyUnicode_Contains) #define PyUnicode_Contains(u, s) PySequence_Contains(u, s) #endif #if !defined(PyByteArray_Check) #define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type) #endif - #if !defined(PyObject_Format) + #if PY_VERSION_HEX < 0x030C0000 && !defined(PyObject_Format) #define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt) #endif #endif @@ -882,14 +953,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #define __Pyx_PySequence_ListKeepNew(obj) PySequence_List(obj) #endif #ifndef PySet_CheckExact - #define PySet_CheckExact(obj) __Pyx_IS_TYPE(obj, &PySet_Type) -#endif -#if PY_VERSION_HEX >= 0x030900A4 - #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt) - #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size) -#else - #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt) - #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size) + #define PySet_CheckExact(obj) Py_IS_TYPE(obj, &PySet_Type) #endif enum __Pyx_ReferenceSharing { __Pyx_ReferenceSharing_DefinitelyUnique, // We created it so we know it's unshared - no need to check @@ -907,28 +971,39 @@ enum __Pyx_ReferenceSharing { #else #define __Pyx_IS_UNIQUELY_REFERENCED(o, sharing) (((void)o), ((void)sharing), 0) #endif -#if CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) - #elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS +#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) +#elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #if CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyList_GetItemRef(o, i) (likely((i) >= 0) ? PySequence_GetItem(o, i) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) #else #define __Pyx_PyList_GetItemRef(o, i) PySequence_ITEM(o, i) #endif -#elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS - #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) - #else - #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i)) - #endif +#elif CYTHON_COMPILING_IN_LIMITED_API || !(CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE) + #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i)) #else - #define __Pyx_PyList_GetItemRef(o, i) __Pyx_NewRef(PyList_GET_ITEM(o, i)) + #define __Pyx_PyList_GetItemRef(o, i) (likely(__Pyx_is_valid_index(i, PyList_GET_SIZE(o))) ?\ + __Pyx_NewRef(PyList_GET_ITEM(o, i)) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) #endif -#if CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS && !CYTHON_COMPILING_IN_LIMITED_API && CYTHON_ASSUME_SAFE_MACROS - #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) (__Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ - __Pyx_NewRef(PyList_GET_ITEM(o, i)) : __Pyx_PyList_GetItemRef(o, i)) +#if CYTHON_AVOID_BORROWED_REFS || CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_PyList_GetItemRef(o, i)) +#elif CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #if CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) (\ + __Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ + __Pyx_NewRef(PyList_GET_ITEM(o, i)) : __Pyx_PyList_GetItemRef(o, i)) + #else + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) (\ + __Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ + __Pyx_XNewRef(PyList_GetItem(o, i)) : __Pyx_PyList_GetItemRef(o, i)) + #endif +#elif CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_NewRef(PyList_GET_ITEM(o, i))) #else - #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) __Pyx_PyList_GetItemRef(o, i) + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_XNewRef(PyList_GetItem(o, i))) #endif #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyDict_GetItemRef(dict, key, result) PyDict_GetItemRef(dict, key, result) @@ -978,6 +1053,7 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_GET_SIZE(o) #define __Pyx_PyList_GET_SIZE(o) PyList_GET_SIZE(o) #define __Pyx_PySet_GET_SIZE(o) PySet_GET_SIZE(o) + #define __Pyx_PyDict_GET_SIZE(o) PyDict_GET_SIZE(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_GET_SIZE(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_GET_SIZE(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GET_LENGTH(o) @@ -985,11 +1061,12 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_Size(o) #define __Pyx_PyList_GET_SIZE(o) PyList_Size(o) #define __Pyx_PySet_GET_SIZE(o) PySet_Size(o) + #define __Pyx_PyDict_GET_SIZE(o) PyDict_Size(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GetLength(o) #endif -#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_InternFromString) +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyUnicode_InternFromString) #define PyUnicode_InternFromString(s) PyUnicode_FromString(s) #endif #define __Pyx_PyLong_FromHash_t PyLong_FromSsize_t @@ -1031,11 +1108,6 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #else #define __Pyx_TPFLAGS_HAVE_AM_SEND (0) #endif -#if PY_VERSION_HEX >= 0x03090000 -#define __Pyx_PyInterpreterState_Get() PyInterpreterState_Get() -#else -#define __Pyx_PyInterpreterState_Get() PyThreadState_Get()->interp -#endif #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030A0000 #ifdef __cplusplus extern "C" @@ -1082,10 +1154,67 @@ static int __Pyx_init_co_variables(void) { Py_DECREF(inspect); return result ? 0 : -1; } +static int __Pyx_init_tpflags_bitcount(unsigned long flag) { + int count = 0; + while (flag) { + count += (int) (flag & 1); + flag >>= 1; + } + return count; +} +static int __Pyx_init_tpflags_variables(void) { + if (__Pyx_Runtime_TPFLAGS_SEQUENCE != 0 && __Pyx_Runtime_TPFLAGS_MAPPING != 0) { + return 0; + } + PyObject *collections_abc = PyImport_ImportModule("collections.abc"); + if (!collections_abc) return -1; + int result = 0; + PyObject *sequence = NULL, *mapping = NULL; +#if __PYX_LIMITED_VERSION_HEX >= 0x030D0000 + if (PyObject_GetOptionalAttrString(collections_abc, "Sequence", &sequence) != 1) goto fail; + if (PyObject_GetOptionalAttrString(collections_abc, "Mapping", &mapping) != 1) goto fail; +#else + sequence = PyObject_GetAttrString(collections_abc, "Sequence"); + if (!sequence) goto fail_attr_lookup; + mapping = PyObject_GetAttrString(collections_abc, "Mapping"); + if (!mapping) goto fail_attr_lookup; +#endif + if (!PyType_Check(sequence) || !PyType_Check(mapping)) goto fail; + { + unsigned long sequence_flags = PyType_GetFlags((PyTypeObject*)sequence); + unsigned long mapping_flags = PyType_GetFlags((PyTypeObject*)mapping); + unsigned long mutual_flags = sequence_flags & mapping_flags; + sequence_flags = sequence_flags ^ mutual_flags; + mapping_flags = mapping_flags ^ mutual_flags; + if (__Pyx_Runtime_TPFLAGS_SEQUENCE == 0 && __Pyx_init_tpflags_bitcount(sequence_flags) == 1) { + __Pyx_Runtime_TPFLAGS_SEQUENCE = sequence_flags; + } + if (__Pyx_Runtime_TPFLAGS_MAPPING == 0 && __Pyx_init_tpflags_bitcount(mapping_flags) == 1) { + __Pyx_Runtime_TPFLAGS_MAPPING = mapping_flags; + } + } + cleanup: + Py_XDECREF(mapping); + Py_XDECREF(sequence); + Py_DECREF(collections_abc); + return result; +#if __PYX_LIMITED_VERSION_HEX < 0x030D0000 + fail_attr_lookup: + if (PyErr_ExceptionMatches(PyExc_AttributeError)) { + PyErr_Clear(); + } +#endif + fail: + result = PyErr_Occurred() ? -1 : 0; + goto cleanup; +} #else static int __Pyx_init_co_variables(void) { return 0; // It's a limited API-only feature } +static int __Pyx_init_tpflags_variables(void) { + return 0; // It's a limited API-only feature +} #endif /* MathInitCode */ @@ -1100,6 +1229,12 @@ static int __Pyx_init_co_variables(void) { #else #define __Pyx_truncl truncl #endif +#if defined(__cplusplus) + #include + #define __Pyx_isfinite(x) std::isfinite(x) +#else + #define __Pyx_isfinite(x) isfinite(x) +#endif #ifndef CYTHON_CLINE_IN_TRACEBACK_RUNTIME #define CYTHON_CLINE_IN_TRACEBACK_RUNTIME 0 @@ -1247,6 +1382,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b); static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*); static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*); static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x); +#define __Pyx_PyObject_RichCompareBool(a,b,cmp) __Pyx_PyObject_IsTrueAndDecref(PyObject_RichCompare((a),(b),(cmp))) #define __Pyx_PySequence_Tuple(obj)\ (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj)) static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*); @@ -1255,9 +1391,11 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #if CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x)) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AS_DOUBLE(x) +#define __Pyx_PyFloat_IsNonZero(x) (PyFloat_AS_DOUBLE(x) != 0.0) #else #define __Pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AsDouble(x) +#define __Pyx_PyFloat_IsNonZero(x) PyObject_IsTrue(x) #endif #define __Pyx_PyFloat_AsFloat(x) ((float) __Pyx_PyFloat_AsDouble(x)) #define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x)) @@ -1269,25 +1407,39 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #ifndef _PyLong_NON_SIZE_BITS #define _PyLong_NON_SIZE_BITS 3 #endif - #define __Pyx_PyLong_Sign(x) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK) - #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_Sign(x) & 2) != 0) + #define __Pyx_PyLong_SignBits(x) ((int) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK)) + #define __Pyx_PyLong_Sign(x) (1 - __Pyx_PyLong_SignBits(x)) + #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_SignBits(x) & 2) != 0) #define __Pyx_PyLong_IsNonNeg(x) (!__Pyx_PyLong_IsNeg(x)) - #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_Sign(x) & 1) - #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_Sign(x) == 0) + #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_SignBits(x) & 1) + #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_SignBits(x) == 0) #define __Pyx_PyLong_CompactValueUnsigned(x) (__Pyx_PyLong_Digits(x)[0]) #define __Pyx_PyLong_DigitCount(x) ((Py_ssize_t) (((PyLongObject*)x)->long_value.lv_tag >> _PyLong_NON_SIZE_BITS)) #define __Pyx_PyLong_SignedDigitCount(x)\ - ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) + (((Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) #if defined(PyUnstable_Long_IsCompact) && defined(PyUnstable_Long_CompactValue) #define __Pyx_PyLong_IsCompact(x) PyUnstable_Long_IsCompact((PyLongObject*) x) #define __Pyx_PyLong_CompactValue(x) PyUnstable_Long_CompactValue((PyLongObject*) x) #else #define __Pyx_PyLong_IsCompact(x) (((PyLongObject*)x)->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS)) - #define __Pyx_PyLong_CompactValue(x) ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) - #endif + #define __Pyx_PyLong_CompactValue(x) (((Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) + #endif + static CYTHON_INLINE Py_ssize_t __Pyx_PyLong_CompareSignAndSize(PyObject *a, PyObject *b) { + uintptr_t tag_a = ((PyLongObject*)a)->long_value.lv_tag; + uintptr_t tag_b = ((PyLongObject*)b)->long_value.lv_tag; + if (tag_a == tag_b) return 0; + int sign_a = (int) (tag_a & _PyLong_SIGN_MASK); + int sign_b = (int) (tag_b & _PyLong_SIGN_MASK); + if (sign_a > sign_b) return -1; + if (sign_a < sign_b) return 1; + Py_ssize_t size_a = (Py_ssize_t) (tag_a >> _PyLong_NON_SIZE_BITS); + Py_ssize_t size_b = (Py_ssize_t) (tag_b >> _PyLong_NON_SIZE_BITS); + return (1 - sign_a) * (size_a - size_b); + } typedef Py_ssize_t __Pyx_compact_pylong; typedef size_t __Pyx_compact_upylong; #else + #define __Pyx_PyLong_Sign(x) ((int) ((Py_SIZE(x) == 0) ? 0 : (Py_SIZE(x) < 0) ? -1 : 1)) #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0) #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0) #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0) @@ -1298,6 +1450,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #define __Pyx_PyLong_IsCompact(x) (Py_SIZE(x) == 0 || Py_SIZE(x) == 1 || Py_SIZE(x) == -1) #define __Pyx_PyLong_CompactValue(x)\ ((Py_SIZE(x) == 0) ? (sdigit) 0 : ((Py_SIZE(x) < 0) ? -(sdigit)__Pyx_PyLong_Digits(x)[0] : (sdigit)__Pyx_PyLong_Digits(x)[0])) + #define __Pyx_PyLong_CompareSignAndSize(a, b) (Py_SIZE(a) - Py_SIZE(b)) typedef sdigit __Pyx_compact_pylong; typedef digit __Pyx_compact_upylong; #endif @@ -1306,6 +1459,9 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #else #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->ob_digit) #endif + #define __Pyx_PyLong_IsNonZero(x) (!__Pyx_PyLong_IsZero(x)) +#else + #define __Pyx_PyLong_IsNonZero(x) PyObject_IsTrue(x) #endif #if __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL) @@ -1324,38 +1480,18 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #define likely(x) (x) #define unlikely(x) (x) #endif /* __GNUC__ */ -/* PretendToInitialize */ -#ifdef __cplusplus -#if __cplusplus > 201103L -#include -#endif -template -static void __Pyx_pretend_to_initialize(T* ptr) { -#if __cplusplus > 201103L - if ((std::is_trivially_default_constructible::value)) -#endif - *ptr = T(); - (void)ptr; -} -#else -static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; } -#endif - #if !CYTHON_USE_MODULE_STATE static PyObject *__pyx_m = NULL; #endif -static int __pyx_lineno; -static int __pyx_clineno = 0; static const char * const __pyx_cfilenm = __FILE__; -static const char *__pyx_filename; /* #### Code section: filename_table ### */ static const char* const __pyx_f[] = { "_pydevd_bundle/pydevd_cython.pyx", "_pydevd_bundle/pydevd_cython.pxd", - "", + "(tree fragment)", "cpython/type.pxd", }; /* #### Code section: utility_code_proto_before_types ### */ @@ -1525,7 +1661,7 @@ static const char* const __pyx_f[] = { #define __Pyx_END_CRITICAL_SECTION Py_END_CRITICAL_SECTION #endif -/* IncludeStructmemberH.proto (used by FixUpExtensionType) */ +/* IncludeStructmemberH.proto (used by CythonFunctionShared) */ #include /* #### Code section: numeric_typedefs ### */ @@ -1777,12 +1913,17 @@ static struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *__pyx #define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0) #define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0) -/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */ -#if CYTHON_FAST_THREAD_STATE -#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) -static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); +/* FastTypeChecks.proto (used by GivenExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) +static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); +#define __Pyx_PyAnySet_Check(obj) __Pyx_TypeCheck2(obj, &PySet_Type, &PyFrozenSet_Type) #else -#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) +#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) +#define __Pyx_PyAnySet_Check(obj) PyAnySet_Check(obj) #endif /* PyThreadStateGet.proto (used by PyErrFetchRestore) */ @@ -1803,7 +1944,7 @@ static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tsta #define __Pyx_PyErr_CurrentExceptionType() PyErr_Occurred() #endif -/* PyErrFetchRestore.proto (used by PyObjectGetAttrStrNoError) */ +/* PyErrFetchRestore.proto (used by GivenExceptionMatches) */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL) #define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb) @@ -1828,6 +1969,26 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject #define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) #endif +/* GivenExceptionMatches.proto (used by PyErrExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); +#else +#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) { + return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2); +} +#endif +#define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) + +/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) +static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); +#else +#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) +#endif + /* PyObjectGetAttrStr.proto (used by PyObjectGetAttrStrNoError) */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name); @@ -1841,22 +2002,30 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P /* GetBuiltinName.proto */ static PyObject *__Pyx_GetBuiltinName(PyObject *name); -/* TupleAndListFromArray.proto (used by fastcall) */ +/* CopyObjectArray.proto (used by TupleOrListFromArrayImpl) */ #if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); +static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length); #endif -#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_METH_FASTCALL -static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); + +/* TupleOrListFromArrayImpl.proto (used by TupleFromArray) */ +#if PY_VERSION_HEX >= 0x030F0000 && !CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyTuple_FromArray(src, n) PyTuple_FromArray(src, ((n)<0) ? 0 : (n)) +#else +CYTHON_UNUSED static PyObject * +__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); #endif -/* IncludeStringH.proto (used by BytesEquals) */ +/* TupleFromArray.proto (used by fastcall) */ + + +/* IncludeStringH.proto (used by PyObjectCompare) */ #include -/* BytesEquals.proto (used by UnicodeEquals) */ -static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals); +/* PyObjectCompare.proto (used by UnicodeEquals) */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_str_str(PyObject *op1, PyObject *op2, int pyop); /* UnicodeEquals.proto (used by fastcall) */ -static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals); +#define __Pyx_PyUnicode_Equals(s1, s2) __Pyx_PyObject_CompareBoolEq_str_str(s1, s2, Py_EQ) /* fastcall.proto */ #if CYTHON_AVOID_BORROWED_REFS @@ -1870,12 +2039,12 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int #define __Pyx_KwValues_VARARGS(args, nargs) NULL #define __Pyx_GetKwValue_VARARGS(kw, kwvalues, s) __Pyx_PyDict_GetItemStrWithError(kw, s) #define __Pyx_KwargsAsDict_VARARGS(kw, kwvalues) PyDict_Copy(kw) -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #define __Pyx_ArgRef_FASTCALL(args, i) __Pyx_NewRef(args[i]) #define __Pyx_NumKwargs_FASTCALL(kwds) __Pyx_PyTuple_GET_SIZE(kwds) #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues); #else #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) @@ -1887,18 +2056,37 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int #define __Pyx_GetKwValue_FASTCALL __Pyx_GetKwValue_VARARGS #define __Pyx_KwargsAsDict_FASTCALL __Pyx_KwargsAsDict_VARARGS #endif +#if CYTHON_VECTORCALL_TPNEW + #if !CYTHON_VECTORCALL + #error Enabling CYTHON_VECTORCALL_TPNEW without CYTHON_VECTORCALL is not supported + #endif + #define __Pyx_ArgRef_FASTCALL_TPNEW __Pyx_ArgRef_FASTCALL + #define __Pyx_NumKwargs_FASTCALL_TPNEW __Pyx_NumKwargs_FASTCALL + #define __Pyx_KwValues_FASTCALL_TPNEW __Pyx_KwValues_FASTCALL + #define __Pyx_GetKwValue_FASTCALL_TPNEW __Pyx_GetKwValue_FASTCALL + #define __Pyx_KwargsAsDict_FASTCALL_TPNEW __Pyx_KwargsAsDict_FASTCALL +#else + #define __Pyx_ArgRef_FASTCALL_TPNEW __Pyx_ArgRef_VARARGS + #define __Pyx_NumKwargs_FASTCALL_TPNEW __Pyx_NumKwargs_VARARGS + #define __Pyx_KwValues_FASTCALL_TPNEW __Pyx_KwValues_VARARGS + #define __Pyx_GetKwValue_FASTCALL_TPNEW __Pyx_GetKwValue_VARARGS + #define __Pyx_KwargsAsDict_FASTCALL_TPNEW __Pyx_KwargsAsDict_VARARGS +#endif #define __Pyx_ArgsSlice_VARARGS(args, start, stop) PyTuple_GetSlice(args, start, stop) -#if CYTHON_METH_FASTCALL || (CYTHON_COMPILING_IN_CPYTHON && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) +#if CYTHON_VECTORCALL #define __Pyx_ArgsSlice_FASTCALL(args, start, stop) __Pyx_PyTuple_FromArray(args + start, stop - start) #else -#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop) +#define __Pyx_ArgsSlice_FASTCALL __Pyx_ArgsSlice_VARARGS #endif -/* RaiseArgTupleInvalid.proto */ +/* RaiseArgTupleInvalid.export */ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact, Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /* py_dict_items.proto (used by OwnedDictNext) */ +#define __Pyx_PyDict_items_TypePtr (&PyDictKeys_Type) +#define __Pyx_PyDict_items_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyDictItems_TypePtr) +#define __Pyx_PyDict_items_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyDictItems_TypePtr) static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d); /* CallCFunction.proto (used by CallUnboundCMethod0) */ @@ -1925,22 +2113,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject /* PyObjectFastCall.proto (used by PyObjectCallOneArg) */ #define __Pyx_PyObject_FastCall(func, args, nargs) __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL) -static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs); +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargsf, PyObject *kwargs); /* PyObjectCallOneArg.proto (used by CallUnboundCMethod0) */ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg); -/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */ +/* UnpackUnboundCMethod_decl.proto (used by UnpackUnboundCMethod) */ typedef struct { PyObject *type; PyObject **method_name; -#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS - __pyx_atomic_int_type initialized; -#endif PyCFunction func; PyObject *method; int flag; +#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS + __pyx_atomic_int_type initialized; +#endif } __Pyx_CachedCFunction; + +/* IgnoreException.proto (used by UnpackUnboundCMethod_impl) */ +static CYTHON_INLINE int __Pyx_IgnoreGivenException(PyObject *given_exception, PyObject *ignorable_exception); +#define __Pyx_IgnoreException(ignorable_exception) __Pyx_IgnoreGivenException(NULL, ignorable_exception) + +/* UnpackUnboundCMethod_impl.export */ +static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target); + +/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */ #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING static CYTHON_INLINE int __Pyx_CachedCFunction_GetAndSetInitializing(__Pyx_CachedCFunction *cfunc) { #if !CYTHON_ATOMICS @@ -1973,6 +2170,9 @@ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod0(__Pyx_CachedCFunction* #endif /* py_dict_values.proto (used by OwnedDictNext) */ +#define __Pyx_PyDict_values_TypePtr (&PyDictKeys_Type) +#define __Pyx_PyDict_values_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyDictValues_TypePtr) +#define __Pyx_PyDict_values_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyDictValues_TypePtr) static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d); /* OwnedDictNext.proto (used by RejectKeywords) */ @@ -2034,12 +2234,15 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name); #endif /* PyObjectFastCallMethod.proto */ -#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000 +#if CYTHON_VECTORCALL #define __Pyx_PyObject_FastCallMethod(name, args, nargsf) PyObject_VectorcallMethod(name, args, nargsf, NULL) #else static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf); #endif +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_int_object(PyObject *op1, PyObject *op2, int pyop); + /* RaiseDoubleKeywords.proto (used by ParseKeywordsImpl) */ static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); @@ -2124,11 +2327,39 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObj #define __Pyx_PyUnicode_FromBInt_bint(value)\ ((value) ? __Pyx_NewRef(__pyx_mstate_global->__pyx_n_u_True) : __Pyx_NewRef(__pyx_mstate_global->__pyx_n_u_False)) +/* JoinPyUnicode.proto */ +#define __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH\ + (!CYTHON_COMPILING_IN_GRAAL && !CYTHON_COMPILING_IN_PYPY && !CYTHON_COMPILING_IN_LIMITED_API) + /* JoinPyUnicode.export */ -static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, - Py_UCS4 max_char); +static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, int kind); + +/* FormatTypeName.proto (used by RaiseErrorWithObjectType1) */ +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX >= 0x030d0000 +typedef PyObject *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%N" +#define __Pyx_PyType_GetFullyQualifiedName(tp) Py_NewRef((PyObject*)tp) +#define __Pyx_DECREF_TypeName(obj) Py_DECREF(obj) +#elif CYTHON_COMPILING_IN_LIMITED_API +typedef PyObject *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%U" +#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) +static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp); +#else // !LIMITED_API +typedef const char *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%.200s" +#define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name) +#define __Pyx_DECREF_TypeName(obj) +#endif + +/* RaiseErrorWithObjectType1.proto (used by RaiseUnexpectedTypeError) */ +#define __Pyx_RaiseTypeErrorWithObjectType1(message, arg, obj) __Pyx_RaiseErrorWithObjectType1(PyExc_TypeError, message, arg, obj) +#define __Pyx_RaiseErrorWithObjectType1(exc_type, message, arg, obj) __Pyx_RaiseErrorWithType1(exc_type, message, arg, Py_TYPE(obj)) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithType1(PyObject* exc_type, const char* message, const char *arg, PyTypeObject *type_obj); /* RaiseUnexpectedTypeError.proto */ +CYTHON_UNUSED static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj); /* GetAttr3.proto */ @@ -2174,19 +2405,65 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb #define __Pyx_PyObject_LookupSpecial(o,n) __Pyx_PyObject_GetAttrStr(o,n) #endif +/* PyFrozenDict.proto (used by GetItemInt) */ +#if CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyFrozenDict_TypePtr ((PyTypeObject*) __pyx_mstate_global->__Pyx_PyFrozenDictType) +#define __Pyx_PyFrozenDict_New(it) __Pyx__PyFrozenDict_New(__pyx_mstate_global->__Pyx_PyFrozenDictType, it) +static CYTHON_INLINE PyObject* __Pyx__PyFrozenDict_New(PyObject* frozendict_type, PyObject* it); +#define __Pyx_PyFrozenDict_NewEmpty() __Pyx_PyFrozenDict_New(NULL) +#define __Pyx_PyFrozenDict_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyFrozenDict_TypePtr) +#define __Pyx_PyFrozenDict_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyFrozenDict_TypePtr) +#define __Pyx_PyAnyDict_Check(obj) __Pyx__PyAnyDict_Check(obj, __Pyx_PyFrozenDict_TypePtr) +static CYTHON_INLINE int __Pyx__PyAnyDict_Check(PyObject *obj, PyTypeObject* frozendict_type) { + return PyObject_TypeCheck(obj, &PyDict_Type) || PyObject_TypeCheck(obj, frozendict_type); +} +#define __Pyx_PyAnyDict_CheckExact(obj) __Pyx__PyAnyDict_CheckExact(obj, __Pyx_PyFrozenDict_TypePtr) +static CYTHON_INLINE int __Pyx__PyAnyDict_CheckExact(PyObject *obj, PyTypeObject* frozendict_type) { + return Py_IS_TYPE(obj, &PyDict_Type) || Py_IS_TYPE(obj, frozendict_type); +} +#elif PY_VERSION_HEX >= 0x030f00a6 ||\ + (defined(PyFrozenDict_Check) && defined(PyAnyDict_Check) && defined(PyFrozenDict_New)) +#define __Pyx_PyFrozenDict_TypePtr (&PyFrozenDict_Type) +#define __Pyx_PyFrozenDict_New(it) PyFrozenDict_New(it) +#define __Pyx_PyFrozenDict_NewEmpty() PyFrozenDict_New(NULL) +#define __Pyx_PyFrozenDict_Check(obj) PyFrozenDict_Check(obj) +#define __Pyx_PyFrozenDict_CheckExact(obj) PyFrozenDict_CheckExact(obj) +#define __Pyx_PyAnyDict_Check(obj) PyAnyDict_Check(obj) +#define __Pyx_PyAnyDict_CheckExact(obj) PyAnyDict_CheckExact(obj) +#else +#define __Pyx_PyFrozenDict_TypePtr (&PyDict_Type) +static CYTHON_INLINE PyObject* __Pyx_PyFrozenDict_New(PyObject* it) { + if (!it) { + return PyDict_New(); + } else if (PyDict_Check(it)) { + return PyDict_Copy(it); + } else { + PyObject *dict = PyDict_New(); + if (!dict) return NULL; + PyObject *result = PyNumber_InPlaceOr(dict, it); + Py_DECREF(dict); + return result; + } +} +#define __Pyx_PyFrozenDict_NewEmpty() PyDict_New() +#define __Pyx_PyFrozenDict_Check(obj) PyDict_Check(obj) +#define __Pyx_PyFrozenDict_CheckExact(obj) PyDict_CheckExact(obj) +#define __Pyx_PyAnyDict_Check(obj) PyDict_Check(obj) +#define __Pyx_PyAnyDict_CheckExact(obj) PyDict_CheckExact(obj) +#endif + /* GetItemInt.proto */ -#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ +#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ - __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck, unsafe_shared) :\ - (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\ - __Pyx_GetItemInt_Generic(o, to_py_func(i)))) -#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ + __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ + __Pyx_GetItemInt_Generic(o, to_py_func(i))) +#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared); -#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ +#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL)) @@ -2194,7 +2471,7 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize int wraparound, int boundscheck, int unsafe_shared); static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j); static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, - int is_list, int wraparound, int boundscheck, int unsafe_shared); + int wraparound, int boundscheck, int unsafe_shared); /* PyObjectDelAttr.proto (used by PyObjectSetAttrStr) */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 @@ -2212,9 +2489,22 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr #define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v) #endif +/* RaiseErrorWithObjectTypes.proto (used by ExtTypeTest) */ +#define __Pyx_RaiseErrorWithObjectTypes1(exc_type, message, arg, obj1, obj2) __Pyx_RaiseErrorWithTypes1(exc_type, message, arg, Py_TYPE(obj1), Py_TYPE(obj2)) +#define __Pyx_RaiseTypeErrorWithObjectTypes(message, obj1, obj2) __Pyx_RaiseTypeErrorWithTypes(message, Py_TYPE(obj1), Py_TYPE(obj2)) +#define __Pyx_RaiseTypeErrorWithTypes(message, type_obj1, type_obj2) __Pyx_RaiseErrorWithTypes1(PyExc_TypeError, "%.1s" message, "", type_obj1, type_obj2) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithTypes1(PyObject* exc_type, const char *message, const char *arg, PyTypeObject *type_obj1, PyTypeObject *type_obj2); + /* ExtTypeTest.proto */ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); +/* RaiseErrorWithObjectType.proto (used by SliceObject) */ +#define __Pyx_RaiseTypeErrorWithObjectType(message, obj) __Pyx_RaiseErrorWithObjectType(PyExc_TypeError, message, obj) +#define __Pyx_RaiseErrorWithObjectType(exc_type, message, obj) __Pyx_RaiseErrorWithType(exc_type, message, Py_TYPE(obj)) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithType(PyObject* exc_type, const char* message, PyTypeObject *type_obj); + /* SliceObject.proto */ #define __Pyx_PyObject_DelSlice(obj, cstart, cstop, py_start, py_stop, py_slice, has_cstart, has_cstop, wraparound)\ __Pyx_PyObject_SetSlice(obj, (PyObject*)NULL, cstart, cstop, py_start, py_stop, py_slice, has_cstart, has_cstop, wraparound) @@ -2224,36 +2514,14 @@ static CYTHON_INLINE int __Pyx_PyObject_SetSlice( int has_cstart, int has_cstop, int wraparound); /* ListAppend.proto (used by append) */ -#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS -static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) { - PyListObject* L = (PyListObject*) list; - Py_ssize_t len = Py_SIZE(list); - if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) { - Py_INCREF(x); - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 - L->ob_item[len] = x; - #else - PyList_SET_ITEM(list, len, x); - #endif - __Pyx_SET_SIZE(list, len + 1); - return 0; - } - return PyList_Append(list, x); -} +#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE +static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x); #else #define __Pyx_PyList_Append(L,x) PyList_Append(L,x) #endif -/* PyObjectCall2Args.proto (used by PyObjectCallMethod1) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2); - -/* PyObjectGetMethod.proto (used by PyObjectCallMethod1) */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method); -#endif - /* PyObjectCallMethod1.proto (used by append) */ -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg); +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg); /* append.proto */ static CYTHON_INLINE int __Pyx_PyObject_Append(PyObject* L, PyObject* x); @@ -2281,29 +2549,27 @@ static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index); /* UnpackItemEndCheck.proto */ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); -/* ArgTypeTestFunc.export */ -static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact); +/* ArgTypeTestError.export */ +static void __Pyx_ArgTypeError(PyObject *obj, PyTypeObject *type, const char *name, int exact); /* ArgTypeTest.proto */ -#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\ - ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\ - __Pyx__ArgTypeTest(obj, type, name, exact)) - -/* PyObjectCallNoArg.proto (used by pyfrozenset_new) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func); +static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, const char *name, int exact); /* pyfrozenset_new.proto (used by py_set_discard_unhashable) */ -static CYTHON_INLINE PyObject* __Pyx_PyFrozenSet_New(PyObject* it); +static PyObject* __Pyx_PyFrozenSet_New(PyObject* it); /* py_set_discard.proto */ static CYTHON_INLINE int __Pyx_PySet_Discard(PyObject *set, PyObject *key); /* KeywordStringCheck.proto */ -static CYTHON_INLINE int __Pyx_CheckKeywordStrings(const char* function_name, PyObject *kw); +static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kw); /* PySetContains.proto */ static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, int eq); +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_object(PyObject *op1, PyObject *op2, int pyop); + /* PySequenceContains.proto */ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* seq, int eq) { int result = PySequence_Contains(seq, item); @@ -2335,6 +2601,9 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_AndObjC(PyObject *op1, PyObject *op2 /* dict_getitem_default.proto */ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value); +/* PyObjectCall2Args.proto (used by CallUnboundCMethod1) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2); + /* CallUnboundCMethod1.proto */ CYTHON_UNUSED static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg); @@ -2344,13 +2613,13 @@ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* #define __Pyx_CallUnboundCMethod1(cfunc, self, arg) __Pyx__CallUnboundCMethod1(cfunc, self, arg) #endif -/* PyObjectCallMethod0.proto (used by dict_iter) */ -static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name); +/* PyObjectCallMethod0.proto (used by dict_iter_common) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name); /* UnpackTupleError.proto (used by UnpackTuple2) */ static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index); -/* UnpackTuple2.proto (used by dict_iter) */ +/* UnpackTuple2.proto (used by dict_iter_common) */ static CYTHON_INLINE int __Pyx_unpack_tuple2( PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple); static CYTHON_INLINE int __Pyx_unpack_tuple2_exact( @@ -2358,11 +2627,38 @@ static CYTHON_INLINE int __Pyx_unpack_tuple2_exact( static int __Pyx_unpack_tuple2_generic( PyObject* tuple, PyObject** value1, PyObject** value2, int has_known_size, int decref_tuple); +/* dict_iter_common.proto (used by dict_iter) */ +static PyObject *__Pyx_dict_call_to_get_iterable(PyObject* iterable, PyObject* method_name); +static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos, + PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict); + /* dict_iter.proto */ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name, Py_ssize_t* p_orig_length, int* p_is_dict); -static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos, - PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict); + +/* UnicodeEqualsUCS4.proto (used by UnicodeEquals_uchar) */ +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL +#define __Pyx_PyObject_Equals_uchar(s1, s2, ch2, equals, s1_is_str) (\ + ((s1) == (s2)) ? ((equals) == Py_EQ) :\ + ((s1) == Py_None) ? ((equals) == Py_NE) :\ + __Pyx_PyObject_RichCompareBool(s1, s2, equals)\ + ) +#else +#define __Pyx_PyObject_Equals_uchar(s1, s2, ch2, equals, s1_is_str) (\ + ((s1) == (s2)) ? ((equals) == Py_EQ) :\ + ((s1) == Py_None) ? ((equals) == Py_NE) :\ + (likely((s1_is_str) || PyUnicode_CheckExact(s1)) ?\ + __Pyx__PyUnicode_EqualsUCS4(s1, ch2, equals) :\ + __Pyx_PyObject_RichCompareBool(s1, s2, equals)\ + )) +static CYTHON_INLINE int __Pyx__PyUnicode_EqualsUCS4(PyObject* s1, Py_UCS4 ch2, int equals); +#endif + +/* UnicodeEquals_uchar.proto */ +#define __Pyx_PyObject_Equals_str_ch63(s1, s2, equals) __Pyx_PyObject_Equals_uchar(s1, s2, 63, equals, 1) + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_str(PyObject *op1, PyObject *op2, int pyop); /* PyDictContains.proto */ static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) { @@ -2374,36 +2670,31 @@ static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, #if !CYTHON_COMPILING_IN_PYPY static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key); #define __Pyx_PyObject_Dict_GetItem(obj, name)\ - (likely(PyDict_CheckExact(obj)) ?\ + (likely(__Pyx_PyAnyDict_CheckExact(obj)) ?\ __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name)) #else #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key) #define __Pyx_PyObject_Dict_GetItem(obj, name) PyObject_GetItem(obj, name) #endif -/* PyObjectVectorCallKwBuilder.proto (used by PyObjectVectorCallMethodKwBuilder) */ -CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); +/* PyObjectCompare.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareEq_object_str(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectVectorcallKwds.proto (used by PyObjectVectorcallMethodKwds) */ #if CYTHON_VECTORCALL -#if PY_VERSION_HEX >= 0x03090000 -#define __Pyx_Object_Vectorcall_CallFromBuilder PyObject_Vectorcall -#else -#define __Pyx_Object_Vectorcall_CallFromBuilder _PyObject_Vectorcall -#endif -#define __Pyx_MakeVectorcallBuilderKwds(n) PyTuple_New(n) -static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); -static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n); +#define __Pyx_Object_VectorcallKwds PyObject_Vectorcall +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject *kwnames, Py_ssize_t i); #else -#define __Pyx_Object_Vectorcall_CallFromBuilder __Pyx_PyObject_FastCallDict -#define __Pyx_MakeVectorcallBuilderKwds(n) __Pyx_PyDict_NewPresized(n) -#define __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n) PyDict_SetItem(builder, key, value) -#define __Pyx_VectorcallBuilder_AddArgStr(key, value, builder, args, n) PyDict_SetItemString(builder, key, value) +#define __Pyx_Object_VectorcallKwds __Pyx_PyObject_FastCallDict +CYTHON_UNUSED static PyObject *__Pyx_MakeKwargDict(PyObject **keys, PyObject **values, Py_ssize_t n); +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject **kwnames, Py_ssize_t i); #endif -/* PyObjectVectorCallMethodKwBuilder.proto */ -#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000 -#define __Pyx_Object_VectorcallMethod_CallFromBuilder PyObject_VectorcallMethod +/* PyObjectVectorcallMethodKwds.proto */ +#if CYTHON_VECTORCALL +#define __Pyx_Object_VectorcallMethodKwds PyObject_VectorcallMethod #else -static PyObject *__Pyx_Object_VectorcallMethod_CallFromBuilder(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames); +static PyObject *__Pyx_Object_VectorcallMethodKwds(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames); #endif /* PyKeyboardInterrupt_Check.proto */ @@ -2418,6 +2709,9 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice( PyObject** py_start, PyObject** py_stop, PyObject** py_slice, int has_cstart, int has_cstop, int wraparound); +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_int(PyObject *op1, PyObject *op2, int pyop); + /* HasAttr.proto */ #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n) @@ -2431,9 +2725,24 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *); /* PyStopIteration_Check.proto */ #define __Pyx_PyExc_StopIteration_Check(obj) __Pyx_TypeCheck(obj, PyExc_StopIteration) +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_object_object(PyObject *op1, PyObject *op2, int pyop); + /* py_dict_clear.proto */ #define __Pyx_PyDict_Clear(d) (PyDict_Clear(d), 0) +/* pybuiltin_invalid.export */ +static void __Pyx_PyBuiltin_Invalid(PyObject *obj, const char *builtin_type_name, const char *argname); + +/* pyint_simplify.proto */ +static CYTHON_INLINE int __Pyx_PyInt_FromNumber(PyObject **number_var, const char *argname, int accept_none); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGt_int_int(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGe_int_int(PyObject *op1, PyObject *op2, int pyop); + /* PyLongBinop.proto */ #if !CYTHON_COMPILING_IN_PYPY static CYTHON_INLINE PyObject* __Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check); @@ -2446,6 +2755,13 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op2 static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Substring( PyObject* text, Py_ssize_t start, Py_ssize_t stop); +/* TupleOrListFromArrayImpl.proto (used by ListFromArray) */ +CYTHON_UNUSED static PyObject * +__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); + +/* ListFromArray.proto (used by SliceTupleAndList) */ + + /* SliceTupleAndList.proto */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop); @@ -2465,14 +2781,34 @@ static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *k #define __Pyx_PyObject_GetItem(obj, key) PyObject_GetItem(obj, key) #endif +/* PyException_Check.proto */ +#define __Pyx_PyExc_Exception_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) + /* PyRuntimeError_Check.proto */ #define __Pyx_PyExc_RuntimeError_Check(obj) __Pyx_TypeCheck(obj, PyExc_RuntimeError) /* AllocateExtensionType.proto */ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final); +/* CallSlotAsVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +typedef PyObject * (*__Pyx_tpnewvectorcallfunc)(PyTypeObject* o, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); +static PyObject * __Pyx_CallTpnewAsVectorcall(__Pyx_tpnewvectorcallfunc f, PyTypeObject* o, PyObject *a, PyObject *k); +#endif + +/* CallNewInitFromVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__Pyx_CallNewInitFromVectorcall(PyTypeObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); +#endif + +/* CallSlotAsVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +typedef int (*__Pyx_tpinitvectorcallfunc)(PyObject* o, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); +static int __Pyx_CallTpinitAsVectorcall(__Pyx_tpinitvectorcallfunc f, PyObject* o, PyObject *a, PyObject *k); +#endif + /* CallTypeTraverse.proto */ -#if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000) +#if !CYTHON_USE_TYPE_SPECS #define __Pyx_call_type_traverse(o, always_call, visit, arg) 0 #else static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg); @@ -2484,59 +2820,65 @@ static int __Pyx_ExportFunction(PyObject *api_dict, const char *name, void (*f)( /* GetApiDict.proto */ static PyObject *__Pyx_ApiExport_GetApiDict(void); -/* LimitedApiGetTypeDict.proto (used by SetItemOnTypeDict) */ -#if CYTHON_COMPILING_IN_LIMITED_API -static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp); +/* GetTypeDictOffset.proto (used by ValidateBasesTuple) */ +#if !CYTHON_USE_TYPE_SLOTS +CYTHON_UNUSED static Py_ssize_t __Pyx_GetTypeDictOffset(PyObject *tp, int require_cython_valid_result); #endif -/* SetItemOnTypeDict.proto (used by FixUpExtensionType) */ -static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v); -#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v) - -/* FixUpExtensionType.proto */ -static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type); - /* ValidateBasesTuple.proto (used by PyType_Ready) */ #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS -static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases); +static int __Pyx_validate_bases_tuple(const char *type_name, int has_dictoffset, PyObject *bases); #endif -/* PyType_Ready.proto */ +/* PyType_Ready.export */ CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t); -/* SetVTable.proto */ -static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable); - /* GetVTable.proto (used by MergeVTables) */ -static void* __Pyx_GetVtable(PyTypeObject *type); +static int __Pyx_GetVtable(PyTypeObject *type, void** table); -/* MergeVTables.proto */ +/* MergeVTables.proto (used by SetVTable) */ static int __Pyx_MergeVtables(PyTypeObject *type); +/* SetVTable.export */ +static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable); + +/* LimitedApiGetTypeTypeDict.proto (used by DelItemOnTypeDict) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_GetTypeTypeDict(PyTypeObject *tp); +#endif + /* DelItemOnTypeDict.proto (used by SetupReduce) */ -static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k); #define __Pyx_DelItemOnTypeDict(tp, k) __Pyx__DelItemOnTypeDict((PyTypeObject*)tp, k) -/* SetupReduce.proto */ +/* DelItemOnTypeDict.export */ +static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k); + +/* SetItemOnTypeDict.proto (used by SetupReduce) */ +#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v) + +/* SetItemOnTypeDict.export */ +static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v); + +/* SetupReduce.export */ static int __Pyx_setup_reduce(PyObject* type_obj); /* TypeImport.proto */ -#ifndef __PYX_HAVE_RT_ImportType_proto_3_2_4 -#define __PYX_HAVE_RT_ImportType_proto_3_2_4 +#ifndef __PYX_HAVE_RT_ImportType_proto_3_3_1 +#define __PYX_HAVE_RT_ImportType_proto_3_3_1 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #include #endif #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L -#define __PYX_GET_STRUCT_ALIGNMENT_3_2_4(s) alignof(s) +#define __PYX_GET_STRUCT_ALIGNMENT_3_3_1(s) alignof(s) #else -#define __PYX_GET_STRUCT_ALIGNMENT_3_2_4(s) sizeof(void*) +#define __PYX_GET_STRUCT_ALIGNMENT_3_3_1(s) sizeof(void*) #endif -enum __Pyx_ImportType_CheckSize_3_2_4 { - __Pyx_ImportType_CheckSize_Error_3_2_4 = 0, - __Pyx_ImportType_CheckSize_Warn_3_2_4 = 1, - __Pyx_ImportType_CheckSize_Ignore_3_2_4 = 2 +enum __Pyx_ImportType_CheckSize_3_3_1 { + __Pyx_ImportType_CheckSize_Error_3_3_1 = 0, + __Pyx_ImportType_CheckSize_Warn_3_3_1 = 1, + __Pyx_ImportType_CheckSize_Ignore_3_3_1 = 2 }; -static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_4 check_size); +static PyTypeObject *__Pyx_ImportType_3_3_1(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_3_1 check_size); #endif /* ImportImpl.export */ @@ -2545,14 +2887,14 @@ static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, /* Import.proto */ static CYTHON_INLINE PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level); -/* ImportFrom.proto */ +/* ImportFrom.export */ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); /* dict_setdefault.proto (used by FetchCommonType) */ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value); /* AddModuleRef.proto (used by FetchSharedCythonModule) */ -#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING ) ||\ +#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && PY_VERSION_HEX < 0x030F00a3) ||\ __PYX_LIMITED_VERSION_HEX < 0x030d0000) static PyObject *__Pyx_PyImport_AddModuleRef(const char *name); #else @@ -2562,6 +2904,11 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke /* FetchSharedCythonModule.proto (used by FetchCommonType) */ static PyObject *__Pyx_FetchSharedCythonABIModule(void); +/* VerifyCachedType.proto (used by FetchCommonType) */ +static int __Pyx_VerifyCachedType(PyObject *cached_type, + const char *name, + Py_ssize_t expected_basicsize); + /* FetchCommonType.proto (used by CommonTypesMetaclass) */ static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases); @@ -2569,48 +2916,52 @@ static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyOb static int __pyx_CommonTypesMetaclass_init(PyObject *module); #define __Pyx_CommonTypesMetaclass_USED -/* PyMethodNew.proto (used by CythonFunctionShared) */ -static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ); - -/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */ -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL -static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); -#endif - -/* CythonFunctionShared.proto (used by CythonFunction) */ +/* CythonFunctionPerModule.proto (used by CythonFunctionShared) */ #define __Pyx_CyFunction_USED +#if CYTHON_OPAQUE_SHARED_TYPES +#define __Pyx_as_CyFunctionObject(o) ((__pyx_CyFunctionObject *)PyObject_GetTypeData((o), __pyx_mstate_global->__pyx_CyFunctionType)) +#else +#define __Pyx_as_CyFunctionObject(o) ((__pyx_CyFunctionObject *)o) +#endif #define __Pyx_CYFUNCTION_STATICMETHOD 0x01 #define __Pyx_CYFUNCTION_CLASSMETHOD 0x02 #define __Pyx_CYFUNCTION_CCLASS 0x04 #define __Pyx_CYFUNCTION_COROUTINE 0x08 #define __Pyx_CyFunction_GetClosure(f)\ - (((__pyx_CyFunctionObject *) (f))->func_closure) -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - #define __Pyx_CyFunction_GetClassObj(f)\ - (((__pyx_CyFunctionObject *) (f))->func_classobj) -#else - #define __Pyx_CyFunction_GetClassObj(f)\ - ((PyObject*) ((PyCMethodObject *) (f))->mm_class) -#endif + ((__Pyx_as_CyFunctionObject(f))->func_closure) +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + #define __Pyx_CyFunction_ClassObj(f)\ + ((f)->func_classobj) + #define __Pyx_CyFunction_MethodDef(cyfunc) ((cyfunc)->func_methoddef) + #define __Pyx_CyFunction_Module(cyfunc) ((cyfunc)->func_module) +#else + #define __Pyx_CyFunction_ClassObj(f)\ + (((PyCMethodObject *) (f))->mm_class) + #define __Pyx_CyFunction_MethodDef(cyfunc) (((PyCFunctionObject*)(cyfunc))->m_ml) + #define __Pyx_CyFunction_Module(cyfunc) (((PyCFunctionObject*)(cyfunc))->m_module) +#endif +#define __Pyx_CyFunction_GetClassObj(f)\ + ((PyObject*)__Pyx_CyFunction_ClassObj(__Pyx_as_CyFunctionObject(f))) #define __Pyx_CyFunction_SetClassObj(f, classobj)\ - __Pyx__CyFunction_SetClassObj((__pyx_CyFunctionObject *) (f), (classobj)) + __Pyx__CyFunction_SetClassObj(__Pyx_as_CyFunctionObject(f), (classobj)) #define __Pyx_CyFunction_Defaults(type, f)\ - ((type *)(((__pyx_CyFunctionObject *) (f))->defaults)) + ((type *)((__Pyx_as_CyFunctionObject(f))->defaults)) #define __Pyx_CyFunction_SetDefaultsGetter(f, g)\ - ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g) + (__Pyx_as_CyFunctionObject(f))->defaults_getter = (g) typedef struct { -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL +#if !CYTHON_OPAQUE_OBJECTS PyObject_HEAD - PyObject *func; -#elif PY_VERSION_HEX < 0x030900B1 - PyCFunctionObject func; +#endif + PyMethodDef *func_methoddef; + PyObject *func_module; #else PyCMethodObject func; #endif -#if CYTHON_COMPILING_IN_LIMITED_API && CYTHON_METH_FASTCALL +#if (CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) && CYTHON_VECTORCALL __pyx_vectorcallfunc func_vectorcall; #endif -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL PyObject *func_weakreflist; #endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API @@ -2622,7 +2973,7 @@ typedef struct { PyObject *func_globals; PyObject *func_code; PyObject *func_closure; -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL PyObject *func_classobj; #endif PyObject *defaults; @@ -2631,20 +2982,17 @@ typedef struct { PyObject *defaults_kwdict; PyObject *(*defaults_getter)(PyObject *); PyObject *func_annotations; +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 PyObject *func_is_coroutine; +#endif } __pyx_CyFunctionObject; #undef __Pyx_CyOrPyCFunction_Check #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_mstate_global->__pyx_CyFunctionType) #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_mstate_global->__pyx_CyFunctionType, &PyCFunction_Type) -#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType) +#define __Pyx_CyFunction_CheckExact(obj) Py_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType) static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)); #undef __Pyx_IsSameCFunction #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc) -static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml, - int flags, PyObject* qualname, - PyObject *closure, - PyObject *module, PyObject *globals, - PyObject* code); static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj); static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type); @@ -2655,27 +3003,42 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m, static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m, PyObject *dict); static int __pyx_CyFunction_init(PyObject *module); -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL +#define __Pyx_CyFunction_func_vectorcall(f) ((f)->func_vectorcall) +#else +#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) +#endif +#endif + +/* PyMethodNew.proto (used by CythonFunctionShared) */ +static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ); + +/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */ +#if CYTHON_VECTORCALL +static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); +#endif + +/* CythonFunctionShared.proto (used by CythonFunction) */ +static PyObject *__Pyx_CyFunction_Init(PyObject *op_in, PyMethodDef *ml, + int flags, PyObject* qualname, + PyObject *closure, + PyObject *module, PyObject *globals, + PyObject* code); +#if CYTHON_VECTORCALL static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); -#if CYTHON_COMPILING_IN_LIMITED_API -#define __Pyx_CyFunction_func_vectorcall(f) (((__pyx_CyFunctionObject*)f)->func_vectorcall) -#else -#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) -#endif #endif -/* CythonFunction.proto */ +/* CythonFunction.export */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject *globals, PyObject* code); - -/* ListPack.proto */ -static PyObject *__Pyx_PyList_Pack(Py_ssize_t n, ...); +static PyTypeObject *__Pyx_Get_CyFunction_Type(void); /* PyImportError_Check.proto */ #define __Pyx_PyExc_ImportError_Check(obj) __Pyx_TypeCheck(obj, PyExc_ImportError) @@ -2716,8 +3079,8 @@ static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* static void __Pyx_AddTraceback(const char *funcname, int c_line, int py_line, const char *filename); -/* CheckUnpickleChecksum.proto */ -static CYTHON_INLINE int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members); +/* CheckUnpickleChecksumError.export */ +static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long checksum2, long checksum3, const char *members); /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_int(int value); @@ -2731,49 +3094,11 @@ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *); /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value); -/* UpdateUnpickledDict.proto */ +/* UpdateUnpickledDict.export */ static int __Pyx_UpdateUnpickledDict(PyObject *obj, PyObject *state, Py_ssize_t index); -/* FormatTypeName.proto */ -#if CYTHON_COMPILING_IN_LIMITED_API -typedef PyObject *__Pyx_TypeName; -#define __Pyx_FMT_TYPENAME "%U" -#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) -#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 -#define __Pyx_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName -#else -static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp); -#endif -#else // !LIMITED_API -typedef const char *__Pyx_TypeName; -#define __Pyx_FMT_TYPENAME "%.200s" -#define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name) -#define __Pyx_DECREF_TypeName(obj) -#endif - -/* FastTypeChecks.proto */ -#if CYTHON_COMPILING_IN_CPYTHON -#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) -#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) -static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); -static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); -#else -#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) -#define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) -#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) { - return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2); -} -#endif -#define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) -#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) -#ifdef PyExceptionInstance_Check - #define __Pyx_PyBaseException_Check(obj) PyExceptionInstance_Check(obj) -#else - #define __Pyx_PyBaseException_Check(obj) __Pyx_TypeCheck(obj, PyExc_BaseException) -#endif +/* CheckUnpickleChecksum.proto */ +static CYTHON_INLINE int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members); /* GetRuntimeVersion.proto */ #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 @@ -2790,8 +3115,12 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt /* DecompressString.proto */ static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo); +/* DecompressString_LZSS.proto */ +static PyObject *__Pyx_DecompressString_LZSS(const char *s, size_t compressed_length, size_t uncompressed_length); + /* MultiPhaseInitModuleState.proto */ #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE +#include static PyObject *__Pyx_State_FindModule(void*); static int __Pyx_State_AddModule(PyObject* module, void*); static int __Pyx_State_RemoveModule(void*); @@ -2804,12 +3133,31 @@ static int __Pyx_State_RemoveModule(void*); /* #### Code section: module_declarations ### */ /* CythonABIVersion.proto */ #if CYTHON_COMPILING_IN_LIMITED_API - #if CYTHON_METH_FASTCALL - #define __PYX_FASTCALL_ABI_SUFFIX "_fastcall" + #if CYTHON_VECTORCALL + #define __PYX_VECTORCALL_ABI_SUFFIX "vectorcall" + #else + #define __PYX_VECTORCALL_ABI_SUFFIX + #endif + #if __PYX_LIMITED_VERSION_HEX >= 0x03100000 + #define __PYX_LIMITED_ABI_V_SUFFIX "16" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030F0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "15" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030E0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "14" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "13" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030C0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "12" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030B0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "11" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030A0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "10" + #elif __PYX_LIMITED_VERSION_HEX >= 0x03090000 + #define __PYX_LIMITED_ABI_V_SUFFIX "9" #else - #define __PYX_FASTCALL_ABI_SUFFIX + #define __PYX_LIMITED_ABI_V_SUFFIX "8" #endif - #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_FASTCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX + #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_LIMITED_ABI_V_SUFFIX "_" __PYX_VECTORCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX #else #define __PYX_LIMITED_ABI_SUFFIX #endif @@ -2833,7 +3181,12 @@ static int __Pyx_State_RemoveModule(void*); #else #define __PYX_FREELISTS_ABI_SUFFIX "nofreelists" #endif -#define CYTHON_ABI __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX +#if CYTHON_OPAQUE_OBJECTS && CYTHON_COMPILING_IN_LIMITED_API + #define __PYX_OPAQUE_OBJECTS_ABI_SUFFIX "opaque" +#else + #define __PYX_OPAQUE_OBJECTS_ABI_SUFFIX +#endif +#define CYTHON_ABI __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX __PYX_OPAQUE_OBJECTS_ABI_SUFFIX #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." @@ -3051,13 +3404,209 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_32__pyx_unpickle_Safe static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_34__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_36__pyx_unpickle_TopLevelThreadTracerNoBackFrame(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_38__pyx_unpickle_ThreadTracer(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBFrame __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_ThreadTracer __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__ +#endif /* #### Code section: late_includes ### */ /* #### Code section: module_state ### */ /* SmallCodeConfig */ @@ -3071,39 +3620,47 @@ static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTy #endif #endif -typedef struct { - PyObject *__pyx_d; - PyObject *__pyx_b; - PyObject *__pyx_cython_runtime; - PyObject *__pyx_empty_tuple; - PyObject *__pyx_empty_bytes; - PyObject *__pyx_empty_unicode; - PyTypeObject *__pyx_ptype_7cpython_4type_type; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame; - PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_items; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type__update; - PyObject *__pyx_slice[2]; - PyObject *__pyx_tuple[5]; - PyObject *__pyx_codeobj_tab[48]; - PyObject *__pyx_string_tab[451]; - PyObject *__pyx_number_tab[14]; +#ifdef __cplusplus +namespace { + #endif + typedef struct { + PyObject *__pyx_d; + PyObject *__pyx_b; + PyObject *__pyx_cython_runtime; + PyObject *__pyx_empty_tuple; + PyObject *__pyx_empty_bytes; + PyObject *__pyx_empty_unicode; + PyTypeObject *__pyx_ptype_7cpython_4type_type; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame; + PyObject *__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_items; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type__update; + PyObject *__pyx_slice[2]; + PyObject *__pyx_tuple[8]; + PyObject *__pyx_codeobj_tab[48]; + PyObject *__pyx_string_tab[452]; + PyObject *__pyx_number_tab[14]; /* #### Code section: module_state_contents ### */ +/* PyFrozenDict.module_state_decls */ +#if CYTHON_COMPILING_IN_LIMITED_API +PyObject *__Pyx_PyFrozenDictType; +#endif + /* CommonTypesMetaclass.module_state_decls */ PyTypeObject *__pyx_CommonTypesMetaclassType; @@ -3112,7 +3669,7 @@ PyTypeObject *__pyx_CommonTypesMetaclassType; PyObject *__Pyx_CachedMethodType; #endif -/* CythonFunctionShared.module_state_decls */ +/* CythonFunctionPerModule.module_state_decls */ PyTypeObject *__pyx_CyFunctionType; /* CodeObjectCache.module_state_decls */ @@ -3120,6 +3677,9 @@ struct __Pyx_CodeObjectCache __pyx_code_cache; /* #### Code section: module_state_end ### */ } __pyx_mstatetype; +#ifdef __cplusplus +} /* anonymous namespace */ +#endif #if CYTHON_USE_MODULE_STATE #ifdef __cplusplus @@ -3144,44 +3704,44 @@ static __pyx_mstatetype * const __pyx_mstate_global = &__pyx_mstate_global_stati #endif /* #### Code section: constant_name_defines ### */ #define __pyx_kp_u_ __pyx_string_tab[0] -#define __pyx_kp_u_1 __pyx_string_tab[1] +#define __pyx_kp_u__5 __pyx_string_tab[1] #define __pyx_kp_u_Cmd __pyx_string_tab[2] -#define __pyx_kp_u_Error_in_linecache_checkcache_r __pyx_string_tab[3] -#define __pyx_kp_u_Error_in_linecache_getline_r_s_f __pyx_string_tab[4] -#define __pyx_kp_u_IgnoreException __pyx_string_tab[5] -#define __pyx_kp_u_Ignore_exception __pyx_string_tab[6] -#define __pyx_kp_u_Kill __pyx_string_tab[7] -#define __pyx_kp_u_None __pyx_string_tab[8] -#define __pyx_kp_u_Not_used_in_sys_monitoring_mode __pyx_string_tab[9] -#define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[10] -#define __pyx_kp_u_State __pyx_string_tab[11] -#define __pyx_kp_u_Stop __pyx_string_tab[12] -#define __pyx_kp_u_Stop_inside_ipython_call __pyx_string_tab[13] -#define __pyx_kp_u_Unable_to_get_topmost_frame_for __pyx_string_tab[14] -#define __pyx_kp_u__2 __pyx_string_tab[15] -#define __pyx_kp_u__3 __pyx_string_tab[16] -#define __pyx_kp_u__4 __pyx_string_tab[17] -#define __pyx_kp_u__5 __pyx_string_tab[18] -#define __pyx_kp_u__6 __pyx_string_tab[19] -#define __pyx_kp_u__7 __pyx_string_tab[20] -#define __pyx_kp_u__8 __pyx_string_tab[21] -#define __pyx_kp_u_add_note __pyx_string_tab[22] -#define __pyx_kp_u_cell __pyx_string_tab[23] -#define __pyx_kp_u_disable __pyx_string_tab[24] -#define __pyx_kp_u_enable __pyx_string_tab[25] -#define __pyx_kp_u_gc __pyx_string_tab[26] -#define __pyx_kp_u_in_library __pyx_string_tab[27] -#define __pyx_kp_u_invalid __pyx_string_tab[28] -#define __pyx_kp_u_isenabled __pyx_string_tab[29] -#define __pyx_kp_u_lambda __pyx_string_tab[30] -#define __pyx_kp_u_module __pyx_string_tab[31] -#define __pyx_kp_u_pyc __pyx_string_tab[32] -#define __pyx_kp_u_pydev_execfile_py __pyx_string_tab[33] -#define __pyx_kp_u_pydevd_bundle_pydevd_cython_pyx __pyx_string_tab[34] -#define __pyx_kp_u_pydevd_py __pyx_string_tab[35] -#define __pyx_kp_u_pydevd_traceproperty_py __pyx_string_tab[36] -#define __pyx_kp_u_raised_from_within_the_callback __pyx_string_tab[37] -#define __pyx_kp_u_stringsource __pyx_string_tab[38] +#define __pyx_kp_u_Kill __pyx_string_tab[3] +#define __pyx_kp_u_Stop __pyx_string_tab[4] +#define __pyx_kp_u_in_library __pyx_string_tab[5] +#define __pyx_kp_u_raised_from_within_the_callback __pyx_string_tab[6] +#define __pyx_kp_u_tree_fragment __pyx_string_tab[7] +#define __pyx_kp_u__6 __pyx_string_tab[8] +#define __pyx_kp_u__4 __pyx_string_tab[9] +#define __pyx_kp_u__3 __pyx_string_tab[10] +#define __pyx_kp_u_invalid __pyx_string_tab[11] +#define __pyx_kp_u_pyc __pyx_string_tab[12] +#define __pyx_kp_u__7 __pyx_string_tab[13] +#define __pyx_kp_u_1 __pyx_string_tab[14] +#define __pyx_kp_u_cell __pyx_string_tab[15] +#define __pyx_kp_u_lambda __pyx_string_tab[16] +#define __pyx_kp_u_module_2 __pyx_string_tab[17] +#define __pyx_kp_u__2 __pyx_string_tab[18] +#define __pyx_kp_u_Error_in_linecache_checkcache_r __pyx_string_tab[19] +#define __pyx_kp_u_Error_in_linecache_getline_r_s_f __pyx_string_tab[20] +#define __pyx_kp_u_Ignore_exception __pyx_string_tab[21] +#define __pyx_kp_u_None __pyx_string_tab[22] +#define __pyx_kp_u_Not_used_in_sys_monitoring_mode __pyx_string_tab[23] +#define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[24] +#define __pyx_kp_u_State __pyx_string_tab[25] +#define __pyx_kp_u_Stop_inside_ipython_call __pyx_string_tab[26] +#define __pyx_kp_u_Unable_to_get_topmost_frame_for __pyx_string_tab[27] +#define __pyx_kp_u_IgnoreException __pyx_string_tab[28] +#define __pyx_kp_u__8 __pyx_string_tab[29] +#define __pyx_kp_u_pydev_execfile_py __pyx_string_tab[30] +#define __pyx_kp_u_pydevd_bundle_pydevd_cython_pyx __pyx_string_tab[31] +#define __pyx_kp_u_add_note __pyx_string_tab[32] +#define __pyx_kp_u_disable __pyx_string_tab[33] +#define __pyx_kp_u_enable __pyx_string_tab[34] +#define __pyx_kp_u_gc __pyx_string_tab[35] +#define __pyx_kp_u_isenabled __pyx_string_tab[36] +#define __pyx_kp_u_pydevd_py __pyx_string_tab[37] +#define __pyx_kp_u_pydevd_traceproperty_py __pyx_string_tab[38] #define __pyx_kp_u_thread__ident_is_None_in__get_re __pyx_string_tab[39] #define __pyx_kp_u_utf_8 __pyx_string_tab[40] #define __pyx_n_u_ALL __pyx_string_tab[41] @@ -3215,385 +3775,386 @@ static __pyx_mstatetype * const __pyx_mstate_global = &__pyx_mstate_global_stati #define __pyx_n_u_PyDBFrame_set_suspend __pyx_string_tab[69] #define __pyx_n_u_PyDBFrame_trace_dispatch __pyx_string_tab[70] #define __pyx_n_u_PyDBFrame_trace_exception __pyx_string_tab[71] -#define __pyx_n_u_Pyx_PyDict_NextRef __pyx_string_tab[72] -#define __pyx_n_u_RETURN_VALUES_DICT __pyx_string_tab[73] -#define __pyx_n_u_STATE_RUN __pyx_string_tab[74] -#define __pyx_n_u_STATE_SUSPEND __pyx_string_tab[75] -#define __pyx_n_u_SUPPORT_GEVENT __pyx_string_tab[76] -#define __pyx_n_u_SafeCallWrapper __pyx_string_tab[77] -#define __pyx_n_u_SafeCallWrapper___reduce_cython __pyx_string_tab[78] -#define __pyx_n_u_SafeCallWrapper___setstate_cytho __pyx_string_tab[79] -#define __pyx_n_u_SafeCallWrapper_get_method_objec __pyx_string_tab[80] -#define __pyx_n_u_StopAsyncIteration __pyx_string_tab[81] -#define __pyx_n_u_TRACE_PROPERTY __pyx_string_tab[82] -#define __pyx_n_u_Thread __pyx_string_tab[83] -#define __pyx_n_u_ThreadTracer __pyx_string_tab[84] -#define __pyx_n_u_ThreadTracer___reduce_cython __pyx_string_tab[85] -#define __pyx_n_u_ThreadTracer___setstate_cython __pyx_string_tab[86] -#define __pyx_n_u_TopLevelThreadTracerNoBackFrame __pyx_string_tab[87] -#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_2 __pyx_string_tab[88] +#define __pyx_n_u_RETURN_VALUES_DICT __pyx_string_tab[72] +#define __pyx_n_u_STATE_RUN __pyx_string_tab[73] +#define __pyx_n_u_STATE_SUSPEND __pyx_string_tab[74] +#define __pyx_n_u_SUPPORT_GEVENT __pyx_string_tab[75] +#define __pyx_n_u_SafeCallWrapper __pyx_string_tab[76] +#define __pyx_n_u_SafeCallWrapper___reduce_cython __pyx_string_tab[77] +#define __pyx_n_u_SafeCallWrapper___setstate_cytho __pyx_string_tab[78] +#define __pyx_n_u_SafeCallWrapper_get_method_objec __pyx_string_tab[79] +#define __pyx_n_u_StopAsyncIteration __pyx_string_tab[80] +#define __pyx_n_u_TRACE_PROPERTY __pyx_string_tab[81] +#define __pyx_n_u_Thread __pyx_string_tab[82] +#define __pyx_n_u_ThreadTracer __pyx_string_tab[83] +#define __pyx_n_u_ThreadTracer___reduce_cython __pyx_string_tab[84] +#define __pyx_n_u_ThreadTracer___setstate_cython __pyx_string_tab[85] +#define __pyx_n_u_TopLevelThreadTracerNoBackFrame __pyx_string_tab[86] +#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_4 __pyx_string_tab[87] +#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_5 __pyx_string_tab[88] #define __pyx_n_u_TopLevelThreadTracerNoBackFrame_3 __pyx_string_tab[89] -#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_4 __pyx_string_tab[90] -#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_5 __pyx_string_tab[91] -#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle __pyx_string_tab[92] -#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_2 __pyx_string_tab[93] +#define __pyx_n_u_TopLevelThreadTracerNoBackFrame_2 __pyx_string_tab[90] +#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle __pyx_string_tab[91] +#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_4 __pyx_string_tab[92] +#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_5 __pyx_string_tab[93] #define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_3 __pyx_string_tab[94] -#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_4 __pyx_string_tab[95] -#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_5 __pyx_string_tab[96] -#define __pyx_n_u_True __pyx_string_tab[97] +#define __pyx_n_u_TopLevelThreadTracerOnlyUnhandle_2 __pyx_string_tab[95] +#define __pyx_n_u_True __pyx_string_tab[96] +#define __pyx_n_u_USE_CUSTOM_SYS_CURRENT_FRAMES_MA __pyx_string_tab[97] #define __pyx_n_u_TryExceptContainerObj __pyx_string_tab[98] #define __pyx_n_u_TryExceptContainerObj___reduce __pyx_string_tab[99] #define __pyx_n_u_TryExceptContainerObj___setstat __pyx_string_tab[100] -#define __pyx_n_u_USE_CUSTOM_SYS_CURRENT_FRAMES_MA __pyx_string_tab[101] -#define __pyx_n_u_abs_real_path_and_base __pyx_string_tab[102] -#define __pyx_n_u_absolute_filename __pyx_string_tab[103] -#define __pyx_n_u_active __pyx_string_tab[104] -#define __pyx_n_u_add __pyx_string_tab[105] -#define __pyx_n_u_add_additional_info __pyx_string_tab[106] -#define __pyx_n_u_add_command __pyx_string_tab[107] -#define __pyx_n_u_add_exception_to_frame __pyx_string_tab[108] -#define __pyx_n_u_additional_info __pyx_string_tab[109] -#define __pyx_n_u_any_thread_stepping __pyx_string_tab[110] -#define __pyx_n_u_append __pyx_string_tab[111] -#define __pyx_n_u_apply_files_filter __pyx_string_tab[112] -#define __pyx_n_u_apply_to_settrace __pyx_string_tab[113] -#define __pyx_n_u_arg __pyx_string_tab[114] -#define __pyx_n_u_args __pyx_string_tab[115] -#define __pyx_n_u_args_2 __pyx_string_tab[116] -#define __pyx_n_u_asyncio_coroutines __pyx_string_tab[117] -#define __pyx_n_u_basename __pyx_string_tab[118] -#define __pyx_n_u_bootstrap __pyx_string_tab[119] -#define __pyx_n_u_bootstrap_2 __pyx_string_tab[120] -#define __pyx_n_u_bootstrap_inner __pyx_string_tab[121] -#define __pyx_n_u_bootstrap_inner_2 __pyx_string_tab[122] -#define __pyx_n_u_break_on_caught_exceptions __pyx_string_tab[123] -#define __pyx_n_u_break_on_user_uncaught_exception __pyx_string_tab[124] -#define __pyx_n_u_breakpoints __pyx_string_tab[125] -#define __pyx_n_u_call __pyx_string_tab[126] -#define __pyx_n_u_call_2 __pyx_string_tab[127] -#define __pyx_n_u_can_skip __pyx_string_tab[128] -#define __pyx_n_u_canonical_normalized_filename __pyx_string_tab[129] -#define __pyx_n_u_check_excs __pyx_string_tab[130] -#define __pyx_n_u_check_trace_obj __pyx_string_tab[131] -#define __pyx_n_u_checkcache __pyx_string_tab[132] -#define __pyx_n_u_children_variants __pyx_string_tab[133] -#define __pyx_n_u_class_getitem __pyx_string_tab[134] -#define __pyx_n_u_cline_in_traceback __pyx_string_tab[135] -#define __pyx_n_u_cmd_factory __pyx_string_tab[136] -#define __pyx_n_u_cmd_step_into __pyx_string_tab[137] -#define __pyx_n_u_cmd_step_over __pyx_string_tab[138] -#define __pyx_n_u_co_filename __pyx_string_tab[139] -#define __pyx_n_u_co_firstlineno __pyx_string_tab[140] -#define __pyx_n_u_co_flags __pyx_string_tab[141] -#define __pyx_n_u_co_name __pyx_string_tab[142] -#define __pyx_n_u_collect_return_info __pyx_string_tab[143] -#define __pyx_n_u_collect_try_except_info __pyx_string_tab[144] -#define __pyx_n_u_compile __pyx_string_tab[145] -#define __pyx_n_u_condition __pyx_string_tab[146] -#define __pyx_n_u_constant_to_str __pyx_string_tab[147] -#define __pyx_n_u_constructed_tid_to_last_frame __pyx_string_tab[148] -#define __pyx_n_u_container_obj __pyx_string_tab[149] -#define __pyx_n_u_critical __pyx_string_tab[150] -#define __pyx_n_u_curr_stat __pyx_string_tab[151] -#define __pyx_n_u_current_frames __pyx_string_tab[152] -#define __pyx_n_u_custom_key __pyx_string_tab[153] -#define __pyx_n_u_debug __pyx_string_tab[154] -#define __pyx_n_u_dict __pyx_string_tab[155] -#define __pyx_n_u_dict_2 __pyx_string_tab[156] -#define __pyx_n_u_dis __pyx_string_tab[157] -#define __pyx_n_u_disable_tracing __pyx_string_tab[158] -#define __pyx_n_u_do_wait_suspend __pyx_string_tab[159] -#define __pyx_n_u_enable_tracing __pyx_string_tab[160] -#define __pyx_n_u_encode __pyx_string_tab[161] -#define __pyx_n_u_endswith __pyx_string_tab[162] -#define __pyx_n_u_enter __pyx_string_tab[163] -#define __pyx_n_u_event __pyx_string_tab[164] -#define __pyx_n_u_exc_break __pyx_string_tab[165] -#define __pyx_n_u_exc_break_caught __pyx_string_tab[166] -#define __pyx_n_u_exc_break_user __pyx_string_tab[167] -#define __pyx_n_u_exc_info __pyx_string_tab[168] -#define __pyx_n_u_exc_lineno __pyx_string_tab[169] -#define __pyx_n_u_except_line __pyx_string_tab[170] -#define __pyx_n_u_exception __pyx_string_tab[171] -#define __pyx_n_u_exception_break __pyx_string_tab[172] -#define __pyx_n_u_exception_breakpoint __pyx_string_tab[173] -#define __pyx_n_u_exception_type __pyx_string_tab[174] -#define __pyx_n_u_exclude_exception_by_filter __pyx_string_tab[175] -#define __pyx_n_u_exec __pyx_string_tab[176] -#define __pyx_n_u_execfile __pyx_string_tab[177] -#define __pyx_n_u_exit __pyx_string_tab[178] -#define __pyx_n_u_expression __pyx_string_tab[179] -#define __pyx_n_u_f __pyx_string_tab[180] -#define __pyx_n_u_f_back __pyx_string_tab[181] -#define __pyx_n_u_f_code __pyx_string_tab[182] -#define __pyx_n_u_f_globals __pyx_string_tab[183] -#define __pyx_n_u_f_lasti __pyx_string_tab[184] -#define __pyx_n_u_f_lineno __pyx_string_tab[185] -#define __pyx_n_u_f_locals __pyx_string_tab[186] -#define __pyx_n_u_f_trace __pyx_string_tab[187] -#define __pyx_n_u_f_unhandled __pyx_string_tab[188] -#define __pyx_n_u_filename __pyx_string_tab[189] -#define __pyx_n_u_filename_to_lines_where_exceptio __pyx_string_tab[190] -#define __pyx_n_u_filename_to_stat_info __pyx_string_tab[191] -#define __pyx_n_u_findlinestarts __pyx_string_tab[192] -#define __pyx_n_u_fix_top_level_trace_and_get_trac __pyx_string_tab[193] -#define __pyx_n_u_force_only_unhandled_tracer __pyx_string_tab[194] -#define __pyx_n_u_frame __pyx_string_tab[195] -#define __pyx_n_u_frame_cache_key __pyx_string_tab[196] -#define __pyx_n_u_frame_id_to_frame __pyx_string_tab[197] -#define __pyx_n_u_frame_skips_cache __pyx_string_tab[198] -#define __pyx_n_u_frame_trace_dispatch __pyx_string_tab[199] -#define __pyx_n_u_from_user_input __pyx_string_tab[200] -#define __pyx_n_u_func __pyx_string_tab[201] -#define __pyx_n_u_func_name __pyx_string_tab[202] -#define __pyx_n_u_function_breakpoint_name_to_brea __pyx_string_tab[203] -#define __pyx_n_u_get __pyx_string_tab[204] -#define __pyx_n_u_get_abs_path_real_path_and_base __pyx_string_tab[205] -#define __pyx_n_u_get_breakpoint __pyx_string_tab[206] -#define __pyx_n_u_get_clsname_for_code __pyx_string_tab[207] -#define __pyx_n_u_get_current_thread_id __pyx_string_tab[208] -#define __pyx_n_u_get_exception_breakpoint __pyx_string_tab[209] -#define __pyx_n_u_get_file_type __pyx_string_tab[210] -#define __pyx_n_u_get_global_debugger __pyx_string_tab[211] -#define __pyx_n_u_get_internal_queue_and_event __pyx_string_tab[212] -#define __pyx_n_u_get_method_object __pyx_string_tab[213] -#define __pyx_n_u_get_related_thread __pyx_string_tab[214] -#define __pyx_n_u_get_smart_step_into_variant_from __pyx_string_tab[215] -#define __pyx_n_u_get_thread_id __pyx_string_tab[216] -#define __pyx_n_u_get_topmost_frame __pyx_string_tab[217] -#define __pyx_n_u_get_trace_dispatch_func __pyx_string_tab[218] -#define __pyx_n_u_getline __pyx_string_tab[219] -#define __pyx_n_u_getstate __pyx_string_tab[220] -#define __pyx_n_u_global_cache_frame_skips __pyx_string_tab[221] -#define __pyx_n_u_global_cache_skips __pyx_string_tab[222] -#define __pyx_n_u_global_notify_skipped_step_in_l __pyx_string_tab[223] -#define __pyx_n_u_handle_breakpoint_condition __pyx_string_tab[224] -#define __pyx_n_u_handle_breakpoint_expression __pyx_string_tab[225] -#define __pyx_n_u_handle_exception __pyx_string_tab[226] -#define __pyx_n_u_handle_user_exception __pyx_string_tab[227] -#define __pyx_n_u_has_condition __pyx_string_tab[228] -#define __pyx_n_u_has_plugin_exception_breaks __pyx_string_tab[229] -#define __pyx_n_u_has_plugin_line_breaks __pyx_string_tab[230] -#define __pyx_n_u_i __pyx_string_tab[231] -#define __pyx_n_u_id __pyx_string_tab[232] -#define __pyx_n_u_ident __pyx_string_tab[233] -#define __pyx_n_u_ident_2 __pyx_string_tab[234] -#define __pyx_n_u_ignore_exception_trace __pyx_string_tab[235] -#define __pyx_n_u_ignore_exceptions_thrown_in_line __pyx_string_tab[236] -#define __pyx_n_u_ignore_system_exit_code __pyx_string_tab[237] -#define __pyx_n_u_in_project_scope __pyx_string_tab[238] -#define __pyx_n_u_info __pyx_string_tab[239] -#define __pyx_n_u_initial_trace_obj __pyx_string_tab[240] -#define __pyx_n_u_is_coroutine __pyx_string_tab[241] -#define __pyx_n_u_is_files_filter_enabled __pyx_string_tab[242] -#define __pyx_n_u_is_line_in_except_block __pyx_string_tab[243] -#define __pyx_n_u_is_line_in_try_block __pyx_string_tab[244] -#define __pyx_n_u_is_logpoint __pyx_string_tab[245] -#define __pyx_n_u_is_stepping __pyx_string_tab[246] -#define __pyx_n_u_is_thread_alive __pyx_string_tab[247] -#define __pyx_n_u_is_unhandled_exception __pyx_string_tab[248] -#define __pyx_n_u_is_unwind __pyx_string_tab[249] -#define __pyx_n_u_is_user_uncaught __pyx_string_tab[250] -#define __pyx_n_u_items __pyx_string_tab[251] -#define __pyx_n_u_j __pyx_string_tab[252] -#define __pyx_n_u_just_raised __pyx_string_tab[253] -#define __pyx_n_u_kwargs __pyx_string_tab[254] -#define __pyx_n_u_last_raise_line __pyx_string_tab[255] -#define __pyx_n_u_last_stat __pyx_string_tab[256] -#define __pyx_n_u_line __pyx_string_tab[257] -#define __pyx_n_u_linecache __pyx_string_tab[258] -#define __pyx_n_u_lines __pyx_string_tab[259] -#define __pyx_n_u_lines_ignored __pyx_string_tab[260] -#define __pyx_n_u_linesep __pyx_string_tab[261] -#define __pyx_n_u_main __pyx_string_tab[262] -#define __pyx_n_u_main_2 __pyx_string_tab[263] -#define __pyx_n_u_make_console_message __pyx_string_tab[264] -#define __pyx_n_u_make_io_message __pyx_string_tab[265] -#define __pyx_n_u_match __pyx_string_tab[266] -#define __pyx_n_u_maybe_user_uncaught_exc_info __pyx_string_tab[267] -#define __pyx_n_u_merged __pyx_string_tab[268] -#define __pyx_n_u_method_object __pyx_string_tab[269] -#define __pyx_n_u_module_2 __pyx_string_tab[270] -#define __pyx_n_u_name __pyx_string_tab[271] -#define __pyx_n_u_name_2 __pyx_string_tab[272] -#define __pyx_n_u_new __pyx_string_tab[273] -#define __pyx_n_u_next_additional_info __pyx_string_tab[274] -#define __pyx_n_u_notify_on_first_raise_only __pyx_string_tab[275] -#define __pyx_n_u_notify_skipped_step_in_because_o __pyx_string_tab[276] -#define __pyx_n_u_notify_thread_not_alive __pyx_string_tab[277] -#define __pyx_n_u_original_call __pyx_string_tab[278] -#define __pyx_n_u_original_step_cmd __pyx_string_tab[279] -#define __pyx_n_u_os __pyx_string_tab[280] -#define __pyx_n_u_os_path __pyx_string_tab[281] -#define __pyx_n_u_path __pyx_string_tab[282] -#define __pyx_n_u_plugin __pyx_string_tab[283] -#define __pyx_n_u_pop __pyx_string_tab[284] -#define __pyx_n_u_prev_user_uncaught_exc_info __pyx_string_tab[285] -#define __pyx_n_u_py_db __pyx_string_tab[286] -#define __pyx_n_u_pydb_disposed __pyx_string_tab[287] -#define __pyx_n_u_pydev_bundle __pyx_string_tab[288] -#define __pyx_n_u_pydev_bundle__pydev_saved_modul __pyx_string_tab[289] -#define __pyx_n_u_pydev_bundle_pydev_is_thread_al __pyx_string_tab[290] -#define __pyx_n_u_pydev_bundle_pydev_log __pyx_string_tab[291] -#define __pyx_n_u_pydev_do_not_trace __pyx_string_tab[292] -#define __pyx_n_u_pydev_log __pyx_string_tab[293] -#define __pyx_n_u_pydev_log_exception __pyx_string_tab[294] -#define __pyx_n_u_pydev_monkey __pyx_string_tab[295] -#define __pyx_n_u_pydevd __pyx_string_tab[296] -#define __pyx_n_u_pydevd_bundle __pyx_string_tab[297] -#define __pyx_n_u_pydevd_bundle_pydevd_bytecode_u __pyx_string_tab[298] -#define __pyx_n_u_pydevd_bundle_pydevd_comm_const __pyx_string_tab[299] -#define __pyx_n_u_pydevd_bundle_pydevd_constants __pyx_string_tab[300] -#define __pyx_n_u_pydevd_bundle_pydevd_cython __pyx_string_tab[301] -#define __pyx_n_u_pydevd_bundle_pydevd_frame_util __pyx_string_tab[302] -#define __pyx_n_u_pydevd_bundle_pydevd_utils __pyx_string_tab[303] -#define __pyx_n_u_pydevd_dont_trace __pyx_string_tab[304] -#define __pyx_n_u_pydevd_file_utils __pyx_string_tab[305] -#define __pyx_n_u_pydevd_tracing __pyx_string_tab[306] -#define __pyx_n_u_pyx_capi __pyx_string_tab[307] -#define __pyx_n_u_pyx_checksum __pyx_string_tab[308] -#define __pyx_n_u_pyx_result __pyx_string_tab[309] -#define __pyx_n_u_pyx_state __pyx_string_tab[310] -#define __pyx_n_u_pyx_type __pyx_string_tab[311] -#define __pyx_n_u_pyx_unpickle_PyDBAdditionalThr __pyx_string_tab[312] -#define __pyx_n_u_pyx_unpickle_PyDBFrame __pyx_string_tab[313] -#define __pyx_n_u_pyx_unpickle_SafeCallWrapper __pyx_string_tab[314] -#define __pyx_n_u_pyx_unpickle_ThreadTracer __pyx_string_tab[315] -#define __pyx_n_u_pyx_unpickle_TopLevelThreadTra __pyx_string_tab[316] -#define __pyx_n_u_pyx_unpickle_TopLevelThreadTra_2 __pyx_string_tab[317] -#define __pyx_n_u_pyx_unpickle__TryExceptContain __pyx_string_tab[318] -#define __pyx_n_u_pyx_vtable __pyx_string_tab[319] -#define __pyx_n_u_qname __pyx_string_tab[320] -#define __pyx_n_u_qualname __pyx_string_tab[321] -#define __pyx_n_u_quitting __pyx_string_tab[322] -#define __pyx_n_u_raise_lines __pyx_string_tab[323] -#define __pyx_n_u_raise_lines_in_except __pyx_string_tab[324] -#define __pyx_n_u_re __pyx_string_tab[325] -#define __pyx_n_u_reduce __pyx_string_tab[326] -#define __pyx_n_u_reduce_cython __pyx_string_tab[327] -#define __pyx_n_u_reduce_ex __pyx_string_tab[328] -#define __pyx_n_u_ref __pyx_string_tab[329] -#define __pyx_n_u_remove_additional_info __pyx_string_tab[330] -#define __pyx_n_u_remove_exception_from_frame __pyx_string_tab[331] -#define __pyx_n_u_remove_return_values_flag __pyx_string_tab[332] -#define __pyx_n_u_result __pyx_string_tab[333] -#define __pyx_n_u_ret __pyx_string_tab[334] -#define __pyx_n_u_return __pyx_string_tab[335] -#define __pyx_n_u_return_line __pyx_string_tab[336] -#define __pyx_n_u_returns __pyx_string_tab[337] -#define __pyx_n_u_run __pyx_string_tab[338] -#define __pyx_n_u_self __pyx_string_tab[339] -#define __pyx_n_u_send_caught_exception_stack __pyx_string_tab[340] -#define __pyx_n_u_send_caught_exception_stack_proc __pyx_string_tab[341] -#define __pyx_n_u_set __pyx_string_tab[342] -#define __pyx_n_u_set_additional_thread_info __pyx_string_tab[343] -#define __pyx_n_u_set_additional_thread_info_lock __pyx_string_tab[344] -#define __pyx_n_u_set_name __pyx_string_tab[345] -#define __pyx_n_u_set_suspend __pyx_string_tab[346] -#define __pyx_n_u_set_trace_for_frame_and_parents __pyx_string_tab[347] -#define __pyx_n_u_setdefault __pyx_string_tab[348] -#define __pyx_n_u_setstate __pyx_string_tab[349] -#define __pyx_n_u_setstate_cython __pyx_string_tab[350] -#define __pyx_n_u_should_stop __pyx_string_tab[351] -#define __pyx_n_u_should_stop_on_exception __pyx_string_tab[352] -#define __pyx_n_u_should_trace_hook __pyx_string_tab[353] -#define __pyx_n_u_show_return_values __pyx_string_tab[354] -#define __pyx_n_u_skip_on_exceptions_thrown_in_sam __pyx_string_tab[355] -#define __pyx_n_u_st_mtime __pyx_string_tab[356] -#define __pyx_n_u_st_size __pyx_string_tab[357] -#define __pyx_n_u_startswith __pyx_string_tab[358] -#define __pyx_n_u_stat __pyx_string_tab[359] -#define __pyx_n_u_state __pyx_string_tab[360] -#define __pyx_n_u_stop __pyx_string_tab[361] -#define __pyx_n_u_stop_on_unhandled_exception __pyx_string_tab[362] -#define __pyx_n_u_stopped __pyx_string_tab[363] -#define __pyx_n_u_suspend __pyx_string_tab[364] -#define __pyx_n_u_suspend_other_threads __pyx_string_tab[365] -#define __pyx_n_u_suspend_policy __pyx_string_tab[366] -#define __pyx_n_u_suspended_at_unhandled __pyx_string_tab[367] -#define __pyx_n_u_sys __pyx_string_tab[368] -#define __pyx_n_u_t __pyx_string_tab[369] -#define __pyx_n_u_tb_frame __pyx_string_tab[370] -#define __pyx_n_u_tb_lineno __pyx_string_tab[371] -#define __pyx_n_u_tb_next __pyx_string_tab[372] -#define __pyx_n_u_test __pyx_string_tab[373] -#define __pyx_n_u_thread __pyx_string_tab[374] -#define __pyx_n_u_thread_trace_func __pyx_string_tab[375] -#define __pyx_n_u_thread_tracer __pyx_string_tab[376] -#define __pyx_n_u_threading __pyx_string_tab[377] -#define __pyx_n_u_threading_active __pyx_string_tab[378] -#define __pyx_n_u_threading_current_thread __pyx_string_tab[379] -#define __pyx_n_u_threading_get_ident __pyx_string_tab[380] -#define __pyx_n_u_top_level_thread_tracer __pyx_string_tab[381] -#define __pyx_n_u_top_level_thread_tracer_no_back __pyx_string_tab[382] -#define __pyx_n_u_top_level_thread_tracer_unhandle __pyx_string_tab[383] -#define __pyx_n_u_trace __pyx_string_tab[384] -#define __pyx_n_u_trace_dispatch __pyx_string_tab[385] -#define __pyx_n_u_trace_dispatch_and_unhandled_exc __pyx_string_tab[386] -#define __pyx_n_u_trace_exception __pyx_string_tab[387] -#define __pyx_n_u_trace_obj __pyx_string_tab[388] -#define __pyx_n_u_trace_unhandled_exceptions __pyx_string_tab[389] -#define __pyx_n_u_try_exc_info __pyx_string_tab[390] -#define __pyx_n_u_try_except_info __pyx_string_tab[391] -#define __pyx_n_u_try_except_infos __pyx_string_tab[392] -#define __pyx_n_u_update __pyx_string_tab[393] -#define __pyx_n_u_update_stepping_info __pyx_string_tab[394] -#define __pyx_n_u_use_setstate __pyx_string_tab[395] -#define __pyx_n_u_valid_try_except_infos __pyx_string_tab[396] -#define __pyx_n_u_value __pyx_string_tab[397] -#define __pyx_n_u_values __pyx_string_tab[398] -#define __pyx_n_u_version __pyx_string_tab[399] -#define __pyx_n_u_was_just_raised __pyx_string_tab[400] -#define __pyx_n_u_weak_thread __pyx_string_tab[401] -#define __pyx_n_u_weakref __pyx_string_tab[402] -#define __pyx_n_u_writer __pyx_string_tab[403] -#define __pyx_kp_b_PyObject_PyObject_int___pyx_skip __pyx_string_tab[404] -#define __pyx_kp_b_iso88591_1_7q __pyx_string_tab[405] -#define __pyx_kp_b_iso88591_1_xq __pyx_string_tab[406] -#define __pyx_kp_b_iso88591_3a_s_7q_gT_1A_WA_EQ_1 __pyx_string_tab[407] -#define __pyx_kp_b_iso88591_4AV1 __pyx_string_tab[408] -#define __pyx_kp_b_iso88591_50WWXX___A_xvS_A_q__AQ_AWG1 __pyx_string_tab[409] -#define __pyx_kp_b_iso88591_6 __pyx_string_tab[410] -#define __pyx_kp_b_iso88591_6avQ __pyx_string_tab[411] -#define __pyx_kp_b_iso88591_AP_5V8CVVhhllm_q_5_Q_q_uA_xvS_A __pyx_string_tab[412] -#define __pyx_kp_b_iso88591_A_4_Cz_T1A_Q_1_4_C_T_Q_1_q __pyx_string_tab[413] -#define __pyx_kp_b_iso88591_A_4q_1_1D_at4vQd_QRRVVW_q __pyx_string_tab[414] -#define __pyx_kp_b_iso88591_A_4q_1_4_Cq_1_7_Q_1_4_aq_1_6_A_Y __pyx_string_tab[415] -#define __pyx_kp_b_iso88591_A_6_A_C1D_atSWW_bbiimmssttxx_B_B __pyx_string_tab[416] -#define __pyx_kp_b_iso88591_A_6_L_D_q_3_F_2Q_t7_4_a_Q_5QgS_Q __pyx_string_tab[417] -#define __pyx_kp_b_iso88591_A_F_2_81 __pyx_string_tab[418] -#define __pyx_kp_b_iso88591_A_F_2_Rxq __pyx_string_tab[419] -#define __pyx_kp_b_iso88591_A_Qa __pyx_string_tab[420] -#define __pyx_kp_b_iso88591_A_Qd_Q_QfG7 __pyx_string_tab[421] -#define __pyx_kp_b_iso88591_A_d_6_A_U_a_1_q __pyx_string_tab[422] -#define __pyx_kp_b_iso88591_A_l_1 __pyx_string_tab[423] -#define __pyx_kp_b_iso88591_A_q __pyx_string_tab[424] -#define __pyx_kp_b_iso88591_A_t1 __pyx_string_tab[425] -#define __pyx_kp_b_iso88591_A_t1_q_QgWA_6_A_T_q_E_3it4_gQ_s __pyx_string_tab[426] -#define __pyx_kp_b_iso88591_I_PQ __pyx_string_tab[427] -#define __pyx_kp_b_iso88591_Q_gQ_D_aq_D_aq_2Rq_2S_4q_A_D_aq __pyx_string_tab[428] -#define __pyx_kp_b_iso88591_QfA __pyx_string_tab[429] -#define __pyx_kp_b_iso88591_QfA_2 __pyx_string_tab[430] -#define __pyx_kp_b_iso88591_T_4D8J_m___xx_X_X_y_y_O_O_S_S_c __pyx_string_tab[431] -#define __pyx_kp_b_iso88591_T_5T9I_M_ddsswwx_G1F_a_vWE_Q_q __pyx_string_tab[432] -#define __pyx_kp_b_iso88591_T_A_G1F_a_vWE_Q_q_t7_c_Zwa_q_aw __pyx_string_tab[433] -#define __pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t7_q_LDPQQXXccj __pyx_string_tab[434] -#define __pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t7_q_T_G1_T_A __pyx_string_tab[435] -#define __pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_WA_q_7t1G_gUV __pyx_string_tab[436] -#define __pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_q_0_AWKwa_0_A __pyx_string_tab[437] -#define __pyx_kp_b_iso88591_a_4q __pyx_string_tab[438] -#define __pyx_kp_b_iso88591_a_Cq_A_9IS_T_Cq_9G1_IQ_5_1_7q_S __pyx_string_tab[439] -#define __pyx_kp_b_iso88591_aq_4_A_4q __pyx_string_tab[440] -#define __pyx_kp_b_iso88591_q_0_kQR_1_7_1_2DNRS_1 __pyx_string_tab[441] -#define __pyx_kp_b_iso88591_q_0_kQR_2_1_7_A_Bddrrs_1 __pyx_string_tab[442] -#define __pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1 __pyx_string_tab[443] -#define __pyx_kp_b_iso88591_q_0_kQR_81A_7_VVdde_1 __pyx_string_tab[444] -#define __pyx_kp_b_iso88591_q_0_kQR_9HAQ_7_1L_a_1 __pyx_string_tab[445] -#define __pyx_kp_b_iso88591_q_0_kQR_haq_7_MQN_K_K_L_1 __pyx_string_tab[446] -#define __pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1 __pyx_string_tab[447] -#define __pyx_kp_b_iso88591_q_a __pyx_string_tab[448] -#define __pyx_kp_b_iso88591_ttu_1_t_1_7_6_T_1_5_q_U_9_PUUV __pyx_string_tab[449] -#define __pyx_kp_b_iso88591_uJc_q_Cq_E_ccd_4q_1_Q_1_7q_t1_q __pyx_string_tab[450] +#define __pyx_n_u_Pyx_PyDict_NextRef __pyx_string_tab[101] +#define __pyx_n_u_annotate __pyx_string_tab[102] +#define __pyx_n_u_bootstrap __pyx_string_tab[103] +#define __pyx_n_u_bootstrap_inner __pyx_string_tab[104] +#define __pyx_n_u_call_2 __pyx_string_tab[105] +#define __pyx_n_u_class_getitem __pyx_string_tab[106] +#define __pyx_n_u_dict __pyx_string_tab[107] +#define __pyx_n_u_enter __pyx_string_tab[108] +#define __pyx_n_u_exit __pyx_string_tab[109] +#define __pyx_n_u_func __pyx_string_tab[110] +#define __pyx_n_u_getstate __pyx_string_tab[111] +#define __pyx_n_u_main_2 __pyx_string_tab[112] +#define __pyx_n_u_module __pyx_string_tab[113] +#define __pyx_n_u_name __pyx_string_tab[114] +#define __pyx_n_u_new __pyx_string_tab[115] +#define __pyx_n_u_pyx_capi __pyx_string_tab[116] +#define __pyx_n_u_pyx_checksum __pyx_string_tab[117] +#define __pyx_n_u_pyx_result __pyx_string_tab[118] +#define __pyx_n_u_pyx_state __pyx_string_tab[119] +#define __pyx_n_u_pyx_type __pyx_string_tab[120] +#define __pyx_n_u_pyx_unpickle_PyDBAdditionalThr __pyx_string_tab[121] +#define __pyx_n_u_pyx_unpickle_PyDBFrame __pyx_string_tab[122] +#define __pyx_n_u_pyx_unpickle_SafeCallWrapper __pyx_string_tab[123] +#define __pyx_n_u_pyx_unpickle_ThreadTracer __pyx_string_tab[124] +#define __pyx_n_u_pyx_unpickle_TopLevelThreadTra_2 __pyx_string_tab[125] +#define __pyx_n_u_pyx_unpickle_TopLevelThreadTra __pyx_string_tab[126] +#define __pyx_n_u_pyx_unpickle__TryExceptContain __pyx_string_tab[127] +#define __pyx_n_u_pyx_vtable __pyx_string_tab[128] +#define __pyx_n_u_qualname __pyx_string_tab[129] +#define __pyx_n_u_reduce __pyx_string_tab[130] +#define __pyx_n_u_reduce_cython __pyx_string_tab[131] +#define __pyx_n_u_reduce_ex __pyx_string_tab[132] +#define __pyx_n_u_set_name __pyx_string_tab[133] +#define __pyx_n_u_setstate __pyx_string_tab[134] +#define __pyx_n_u_setstate_cython __pyx_string_tab[135] +#define __pyx_n_u_test __pyx_string_tab[136] +#define __pyx_n_u_active __pyx_string_tab[137] +#define __pyx_n_u_args_2 __pyx_string_tab[138] +#define __pyx_n_u_bootstrap_2 __pyx_string_tab[139] +#define __pyx_n_u_bootstrap_inner_2 __pyx_string_tab[140] +#define __pyx_n_u_current_frames __pyx_string_tab[141] +#define __pyx_n_u_dict_2 __pyx_string_tab[142] +#define __pyx_n_u_exec __pyx_string_tab[143] +#define __pyx_n_u_get_related_thread __pyx_string_tab[144] +#define __pyx_n_u_global_notify_skipped_step_in_l __pyx_string_tab[145] +#define __pyx_n_u_ident __pyx_string_tab[146] +#define __pyx_n_u_is_coroutine __pyx_string_tab[147] +#define __pyx_n_u_is_stepping __pyx_string_tab[148] +#define __pyx_n_u_next_additional_info __pyx_string_tab[149] +#define __pyx_n_u_original_call __pyx_string_tab[150] +#define __pyx_n_u_pydev_bundle __pyx_string_tab[151] +#define __pyx_n_u_pydev_bundle__pydev_saved_modul __pyx_string_tab[152] +#define __pyx_n_u_pydev_bundle_pydev_is_thread_al __pyx_string_tab[153] +#define __pyx_n_u_pydev_bundle_pydev_log __pyx_string_tab[154] +#define __pyx_n_u_pydevd_bundle __pyx_string_tab[155] +#define __pyx_n_u_pydevd_bundle_pydevd_bytecode_u __pyx_string_tab[156] +#define __pyx_n_u_pydevd_bundle_pydevd_comm_const __pyx_string_tab[157] +#define __pyx_n_u_pydevd_bundle_pydevd_constants __pyx_string_tab[158] +#define __pyx_n_u_pydevd_bundle_pydevd_cython __pyx_string_tab[159] +#define __pyx_n_u_pydevd_bundle_pydevd_frame_util __pyx_string_tab[160] +#define __pyx_n_u_pydevd_bundle_pydevd_utils __pyx_string_tab[161] +#define __pyx_n_u_set_additional_thread_info_lock __pyx_string_tab[162] +#define __pyx_n_u_abs_real_path_and_base __pyx_string_tab[163] +#define __pyx_n_u_absolute_filename __pyx_string_tab[164] +#define __pyx_n_u_add __pyx_string_tab[165] +#define __pyx_n_u_add_additional_info __pyx_string_tab[166] +#define __pyx_n_u_add_command __pyx_string_tab[167] +#define __pyx_n_u_add_exception_to_frame __pyx_string_tab[168] +#define __pyx_n_u_additional_info __pyx_string_tab[169] +#define __pyx_n_u_any_thread_stepping __pyx_string_tab[170] +#define __pyx_n_u_append __pyx_string_tab[171] +#define __pyx_n_u_apply_files_filter __pyx_string_tab[172] +#define __pyx_n_u_apply_to_settrace __pyx_string_tab[173] +#define __pyx_n_u_arg __pyx_string_tab[174] +#define __pyx_n_u_args __pyx_string_tab[175] +#define __pyx_n_u_asyncio_coroutines __pyx_string_tab[176] +#define __pyx_n_u_basename __pyx_string_tab[177] +#define __pyx_n_u_break_on_caught_exceptions __pyx_string_tab[178] +#define __pyx_n_u_break_on_user_uncaught_exception __pyx_string_tab[179] +#define __pyx_n_u_breakpoints __pyx_string_tab[180] +#define __pyx_n_u_call __pyx_string_tab[181] +#define __pyx_n_u_can_skip __pyx_string_tab[182] +#define __pyx_n_u_canonical_normalized_filename __pyx_string_tab[183] +#define __pyx_n_u_check_excs __pyx_string_tab[184] +#define __pyx_n_u_check_trace_obj __pyx_string_tab[185] +#define __pyx_n_u_checkcache __pyx_string_tab[186] +#define __pyx_n_u_children_variants __pyx_string_tab[187] +#define __pyx_n_u_cline_in_traceback __pyx_string_tab[188] +#define __pyx_n_u_cmd_factory __pyx_string_tab[189] +#define __pyx_n_u_cmd_step_into __pyx_string_tab[190] +#define __pyx_n_u_cmd_step_over __pyx_string_tab[191] +#define __pyx_n_u_co_filename __pyx_string_tab[192] +#define __pyx_n_u_co_firstlineno __pyx_string_tab[193] +#define __pyx_n_u_co_flags __pyx_string_tab[194] +#define __pyx_n_u_co_name __pyx_string_tab[195] +#define __pyx_n_u_collect_return_info __pyx_string_tab[196] +#define __pyx_n_u_collect_try_except_info __pyx_string_tab[197] +#define __pyx_n_u_compile __pyx_string_tab[198] +#define __pyx_n_u_condition __pyx_string_tab[199] +#define __pyx_n_u_constant_to_str __pyx_string_tab[200] +#define __pyx_n_u_constructed_tid_to_last_frame __pyx_string_tab[201] +#define __pyx_n_u_container_obj __pyx_string_tab[202] +#define __pyx_n_u_critical __pyx_string_tab[203] +#define __pyx_n_u_curr_stat __pyx_string_tab[204] +#define __pyx_n_u_custom_key __pyx_string_tab[205] +#define __pyx_n_u_debug __pyx_string_tab[206] +#define __pyx_n_u_dis __pyx_string_tab[207] +#define __pyx_n_u_disable_tracing __pyx_string_tab[208] +#define __pyx_n_u_do_wait_suspend __pyx_string_tab[209] +#define __pyx_n_u_enable_tracing __pyx_string_tab[210] +#define __pyx_n_u_encode __pyx_string_tab[211] +#define __pyx_n_u_endswith __pyx_string_tab[212] +#define __pyx_n_u_event __pyx_string_tab[213] +#define __pyx_n_u_exc_break __pyx_string_tab[214] +#define __pyx_n_u_exc_break_caught __pyx_string_tab[215] +#define __pyx_n_u_exc_break_user __pyx_string_tab[216] +#define __pyx_n_u_exc_info __pyx_string_tab[217] +#define __pyx_n_u_exc_lineno __pyx_string_tab[218] +#define __pyx_n_u_except_line __pyx_string_tab[219] +#define __pyx_n_u_exception __pyx_string_tab[220] +#define __pyx_n_u_exception_break __pyx_string_tab[221] +#define __pyx_n_u_exception_breakpoint __pyx_string_tab[222] +#define __pyx_n_u_exception_type __pyx_string_tab[223] +#define __pyx_n_u_exclude_exception_by_filter __pyx_string_tab[224] +#define __pyx_n_u_execfile __pyx_string_tab[225] +#define __pyx_n_u_expression __pyx_string_tab[226] +#define __pyx_n_u_f __pyx_string_tab[227] +#define __pyx_n_u_f_back __pyx_string_tab[228] +#define __pyx_n_u_f_code __pyx_string_tab[229] +#define __pyx_n_u_f_globals __pyx_string_tab[230] +#define __pyx_n_u_f_lasti __pyx_string_tab[231] +#define __pyx_n_u_f_lineno __pyx_string_tab[232] +#define __pyx_n_u_f_locals __pyx_string_tab[233] +#define __pyx_n_u_f_trace __pyx_string_tab[234] +#define __pyx_n_u_f_unhandled __pyx_string_tab[235] +#define __pyx_n_u_filename __pyx_string_tab[236] +#define __pyx_n_u_filename_to_lines_where_exceptio __pyx_string_tab[237] +#define __pyx_n_u_filename_to_stat_info __pyx_string_tab[238] +#define __pyx_n_u_findlinestarts __pyx_string_tab[239] +#define __pyx_n_u_fix_top_level_trace_and_get_trac __pyx_string_tab[240] +#define __pyx_n_u_force_only_unhandled_tracer __pyx_string_tab[241] +#define __pyx_n_u_frame __pyx_string_tab[242] +#define __pyx_n_u_frame_cache_key __pyx_string_tab[243] +#define __pyx_n_u_frame_id_to_frame __pyx_string_tab[244] +#define __pyx_n_u_frame_skips_cache __pyx_string_tab[245] +#define __pyx_n_u_frame_trace_dispatch __pyx_string_tab[246] +#define __pyx_n_u_from_user_input __pyx_string_tab[247] +#define __pyx_n_u_func_name __pyx_string_tab[248] +#define __pyx_n_u_function_breakpoint_name_to_brea __pyx_string_tab[249] +#define __pyx_n_u_get __pyx_string_tab[250] +#define __pyx_n_u_get_abs_path_real_path_and_base __pyx_string_tab[251] +#define __pyx_n_u_get_breakpoint __pyx_string_tab[252] +#define __pyx_n_u_get_clsname_for_code __pyx_string_tab[253] +#define __pyx_n_u_get_current_thread_id __pyx_string_tab[254] +#define __pyx_n_u_get_exception_breakpoint __pyx_string_tab[255] +#define __pyx_n_u_get_file_type __pyx_string_tab[256] +#define __pyx_n_u_get_global_debugger __pyx_string_tab[257] +#define __pyx_n_u_get_internal_queue_and_event __pyx_string_tab[258] +#define __pyx_n_u_get_method_object __pyx_string_tab[259] +#define __pyx_n_u_get_smart_step_into_variant_from __pyx_string_tab[260] +#define __pyx_n_u_get_thread_id __pyx_string_tab[261] +#define __pyx_n_u_get_topmost_frame __pyx_string_tab[262] +#define __pyx_n_u_get_trace_dispatch_func __pyx_string_tab[263] +#define __pyx_n_u_getline __pyx_string_tab[264] +#define __pyx_n_u_global_cache_frame_skips __pyx_string_tab[265] +#define __pyx_n_u_global_cache_skips __pyx_string_tab[266] +#define __pyx_n_u_handle_breakpoint_condition __pyx_string_tab[267] +#define __pyx_n_u_handle_breakpoint_expression __pyx_string_tab[268] +#define __pyx_n_u_handle_exception __pyx_string_tab[269] +#define __pyx_n_u_handle_user_exception __pyx_string_tab[270] +#define __pyx_n_u_has_condition __pyx_string_tab[271] +#define __pyx_n_u_has_plugin_exception_breaks __pyx_string_tab[272] +#define __pyx_n_u_has_plugin_line_breaks __pyx_string_tab[273] +#define __pyx_n_u_i __pyx_string_tab[274] +#define __pyx_n_u_id __pyx_string_tab[275] +#define __pyx_n_u_ident_2 __pyx_string_tab[276] +#define __pyx_n_u_ignore_exception_trace __pyx_string_tab[277] +#define __pyx_n_u_ignore_exceptions_thrown_in_line __pyx_string_tab[278] +#define __pyx_n_u_ignore_system_exit_code __pyx_string_tab[279] +#define __pyx_n_u_in_project_scope __pyx_string_tab[280] +#define __pyx_n_u_info __pyx_string_tab[281] +#define __pyx_n_u_initial_trace_obj __pyx_string_tab[282] +#define __pyx_n_u_is_files_filter_enabled __pyx_string_tab[283] +#define __pyx_n_u_is_line_in_except_block __pyx_string_tab[284] +#define __pyx_n_u_is_line_in_try_block __pyx_string_tab[285] +#define __pyx_n_u_is_logpoint __pyx_string_tab[286] +#define __pyx_n_u_is_thread_alive __pyx_string_tab[287] +#define __pyx_n_u_is_unhandled_exception __pyx_string_tab[288] +#define __pyx_n_u_is_unwind __pyx_string_tab[289] +#define __pyx_n_u_is_user_uncaught __pyx_string_tab[290] +#define __pyx_n_u_items __pyx_string_tab[291] +#define __pyx_n_u_j __pyx_string_tab[292] +#define __pyx_n_u_just_raised __pyx_string_tab[293] +#define __pyx_n_u_kwargs __pyx_string_tab[294] +#define __pyx_n_u_last_raise_line __pyx_string_tab[295] +#define __pyx_n_u_last_stat __pyx_string_tab[296] +#define __pyx_n_u_line __pyx_string_tab[297] +#define __pyx_n_u_linecache __pyx_string_tab[298] +#define __pyx_n_u_lines __pyx_string_tab[299] +#define __pyx_n_u_lines_ignored __pyx_string_tab[300] +#define __pyx_n_u_linesep __pyx_string_tab[301] +#define __pyx_n_u_main __pyx_string_tab[302] +#define __pyx_n_u_make_console_message __pyx_string_tab[303] +#define __pyx_n_u_make_io_message __pyx_string_tab[304] +#define __pyx_n_u_match __pyx_string_tab[305] +#define __pyx_n_u_maybe_user_uncaught_exc_info __pyx_string_tab[306] +#define __pyx_n_u_merged __pyx_string_tab[307] +#define __pyx_n_u_method_object __pyx_string_tab[308] +#define __pyx_n_u_name_2 __pyx_string_tab[309] +#define __pyx_n_u_notify_on_first_raise_only __pyx_string_tab[310] +#define __pyx_n_u_notify_skipped_step_in_because_o __pyx_string_tab[311] +#define __pyx_n_u_notify_thread_not_alive __pyx_string_tab[312] +#define __pyx_n_u_original_step_cmd __pyx_string_tab[313] +#define __pyx_n_u_os __pyx_string_tab[314] +#define __pyx_n_u_os_path __pyx_string_tab[315] +#define __pyx_n_u_path __pyx_string_tab[316] +#define __pyx_n_u_plugin __pyx_string_tab[317] +#define __pyx_n_u_pop __pyx_string_tab[318] +#define __pyx_n_u_prev_user_uncaught_exc_info __pyx_string_tab[319] +#define __pyx_n_u_py_db __pyx_string_tab[320] +#define __pyx_n_u_pydb_disposed __pyx_string_tab[321] +#define __pyx_n_u_pydev_do_not_trace __pyx_string_tab[322] +#define __pyx_n_u_pydev_log __pyx_string_tab[323] +#define __pyx_n_u_pydev_log_exception __pyx_string_tab[324] +#define __pyx_n_u_pydev_monkey __pyx_string_tab[325] +#define __pyx_n_u_pydevd __pyx_string_tab[326] +#define __pyx_n_u_pydevd_dont_trace __pyx_string_tab[327] +#define __pyx_n_u_pydevd_file_utils __pyx_string_tab[328] +#define __pyx_n_u_pydevd_tracing __pyx_string_tab[329] +#define __pyx_n_u_qname __pyx_string_tab[330] +#define __pyx_n_u_quitting __pyx_string_tab[331] +#define __pyx_n_u_raise_lines __pyx_string_tab[332] +#define __pyx_n_u_raise_lines_in_except __pyx_string_tab[333] +#define __pyx_n_u_re __pyx_string_tab[334] +#define __pyx_n_u_ref __pyx_string_tab[335] +#define __pyx_n_u_remove_additional_info __pyx_string_tab[336] +#define __pyx_n_u_remove_exception_from_frame __pyx_string_tab[337] +#define __pyx_n_u_remove_return_values_flag __pyx_string_tab[338] +#define __pyx_n_u_result __pyx_string_tab[339] +#define __pyx_n_u_ret __pyx_string_tab[340] +#define __pyx_n_u_return __pyx_string_tab[341] +#define __pyx_n_u_return_line __pyx_string_tab[342] +#define __pyx_n_u_returns __pyx_string_tab[343] +#define __pyx_n_u_run __pyx_string_tab[344] +#define __pyx_n_u_self __pyx_string_tab[345] +#define __pyx_n_u_send_caught_exception_stack __pyx_string_tab[346] +#define __pyx_n_u_send_caught_exception_stack_proc __pyx_string_tab[347] +#define __pyx_n_u_set __pyx_string_tab[348] +#define __pyx_n_u_set_additional_thread_info __pyx_string_tab[349] +#define __pyx_n_u_set_suspend __pyx_string_tab[350] +#define __pyx_n_u_set_trace_for_frame_and_parents __pyx_string_tab[351] +#define __pyx_n_u_setdefault __pyx_string_tab[352] +#define __pyx_n_u_should_stop __pyx_string_tab[353] +#define __pyx_n_u_should_stop_on_exception __pyx_string_tab[354] +#define __pyx_n_u_should_trace_hook __pyx_string_tab[355] +#define __pyx_n_u_show_return_values __pyx_string_tab[356] +#define __pyx_n_u_skip_on_exceptions_thrown_in_sam __pyx_string_tab[357] +#define __pyx_n_u_st_mtime __pyx_string_tab[358] +#define __pyx_n_u_st_size __pyx_string_tab[359] +#define __pyx_n_u_startswith __pyx_string_tab[360] +#define __pyx_n_u_stat __pyx_string_tab[361] +#define __pyx_n_u_state __pyx_string_tab[362] +#define __pyx_n_u_stop __pyx_string_tab[363] +#define __pyx_n_u_stop_on_unhandled_exception __pyx_string_tab[364] +#define __pyx_n_u_stopped __pyx_string_tab[365] +#define __pyx_n_u_suspend __pyx_string_tab[366] +#define __pyx_n_u_suspend_other_threads __pyx_string_tab[367] +#define __pyx_n_u_suspend_policy __pyx_string_tab[368] +#define __pyx_n_u_suspended_at_unhandled __pyx_string_tab[369] +#define __pyx_n_u_sys __pyx_string_tab[370] +#define __pyx_n_u_t __pyx_string_tab[371] +#define __pyx_n_u_tb_frame __pyx_string_tab[372] +#define __pyx_n_u_tb_lineno __pyx_string_tab[373] +#define __pyx_n_u_tb_next __pyx_string_tab[374] +#define __pyx_n_u_thread __pyx_string_tab[375] +#define __pyx_n_u_thread_trace_func __pyx_string_tab[376] +#define __pyx_n_u_thread_tracer __pyx_string_tab[377] +#define __pyx_n_u_threading __pyx_string_tab[378] +#define __pyx_n_u_threading_active __pyx_string_tab[379] +#define __pyx_n_u_threading_current_thread __pyx_string_tab[380] +#define __pyx_n_u_threading_get_ident __pyx_string_tab[381] +#define __pyx_n_u_top_level_thread_tracer __pyx_string_tab[382] +#define __pyx_n_u_top_level_thread_tracer_no_back __pyx_string_tab[383] +#define __pyx_n_u_top_level_thread_tracer_unhandle __pyx_string_tab[384] +#define __pyx_n_u_trace __pyx_string_tab[385] +#define __pyx_n_u_trace_dispatch __pyx_string_tab[386] +#define __pyx_n_u_trace_dispatch_and_unhandled_exc __pyx_string_tab[387] +#define __pyx_n_u_trace_exception __pyx_string_tab[388] +#define __pyx_n_u_trace_obj __pyx_string_tab[389] +#define __pyx_n_u_trace_unhandled_exceptions __pyx_string_tab[390] +#define __pyx_n_u_try_exc_info __pyx_string_tab[391] +#define __pyx_n_u_try_except_info __pyx_string_tab[392] +#define __pyx_n_u_try_except_infos __pyx_string_tab[393] +#define __pyx_n_u_update __pyx_string_tab[394] +#define __pyx_n_u_update_stepping_info __pyx_string_tab[395] +#define __pyx_n_u_use_setstate __pyx_string_tab[396] +#define __pyx_n_u_valid_try_except_infos __pyx_string_tab[397] +#define __pyx_n_u_value __pyx_string_tab[398] +#define __pyx_n_u_values __pyx_string_tab[399] +#define __pyx_n_u_version __pyx_string_tab[400] +#define __pyx_n_u_was_just_raised __pyx_string_tab[401] +#define __pyx_n_u_weak_thread __pyx_string_tab[402] +#define __pyx_n_u_weakref __pyx_string_tab[403] +#define __pyx_n_u_writer __pyx_string_tab[404] +#define __pyx_kp_b_PyObject_PyObject_int___pyx_skip __pyx_string_tab[405] +#define __pyx_kp_b_iso88591_1_7q __pyx_string_tab[406] +#define __pyx_kp_b_iso88591_50WWXX___A_xvS_A_q__AQ_AWG1 __pyx_string_tab[407] +#define __pyx_kp_b_iso88591_q_a __pyx_string_tab[408] +#define __pyx_kp_b_iso88591_6 __pyx_string_tab[409] +#define __pyx_kp_b_iso88591_QfA __pyx_string_tab[410] +#define __pyx_kp_b_iso88591_4AV1 __pyx_string_tab[411] +#define __pyx_kp_b_iso88591_6avQ __pyx_string_tab[412] +#define __pyx_kp_b_iso88591_QfA_2 __pyx_string_tab[413] +#define __pyx_kp_b_iso88591_I_PQ __pyx_string_tab[414] +#define __pyx_kp_b_iso88591_q_0_kQR_9HAQ_7_1L_a_1 __pyx_string_tab[415] +#define __pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1 __pyx_string_tab[416] +#define __pyx_kp_b_iso88591_q_0_kQR_1_7_1_2DNRS_1 __pyx_string_tab[417] +#define __pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1 __pyx_string_tab[418] +#define __pyx_kp_b_iso88591_q_0_kQR_81A_7_VVdde_1 __pyx_string_tab[419] +#define __pyx_kp_b_iso88591_q_0_kQR_2_1_7_A_Bddrrs_1 __pyx_string_tab[420] +#define __pyx_kp_b_iso88591_q_0_kQR_haq_7_MQN_K_K_L_1 __pyx_string_tab[421] +#define __pyx_kp_b_iso88591_uJc_q_Cq_E_ccd_4q_1_Q_1_7q_t1_q __pyx_string_tab[422] +#define __pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t7_q_T_G1_T_A __pyx_string_tab[423] +#define __pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t7_q_LDPQQXXccjjk __pyx_string_tab[424] +#define __pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_q_0_AWKwa_0_AWK __pyx_string_tab[425] +#define __pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_WA_q_7t1G_gUV_7 __pyx_string_tab[426] +#define __pyx_kp_b_iso88591_XT_D_q_l_vWE_Q_q_t7_c_Zwa_q_awk __pyx_string_tab[427] +#define __pyx_kp_b_iso88591_XT_9_MTQddhhww_q_l_vWE_Q_q_t7_c __pyx_string_tab[428] +#define __pyx_kp_b_iso88591_8_NdR__cc_A_A_A_A_S_S_W_W_g_g_k __pyx_string_tab[429] +#define __pyx_kp_b_iso88591_3a_s_7q_gT_1A_WA_EQ_1 __pyx_string_tab[430] +#define __pyx_kp_b_iso88591_aq_4_A_4q __pyx_string_tab[431] +#define __pyx_kp_b_iso88591_1_xq __pyx_string_tab[432] +#define __pyx_kp_b_iso88591_a_Cq_A_9IS_T_Cq_9G1_IQ_5_1_7q_S __pyx_string_tab[433] +#define __pyx_kp_b_iso88591_Q_gQ_D_aq_D_aq_2Rq_2S_4q_A_D_aq __pyx_string_tab[434] +#define __pyx_kp_b_iso88591_A_F_2_81 __pyx_string_tab[435] +#define __pyx_kp_b_iso88591_A_F_2_Rxq __pyx_string_tab[436] +#define __pyx_kp_b_iso88591_A_l_1 __pyx_string_tab[437] +#define __pyx_kp_b_iso88591_A_q __pyx_string_tab[438] +#define __pyx_kp_b_iso88591_A_t1 __pyx_string_tab[439] +#define __pyx_kp_b_iso88591_A_4q_1_1D_at4vQd_QRRVVW_q __pyx_string_tab[440] +#define __pyx_kp_b_iso88591_A_Qd_Q_QfG7 __pyx_string_tab[441] +#define __pyx_kp_b_iso88591_A_6_L_D_q_3_F_2Q_t7_4_a_Q_5QgS_Q __pyx_string_tab[442] +#define __pyx_kp_b_iso88591_A_t1_q_QgWA_6_A_T_q_E_3it4_gQ_s __pyx_string_tab[443] +#define __pyx_kp_b_iso88591_A_4q_1_4_Cq_1_7_Q_1_4_aq_1_6_A_Y __pyx_string_tab[444] +#define __pyx_kp_b_iso88591_A_4_Cz_T1A_Q_1_4_C_T_Q_1_q __pyx_string_tab[445] +#define __pyx_kp_b_iso88591_A_Qa __pyx_string_tab[446] +#define __pyx_kp_b_iso88591_A_6_A_C1D_atSWW_bbiimmssttxx_B_B __pyx_string_tab[447] +#define __pyx_kp_b_iso88591_A_d_6_A_U_a_1_q __pyx_string_tab[448] +#define __pyx_kp_b_iso88591_AP_5V8CVVhhllm_q_5_Q_q_uA_xvS_A __pyx_string_tab[449] +#define __pyx_kp_b_iso88591_a_4q __pyx_string_tab[450] +#define __pyx_kp_b_iso88591_ttu_1_t_1_7_6_T_1_5_q_U_9_PUUV __pyx_string_tab[451] #define __pyx_int_0 __pyx_number_tab[0] #define __pyx_int_neg_1 __pyx_number_tab[1] #define __pyx_int_1 __pyx_number_tab[2] @@ -3637,16 +4198,21 @@ static CYTHON_SMALL_CODE int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame); Py_CLEAR(clear_module_state->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer); Py_CLEAR(clear_module_state->__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_get.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_items.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_pop.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_values.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type__update.method); for (int i=0; i<2; ++i) { Py_CLEAR(clear_module_state->__pyx_slice[i]); } - for (int i=0; i<5; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); } + for (int i=0; i<8; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); } for (int i=0; i<48; ++i) { Py_CLEAR(clear_module_state->__pyx_codeobj_tab[i]); } - for (int i=0; i<451; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); } + for (int i=0; i<452; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); } for (int i=0; i<14; ++i) { Py_CLEAR(clear_module_state->__pyx_number_tab[i]); } /* #### Code section: module_state_clear_contents ### */ /* CommonTypesMetaclass.module_state_clear */ Py_CLEAR(clear_module_state->__pyx_CommonTypesMetaclassType); -/* CythonFunctionShared.module_state_clear */ +/* CythonFunctionPerModule.module_state_clear */ Py_CLEAR(clear_module_state->__pyx_CyFunctionType); /* #### Code section: module_state_clear_end ### */ @@ -3679,16 +4245,21 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void Py_VISIT(traverse_module_state->__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame); Py_VISIT(traverse_module_state->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer); Py_VISIT(traverse_module_state->__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_get.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_items.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_pop.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_values.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type__update.method); for (int i=0; i<2; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_slice[i]); } - for (int i=0; i<5; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); } + for (int i=0; i<8; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); } for (int i=0; i<48; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_codeobj_tab[i]); } - for (int i=0; i<451; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); } + for (int i=0; i<452; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); } for (int i=0; i<14; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_number_tab[i]); } /* #### Code section: module_state_traverse_contents ### */ /* CommonTypesMetaclass.module_state_traverse */ Py_VISIT(traverse_module_state->__pyx_CommonTypesMetaclassType); -/* CythonFunctionShared.module_state_traverse */ +/* CythonFunctionPerModule.module_state_traverse */ Py_VISIT(traverse_module_state->__pyx_CyFunctionType); /* #### Code section: module_state_traverse_end ### */ @@ -3706,21 +4277,37 @@ return 0; */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 0, 0, __pyx_nargs); return -1; } - const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; + const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return -1; if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__init__", __pyx_kwds); return -1;} __pyx_r = __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo___init__(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_self)); @@ -3763,8 +4350,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->pydev_step_stop); - __Pyx_DECREF(__pyx_v_self->pydev_step_stop); - __pyx_v_self->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->pydev_step_stop, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":86 * # method the strategy is changed to a step in). @@ -3812,8 +4398,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->pydev_call_from_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_from_jinja2); - __pyx_v_self->pydev_call_from_jinja2 = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_from_jinja2, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":92 * self.pydev_django_resolve_frame = False @@ -3825,8 +4410,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->pydev_call_inside_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_inside_jinja2); - __pyx_v_self->pydev_call_inside_jinja2 = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_inside_jinja2, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":93 * self.pydev_call_from_jinja2 = None @@ -3847,8 +4431,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->conditional_breakpoint_exception); - __Pyx_DECREF(__pyx_v_self->conditional_breakpoint_exception); - __pyx_v_self->conditional_breakpoint_exception = ((PyObject*)Py_None); + __Pyx_DECREF_SET(__pyx_v_self->conditional_breakpoint_exception, ((PyObject*)Py_None)); /* "_pydevd_bundle/pydevd_cython.pyx":95 * self.is_tracing = 0 @@ -3860,8 +4443,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_); __Pyx_GOTREF(__pyx_v_self->pydev_message); - __Pyx_DECREF(__pyx_v_self->pydev_message); - __pyx_v_self->pydev_message = __pyx_mstate_global->__pyx_kp_u_; + __Pyx_DECREF_SET(__pyx_v_self->pydev_message, __pyx_mstate_global->__pyx_kp_u_); /* "_pydevd_bundle/pydevd_cython.pyx":96 * self.conditional_breakpoint_exception = None @@ -3895,8 +4477,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_invalid); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_invalid); __Pyx_GOTREF(__pyx_v_self->pydev_func_name); - __Pyx_DECREF(__pyx_v_self->pydev_func_name); - __pyx_v_self->pydev_func_name = __pyx_mstate_global->__pyx_kp_u_invalid; + __Pyx_DECREF_SET(__pyx_v_self->pydev_func_name, __pyx_mstate_global->__pyx_kp_u_invalid); /* "_pydevd_bundle/pydevd_cython.pyx":99 * self.pydev_next_line = -1 @@ -3917,8 +4498,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_trace); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_trace); __Pyx_GOTREF(__pyx_v_self->trace_suspend_type); - __Pyx_DECREF(__pyx_v_self->trace_suspend_type); - __pyx_v_self->trace_suspend_type = __pyx_mstate_global->__pyx_n_u_trace; + __Pyx_DECREF_SET(__pyx_v_self->trace_suspend_type, __pyx_mstate_global->__pyx_n_u_trace); /* "_pydevd_bundle/pydevd_cython.pyx":101 * self.suspended_at_unhandled = False @@ -3931,8 +4511,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __pyx_v_self->top_level_thread_tracer_no_back_frames = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_no_back_frames, __pyx_t_1); __pyx_t_1 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":102 @@ -3945,8 +4524,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __pyx_v_self->top_level_thread_tracer_unhandled = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_unhandled, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":103 * self.top_level_thread_tracer_no_back_frames = [] @@ -3958,8 +4536,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->thread_tracer); - __Pyx_DECREF(__pyx_v_self->thread_tracer); - __pyx_v_self->thread_tracer = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->thread_tracer, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":104 * self.top_level_thread_tracer_unhandled = None @@ -3971,8 +4548,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->step_in_initial_location); - __Pyx_DECREF(__pyx_v_self->step_in_initial_location); - __pyx_v_self->step_in_initial_location = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->step_in_initial_location, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":105 * self.thread_tracer = None @@ -4002,8 +4578,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(__pyx_mstate_global->__pyx_empty_tuple); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_empty_tuple); __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_into_variants); - __Pyx_DECREF(__pyx_v_self->pydev_smart_step_into_variants); - __pyx_v_self->pydev_smart_step_into_variants = __pyx_mstate_global->__pyx_empty_tuple; + __Pyx_DECREF_SET(__pyx_v_self->pydev_smart_step_into_variants, __pyx_mstate_global->__pyx_empty_tuple); /* "_pydevd_bundle/pydevd_cython.pyx":108 * self.pydev_smart_child_offset = -1 @@ -4016,8 +4591,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __Pyx_DECREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __pyx_v_self->target_id_to_smart_step_into_variant = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v_self->target_id_to_smart_step_into_variant, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":120 @@ -4039,8 +4613,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->weak_thread); - __Pyx_DECREF(__pyx_v_self->weak_thread); - __pyx_v_self->weak_thread = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->weak_thread, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":126 * # at this time (otherwise it may be suspended but still didn't reach a point. @@ -4067,6 +4640,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4080,7 +4654,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4120,7 +4694,6 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_get_related_thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 130, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread)) { - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = __pyx_t_1; @@ -4144,7 +4717,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 130, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; @@ -4178,8 +4758,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * if self.weak_thread is None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":135 @@ -4201,6 +4787,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_6 = (__pyx_v_self->weak_thread == Py_None); if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":139 * * if self.weak_thread is None: @@ -4208,8 +4795,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * thread = self.weak_thread() */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":138 @@ -4264,6 +4857,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_6 = (__pyx_v_thread == Py_None); if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":143 * thread = self.weak_thread() * if thread is None: @@ -4271,9 +4865,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * if not is_thread_alive(thread): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":142 @@ -4318,8 +4918,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_7 = (!__pyx_t_6); + + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":146 * * if not is_thread_alive(thread): @@ -4327,8 +4930,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * if thread._ident is None: # Can this happen? */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":145 @@ -4353,6 +4962,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":149 * * if thread._ident is None: # Can this happen? @@ -4395,8 +5005,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * if threading._active.get(thread._ident) is not thread: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":148 @@ -4438,6 +5054,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":153 * * if threading._active.get(thread._ident) is not thread: @@ -4445,8 +5062,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * return thread */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":152 @@ -4465,9 +5088,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * # fmt: off */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_thread); - __pyx_r = __pyx_v_thread; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_thread); + __pyx_r = __pyx_v_thread; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":130 @@ -4495,7 +5124,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4503,20 +5132,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread = {"_get_related_thread", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_3_get_related_thread(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_get_related_thread (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -4543,10 +5172,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_related_thread", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__get_related_thread(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 130, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -4570,7 +5205,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_5_is_stepping(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4634,7 +5269,9 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ } __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 159, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_r = __pyx_t_6; + { + __pyx_r = __pyx_t_6; + } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; } @@ -4662,21 +5299,26 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_STATE_RUN); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 164, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 164, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_int_object(__pyx_t_1, __pyx_t_2, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 164, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 164, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_7) { + } else { + __pyx_t_6 = __pyx_t_7; + goto __pyx_L4_bool_binop_done; } __pyx_t_7 = (__pyx_v_self->pydev_step_cmd != -1L); + + __pyx_t_6 = __pyx_t_7; + __pyx_L4_bool_binop_done:; if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":166 * if self.pydev_state == STATE_RUN and self.pydev_step_cmd != -1: * # This means actually stepping in a step operation. @@ -4684,7 +5326,10 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ * * if self.pydev_state == STATE_SUSPEND and self.is_in_wait_loop: */ - __pyx_r = 1; + { + + __pyx_r = 1; + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":164 @@ -4703,24 +5348,27 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ * # This means stepping because it was suspended but still didn't * # reach a suspension point. */ - __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 168, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_STATE_SUSPEND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 168, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_4, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 168, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_STATE_SUSPEND); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_int_object(__pyx_t_2, __pyx_t_1, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 168, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 168, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_7) { + } else { + __pyx_t_6 = __pyx_t_7; + goto __pyx_L7_bool_binop_done; } + __pyx_t_6 = __pyx_v_self->is_in_wait_loop; __pyx_L7_bool_binop_done:; if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":171 * # This means stepping because it was suspended but still didn't * # reach a suspension point. @@ -4728,7 +5376,10 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ * * return False */ - __pyx_r = 1; + { + + __pyx_r = 1; + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":168 @@ -4747,7 +5398,10 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ * * # fmt: off */ - __pyx_r = 0; + { + + __pyx_r = 0; + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":159 @@ -4767,13 +5421,14 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__ __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo._is_stepping", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_5_is_stepping(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4781,20 +5436,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_5_is_stepping = {"_is_stepping", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_5_is_stepping, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_5_is_stepping(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_is_stepping (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -4822,11 +5477,18 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_is_stepping", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__is_stepping(__pyx_v_self, 1); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 159, __pyx_L1_error) __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 159, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; @@ -4850,7 +5512,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4892,7 +5554,6 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_get_topmost_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 177, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame)) { - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = __pyx_t_1; @@ -4916,7 +5577,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 177, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; @@ -5000,6 +5668,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_6 = (__pyx_v_topmost_frame == Py_None); if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":193 * # Note: this is expected for dummy threads (so, getting the topmost frame should be * # treated as optional). @@ -5091,9 +5760,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread * * # fmt: off */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_topmost_frame); - __pyx_r = __pyx_v_topmost_frame; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_topmost_frame); + __pyx_r = __pyx_v_topmost_frame; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":177 @@ -5124,7 +5799,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -5133,14 +5808,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_6get_topmost_frame, "\n Gets the topmost frame for the given thread. Note that it may be None\n and callers should remove the reference to the frame as soon as possible\n to avoid disturbing user code.\n "); static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame = {"get_topmost_frame", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_6get_topmost_frame}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_7get_topmost_frame(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_thread = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -5151,7 +5826,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_topmost_frame (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -5162,7 +5837,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_thread,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 177, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 177, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: @@ -5216,10 +5891,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_topmost_frame", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_get_topmost_frame(__pyx_v_self, __pyx_v_thread, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 177, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -5243,7 +5924,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -5280,7 +5961,6 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_update_stepping_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info)) { - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = __pyx_t_1; @@ -5304,7 +5984,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; @@ -5359,7 +6046,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThread /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -5367,20 +6054,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info = {"update_stepping_info", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_9update_stepping_info(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("update_stepping_info (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -5407,10 +6094,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("update_stepping_info", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_update_stepping_info(__pyx_v_self, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 206, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -5456,7 +6149,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5[8]; - PyObject *__pyx_t_6 = NULL; + Py_ssize_t __pyx_t_6; + int __pyx_t_7; + PyObject *__pyx_t_8 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -5469,7 +6164,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyUnicode_From_int(__pyx_v_self->pydev_state, 0, ' ', 'd'); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 214, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_self->pydev_step_stop), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 214, __pyx_L1_error) @@ -5486,15 +6180,33 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea __pyx_t_5[5] = __pyx_t_3; __pyx_t_5[6] = __pyx_mstate_global->__pyx_kp_u_Kill; __pyx_t_5[7] = __pyx_t_4; - __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_5, 8, 6 * 4 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_2) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_3) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2)); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 214, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); + __pyx_t_6 = 24; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + for (Py_ssize_t i=1; i <= 7; i += 2) { + Py_ssize_t l = __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5[i]); + __pyx_t_6 += l; + } + #endif + __pyx_t_7 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_7 |= __Pyx_PyUnicode_KIND_04(__pyx_t_5[3]); + #endif + __pyx_t_8 = __Pyx_PyUnicode_Join(__pyx_t_5, 8, __pyx_t_6, __pyx_t_7); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 214, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; - __pyx_t_6 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":213 @@ -5511,7 +6223,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); - __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_8); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -5546,20 +6258,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 2, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_state.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -5585,20 +6330,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_11pydev_state_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 2, __pyx_L1_error) - __pyx_v_self->pydev_state = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 2, __pyx_L4_error) + __pyx_v_self->pydev_state = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_state.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5628,11 +6399,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_step_stop___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_step_stop); - __pyx_r = __pyx_v_self->pydev_step_stop; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_step_stop); + __pyx_r = __pyx_v_self->pydev_step_stop; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -5659,15 +6458,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_step_stop_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->pydev_step_stop); - __Pyx_DECREF(__pyx_v_self->pydev_step_stop); - __pyx_v_self->pydev_step_stop = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->pydev_step_stop); + __Pyx_DECREF_SET(__pyx_v_self->pydev_step_stop, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5690,15 +6506,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_step_stop_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_step_stop); - __Pyx_DECREF(__pyx_v_self->pydev_step_stop); - __pyx_v_self->pydev_step_stop = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_step_stop); + __Pyx_DECREF_SET(__pyx_v_self->pydev_step_stop, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5730,20 +6563,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_original_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_original_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 4, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_original_step_cmd.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -5769,20 +6635,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_23pydev_original_step_cmd_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 4, __pyx_L1_error) - __pyx_v_self->pydev_original_step_cmd = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 4, __pyx_L4_error) + __pyx_v_self->pydev_original_step_cmd = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_original_step_cmd.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5813,20 +6705,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_step_cmd.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -5852,20 +6777,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_14pydev_step_cmd_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 5, __pyx_L1_error) - __pyx_v_self->pydev_step_cmd = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 5, __pyx_L4_error) + __pyx_v_self->pydev_step_cmd = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_step_cmd.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5896,20 +6847,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_notify_kill); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_notify_kill); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_notify_kill.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -5935,20 +6919,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_17pydev_notify_kill_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 6, __pyx_L1_error) - __pyx_v_self->pydev_notify_kill = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 6, __pyx_L4_error) + __pyx_v_self->pydev_notify_kill = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_notify_kill.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -5978,11 +6988,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_21pydev_smart_step_stop___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_smart_step_stop); - __pyx_r = __pyx_v_self->pydev_smart_step_stop; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_smart_step_stop); + __pyx_r = __pyx_v_self->pydev_smart_step_stop; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6009,15 +7047,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_21pydev_smart_step_stop_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_stop); - __Pyx_DECREF(__pyx_v_self->pydev_smart_step_stop); - __pyx_v_self->pydev_smart_step_stop = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_stop); + __Pyx_DECREF_SET(__pyx_v_self->pydev_smart_step_stop, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6040,15 +7095,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_21pydev_smart_step_stop_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_stop); - __Pyx_DECREF(__pyx_v_self->pydev_smart_step_stop); - __pyx_v_self->pydev_smart_step_stop = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_stop); + __Pyx_DECREF_SET(__pyx_v_self->pydev_smart_step_stop, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6080,20 +7152,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_django_resolve_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_django_resolve_frame); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 8, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_django_resolve_frame.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -6119,20 +7224,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_26pydev_django_resolve_frame_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 8, __pyx_L1_error) - __pyx_v_self->pydev_django_resolve_frame = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 8, __pyx_L4_error) + __pyx_v_self->pydev_django_resolve_frame = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_django_resolve_frame.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6162,11 +7293,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_22pydev_call_from_jinja2___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_call_from_jinja2); - __pyx_r = __pyx_v_self->pydev_call_from_jinja2; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_call_from_jinja2); + __pyx_r = __pyx_v_self->pydev_call_from_jinja2; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6193,15 +7352,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_22pydev_call_from_jinja2_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->pydev_call_from_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_from_jinja2); - __pyx_v_self->pydev_call_from_jinja2 = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->pydev_call_from_jinja2); + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_from_jinja2, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6224,15 +7400,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_22pydev_call_from_jinja2_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_call_from_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_from_jinja2); - __pyx_v_self->pydev_call_from_jinja2 = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_call_from_jinja2); + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_from_jinja2, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6263,11 +7456,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24pydev_call_inside_jinja2___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_call_inside_jinja2); - __pyx_r = __pyx_v_self->pydev_call_inside_jinja2; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_call_inside_jinja2); + __pyx_r = __pyx_v_self->pydev_call_inside_jinja2; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6294,15 +7515,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24pydev_call_inside_jinja2_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->pydev_call_inside_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_inside_jinja2); - __pyx_v_self->pydev_call_inside_jinja2 = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->pydev_call_inside_jinja2); + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_inside_jinja2, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6325,15 +7563,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24pydev_call_inside_jinja2_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_call_inside_jinja2); - __Pyx_DECREF(__pyx_v_self->pydev_call_inside_jinja2); - __pyx_v_self->pydev_call_inside_jinja2 = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_call_inside_jinja2); + __Pyx_DECREF_SET(__pyx_v_self->pydev_call_inside_jinja2, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6365,20 +7620,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->is_tracing); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 11, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->is_tracing); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 11, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.is_tracing.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -6404,20 +7692,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_10is_tracing_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 11, __pyx_L1_error) - __pyx_v_self->is_tracing = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 11, __pyx_L4_error) + __pyx_v_self->is_tracing = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.is_tracing.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6447,11 +7761,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_32conditional_breakpoint_exception___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->conditional_breakpoint_exception); - __pyx_r = __pyx_v_self->conditional_breakpoint_exception; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->conditional_breakpoint_exception); + __pyx_r = __pyx_v_self->conditional_breakpoint_exception; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6479,27 +7821,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->conditional_breakpoint_exception); - __Pyx_DECREF(__pyx_v_self->conditional_breakpoint_exception); - __pyx_v_self->conditional_breakpoint_exception = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyTuple_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_2))) __PYX_ERR(1, 12, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->conditional_breakpoint_exception); + __Pyx_DECREF_SET(__pyx_v_self->conditional_breakpoint_exception, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.conditional_breakpoint_exception.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6522,15 +7886,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_32conditional_breakpoint_exception_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->conditional_breakpoint_exception); - __Pyx_DECREF(__pyx_v_self->conditional_breakpoint_exception); - __pyx_v_self->conditional_breakpoint_exception = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->conditional_breakpoint_exception); + __Pyx_DECREF_SET(__pyx_v_self->conditional_breakpoint_exception, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6561,11 +7942,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13pydev_message___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_message); - __pyx_r = __pyx_v_self->pydev_message; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_message); + __pyx_r = __pyx_v_self->pydev_message; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6593,27 +8002,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->pydev_message); - __Pyx_DECREF(__pyx_v_self->pydev_message); - __pyx_v_self->pydev_message = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(1, 13, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->pydev_message); + __Pyx_DECREF_SET(__pyx_v_self->pydev_message, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_message.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6636,15 +8067,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13pydev_message_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_message); - __Pyx_DECREF(__pyx_v_self->pydev_message); - __pyx_v_self->pydev_message = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_message); + __Pyx_DECREF_SET(__pyx_v_self->pydev_message, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6676,20 +8124,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->suspend_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->suspend_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 14, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.suspend_type.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -6715,20 +8196,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_12suspend_type_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 14, __pyx_L1_error) - __pyx_v_self->suspend_type = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 14, __pyx_L4_error) + __pyx_v_self->suspend_type = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.suspend_type.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6759,20 +8266,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_next_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_next_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 15, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_next_line.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -6798,20 +8338,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_next_line_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 15, __pyx_L1_error) - __pyx_v_self->pydev_next_line = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 15, __pyx_L4_error) + __pyx_v_self->pydev_next_line = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_next_line.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6841,11 +8407,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_func_name___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_func_name); - __pyx_r = __pyx_v_self->pydev_func_name; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_func_name); + __pyx_r = __pyx_v_self->pydev_func_name; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -6873,27 +8467,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 16, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->pydev_func_name); - __Pyx_DECREF(__pyx_v_self->pydev_func_name); - __pyx_v_self->pydev_func_name = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(1, 16, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->pydev_func_name); + __Pyx_DECREF_SET(__pyx_v_self->pydev_func_name, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_func_name.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6916,15 +8532,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15pydev_func_name_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_func_name); - __Pyx_DECREF(__pyx_v_self->pydev_func_name); - __pyx_v_self->pydev_func_name = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_func_name); + __Pyx_DECREF_SET(__pyx_v_self->pydev_func_name, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6956,20 +8589,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->suspended_at_unhandled); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 17, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->suspended_at_unhandled); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 17, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.suspended_at_unhandled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -6995,20 +8661,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_22suspended_at_unhandled_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 17, __pyx_L1_error) - __pyx_v_self->suspended_at_unhandled = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 17, __pyx_L4_error) + __pyx_v_self->suspended_at_unhandled = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.suspended_at_unhandled.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7038,11 +8730,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_18trace_suspend_type___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->trace_suspend_type); - __pyx_r = __pyx_v_self->trace_suspend_type; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->trace_suspend_type); + __pyx_r = __pyx_v_self->trace_suspend_type; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7070,27 +8790,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 18, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->trace_suspend_type); - __Pyx_DECREF(__pyx_v_self->trace_suspend_type); - __pyx_v_self->trace_suspend_type = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(1, 18, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->trace_suspend_type); + __Pyx_DECREF_SET(__pyx_v_self->trace_suspend_type, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.trace_suspend_type.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7113,15 +8855,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_18trace_suspend_type_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->trace_suspend_type); - __Pyx_DECREF(__pyx_v_self->trace_suspend_type); - __pyx_v_self->trace_suspend_type = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->trace_suspend_type); + __Pyx_DECREF_SET(__pyx_v_self->trace_suspend_type, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7152,11 +8911,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_38top_level_thread_tracer_no_back_frames___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __pyx_r = __pyx_v_self->top_level_thread_tracer_no_back_frames; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); + __pyx_r = __pyx_v_self->top_level_thread_tracer_no_back_frames; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7183,15 +8970,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_38top_level_thread_tracer_no_back_frames_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __pyx_v_self->top_level_thread_tracer_no_back_frames = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_no_back_frames, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7214,15 +9018,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_38top_level_thread_tracer_no_back_frames_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __pyx_v_self->top_level_thread_tracer_no_back_frames = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_no_back_frames, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7253,11 +9074,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_33top_level_thread_tracer_unhandled___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __pyx_r = __pyx_v_self->top_level_thread_tracer_unhandled; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_unhandled); + __pyx_r = __pyx_v_self->top_level_thread_tracer_unhandled; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7284,15 +9133,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_33top_level_thread_tracer_unhandled_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __pyx_v_self->top_level_thread_tracer_unhandled = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_unhandled); + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_unhandled, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7315,15 +9181,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_33top_level_thread_tracer_unhandled_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __Pyx_DECREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __pyx_v_self->top_level_thread_tracer_unhandled = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->top_level_thread_tracer_unhandled); + __Pyx_DECREF_SET(__pyx_v_self->top_level_thread_tracer_unhandled, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7354,11 +9237,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13thread_tracer___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->thread_tracer); - __pyx_r = __pyx_v_self->thread_tracer; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->thread_tracer); + __pyx_r = __pyx_v_self->thread_tracer; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7385,15 +9296,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13thread_tracer_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->thread_tracer); - __Pyx_DECREF(__pyx_v_self->thread_tracer); - __pyx_v_self->thread_tracer = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->thread_tracer); + __Pyx_DECREF_SET(__pyx_v_self->thread_tracer, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7416,15 +9344,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13thread_tracer_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->thread_tracer); - __Pyx_DECREF(__pyx_v_self->thread_tracer); - __pyx_v_self->thread_tracer = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->thread_tracer); + __Pyx_DECREF_SET(__pyx_v_self->thread_tracer, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7455,11 +9400,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24step_in_initial_location___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->step_in_initial_location); - __pyx_r = __pyx_v_self->step_in_initial_location; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->step_in_initial_location); + __pyx_r = __pyx_v_self->step_in_initial_location; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7486,15 +9459,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24step_in_initial_location_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->step_in_initial_location); - __Pyx_DECREF(__pyx_v_self->step_in_initial_location); - __pyx_v_self->step_in_initial_location = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->step_in_initial_location); + __Pyx_DECREF_SET(__pyx_v_self->step_in_initial_location, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7517,15 +9507,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24step_in_initial_location_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->step_in_initial_location); - __Pyx_DECREF(__pyx_v_self->step_in_initial_location); - __pyx_v_self->step_in_initial_location = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->step_in_initial_location); + __Pyx_DECREF_SET(__pyx_v_self->step_in_initial_location, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7557,20 +9564,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_parent_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 23, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_parent_offset); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 23, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_smart_parent_offset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -7596,20 +9636,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_25pydev_smart_parent_offset_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 23, __pyx_L1_error) - __pyx_v_self->pydev_smart_parent_offset = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 23, __pyx_L4_error) + __pyx_v_self->pydev_smart_parent_offset = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_smart_parent_offset.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7640,20 +9706,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_child_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 24, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_child_offset); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 24, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_smart_child_offset.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -7679,20 +9778,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_24pydev_smart_child_offset_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 24, __pyx_L1_error) - __pyx_v_self->pydev_smart_child_offset = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 24, __pyx_L4_error) + __pyx_v_self->pydev_smart_child_offset = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_smart_child_offset.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7722,11 +9847,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_30pydev_smart_step_into_variants___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->pydev_smart_step_into_variants); - __pyx_r = __pyx_v_self->pydev_smart_step_into_variants; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->pydev_smart_step_into_variants); + __pyx_r = __pyx_v_self->pydev_smart_step_into_variants; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7754,27 +9907,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 25, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_into_variants); - __Pyx_DECREF(__pyx_v_self->pydev_smart_step_into_variants); - __pyx_v_self->pydev_smart_step_into_variants = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyTuple_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_2))) __PYX_ERR(1, 25, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_into_variants); + __Pyx_DECREF_SET(__pyx_v_self->pydev_smart_step_into_variants, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_smart_step_into_variants.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7797,15 +9972,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_30pydev_smart_step_into_variants_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_into_variants); - __Pyx_DECREF(__pyx_v_self->pydev_smart_step_into_variants); - __pyx_v_self->pydev_smart_step_into_variants = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->pydev_smart_step_into_variants); + __Pyx_DECREF_SET(__pyx_v_self->pydev_smart_step_into_variants, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7836,11 +10028,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_36target_id_to_smart_step_into_variant___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __pyx_r = __pyx_v_self->target_id_to_smart_step_into_variant; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->target_id_to_smart_step_into_variant); + __pyx_r = __pyx_v_self->target_id_to_smart_step_into_variant; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -7868,27 +10088,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(1, 26, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __Pyx_DECREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __pyx_v_self->target_id_to_smart_step_into_variant = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyDict_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_2))) __PYX_ERR(1, 26, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->target_id_to_smart_step_into_variant); + __Pyx_DECREF_SET(__pyx_v_self->target_id_to_smart_step_into_variant, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.target_id_to_smart_step_into_variant.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7911,15 +10153,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_36target_id_to_smart_step_into_variant_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __Pyx_DECREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __pyx_v_self->target_id_to_smart_step_into_variant = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->target_id_to_smart_step_into_variant); + __Pyx_DECREF_SET(__pyx_v_self->target_id_to_smart_step_into_variant, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7951,20 +10210,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_use_scoped_step_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 27, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_use_scoped_step_frame); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 27, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_use_scoped_step_frame.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -7990,20 +10282,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_27pydev_use_scoped_step_frame_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 27, __pyx_L1_error) - __pyx_v_self->pydev_use_scoped_step_frame = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 27, __pyx_L4_error) + __pyx_v_self->pydev_use_scoped_step_frame = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.pydev_use_scoped_step_frame.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8033,11 +10351,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_11weak_thread___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->weak_thread); - __pyx_r = __pyx_v_self->weak_thread; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->weak_thread); + __pyx_r = __pyx_v_self->weak_thread; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -8064,15 +10410,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_11weak_thread_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->weak_thread); - __Pyx_DECREF(__pyx_v_self->weak_thread); - __pyx_v_self->weak_thread = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->weak_thread); + __Pyx_DECREF_SET(__pyx_v_self->weak_thread, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8095,15 +10458,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_11weak_thread_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->weak_thread); - __Pyx_DECREF(__pyx_v_self->weak_thread); - __pyx_v_self->weak_thread = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->weak_thread); + __Pyx_DECREF_SET(__pyx_v_self->weak_thread, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8135,20 +10515,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->is_in_wait_loop); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 29, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->is_in_wait_loop); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 29, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.is_in_wait_loop.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -8174,20 +10587,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15is_in_wait_loop_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 29, __pyx_L1_error) - __pyx_v_self->is_in_wait_loop = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 29, __pyx_L4_error) + __pyx_v_self->is_in_wait_loop = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.is_in_wait_loop.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -8199,7 +10638,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -8207,20 +10646,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_13__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -8259,8 +10698,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea PyObject *__pyx_t_12 = NULL; PyObject *__pyx_t_13 = NULL; PyObject *__pyx_t_14 = NULL; - int __pyx_t_15; + PyObject *__pyx_t_15 = NULL; int __pyx_t_16; + int __pyx_t_17; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -8269,174 +10709,216 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->is_in_wait_loop); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->is_tracing); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_django_resolve_frame); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_next_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_notify_kill); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_original_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_child_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_parent_offset); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_step_cmd); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_use_scoped_step_frame); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_self->suspend_type); if (unlikely(!__pyx_t_12)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_t_13 = __Pyx_PyBool_FromLong(__pyx_v_self->suspended_at_unhandled); if (unlikely(!__pyx_t_13)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_14 = PyTuple_New(28); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_14); - __Pyx_INCREF(__pyx_v_self->conditional_breakpoint_exception); - __Pyx_GIVEREF(__pyx_v_self->conditional_breakpoint_exception); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_v_self->conditional_breakpoint_exception) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 2, __pyx_t_2) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_call_from_jinja2); - __Pyx_GIVEREF(__pyx_v_self->pydev_call_from_jinja2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 3, __pyx_v_self->pydev_call_from_jinja2) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_call_inside_jinja2); - __Pyx_GIVEREF(__pyx_v_self->pydev_call_inside_jinja2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 4, __pyx_v_self->pydev_call_inside_jinja2) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 5, __pyx_t_3) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_func_name); - __Pyx_GIVEREF(__pyx_v_self->pydev_func_name); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 6, __pyx_v_self->pydev_func_name) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_message); - __Pyx_GIVEREF(__pyx_v_self->pydev_message); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 7, __pyx_v_self->pydev_message) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 8, __pyx_t_4) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 9, __pyx_t_5) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 10, __pyx_t_6) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_7); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 11, __pyx_t_7) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_8); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 12, __pyx_t_8) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_smart_step_into_variants); - __Pyx_GIVEREF(__pyx_v_self->pydev_smart_step_into_variants); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 13, __pyx_v_self->pydev_smart_step_into_variants) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_smart_step_stop); - __Pyx_GIVEREF(__pyx_v_self->pydev_smart_step_stop); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 14, __pyx_v_self->pydev_smart_step_stop) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_9); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 15, __pyx_t_9) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_10); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 16, __pyx_t_10) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->pydev_step_stop); - __Pyx_GIVEREF(__pyx_v_self->pydev_step_stop); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 17, __pyx_v_self->pydev_step_stop) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_11); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 18, __pyx_t_11) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->step_in_initial_location); - __Pyx_GIVEREF(__pyx_v_self->step_in_initial_location); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 19, __pyx_v_self->step_in_initial_location) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_12); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 20, __pyx_t_12) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_13); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 21, __pyx_t_13) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->target_id_to_smart_step_into_variant); - __Pyx_GIVEREF(__pyx_v_self->target_id_to_smart_step_into_variant); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 22, __pyx_v_self->target_id_to_smart_step_into_variant) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->thread_tracer); - __Pyx_GIVEREF(__pyx_v_self->thread_tracer); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 23, __pyx_v_self->thread_tracer) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - __Pyx_GIVEREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 24, __pyx_v_self->top_level_thread_tracer_no_back_frames) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_unhandled); - __Pyx_GIVEREF(__pyx_v_self->top_level_thread_tracer_unhandled); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 25, __pyx_v_self->top_level_thread_tracer_unhandled) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->trace_suspend_type); - __Pyx_GIVEREF(__pyx_v_self->trace_suspend_type); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 26, __pyx_v_self->trace_suspend_type) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->weak_thread); - __Pyx_GIVEREF(__pyx_v_self->weak_thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 27, __pyx_v_self->weak_thread) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_t_2 = 0; - __pyx_t_3 = 0; - __pyx_t_4 = 0; - __pyx_t_5 = 0; - __pyx_t_6 = 0; - __pyx_t_7 = 0; - __pyx_t_8 = 0; - __pyx_t_9 = 0; - __pyx_t_10 = 0; - __pyx_t_11 = 0; - __pyx_t_12 = 0; - __pyx_t_13 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_14); - __pyx_t_14 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->is_in_wait_loop); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyLong_From_int(__pyx_v_self->is_tracing); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_django_resolve_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_next_line); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_notify_kill); if (unlikely(!__pyx_t_6)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_child_offset); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_9 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_smart_parent_offset); if (unlikely(!__pyx_t_9)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_state); if (unlikely(!__pyx_t_10)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_11 = __Pyx_PyLong_From_int(__pyx_v_self->pydev_step_cmd); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = __Pyx_PyBool_FromLong(__pyx_v_self->pydev_use_scoped_step_frame); if (unlikely(!__pyx_t_12)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_12); + __pyx_t_13 = __Pyx_PyLong_From_int(__pyx_v_self->suspend_type); if (unlikely(!__pyx_t_13)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_13); + __pyx_t_14 = __Pyx_PyBool_FromLong(__pyx_v_self->suspended_at_unhandled); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_15 = PyTuple_New(28); if (unlikely(!__pyx_t_15)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_INCREF(__pyx_v_self->conditional_breakpoint_exception); + __Pyx_GIVEREF(__pyx_v_self->conditional_breakpoint_exception); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 0, __pyx_v_self->conditional_breakpoint_exception) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 1, __pyx_t_2) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 2, __pyx_t_3) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_call_from_jinja2); + __Pyx_GIVEREF(__pyx_v_self->pydev_call_from_jinja2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 3, __pyx_v_self->pydev_call_from_jinja2) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_call_inside_jinja2); + __Pyx_GIVEREF(__pyx_v_self->pydev_call_inside_jinja2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 4, __pyx_v_self->pydev_call_inside_jinja2) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 5, __pyx_t_4) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_func_name); + __Pyx_GIVEREF(__pyx_v_self->pydev_func_name); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 6, __pyx_v_self->pydev_func_name) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_message); + __Pyx_GIVEREF(__pyx_v_self->pydev_message); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 7, __pyx_v_self->pydev_message) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 8, __pyx_t_5) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_6); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 9, __pyx_t_6) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_7); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 10, __pyx_t_7) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_8); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 11, __pyx_t_8) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_9); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 12, __pyx_t_9) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_smart_step_into_variants); + __Pyx_GIVEREF(__pyx_v_self->pydev_smart_step_into_variants); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 13, __pyx_v_self->pydev_smart_step_into_variants) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_smart_step_stop); + __Pyx_GIVEREF(__pyx_v_self->pydev_smart_step_stop); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 14, __pyx_v_self->pydev_smart_step_stop) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_10); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 15, __pyx_t_10) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_11); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 16, __pyx_t_11) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->pydev_step_stop); + __Pyx_GIVEREF(__pyx_v_self->pydev_step_stop); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 17, __pyx_v_self->pydev_step_stop) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_12); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 18, __pyx_t_12) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->step_in_initial_location); + __Pyx_GIVEREF(__pyx_v_self->step_in_initial_location); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 19, __pyx_v_self->step_in_initial_location) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_13); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 20, __pyx_t_13) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_14); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 21, __pyx_t_14) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->target_id_to_smart_step_into_variant); + __Pyx_GIVEREF(__pyx_v_self->target_id_to_smart_step_into_variant); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 22, __pyx_v_self->target_id_to_smart_step_into_variant) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->thread_tracer); + __Pyx_GIVEREF(__pyx_v_self->thread_tracer); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 23, __pyx_v_self->thread_tracer) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); + __Pyx_GIVEREF(__pyx_v_self->top_level_thread_tracer_no_back_frames); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 24, __pyx_v_self->top_level_thread_tracer_no_back_frames) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->top_level_thread_tracer_unhandled); + __Pyx_GIVEREF(__pyx_v_self->top_level_thread_tracer_unhandled); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 25, __pyx_v_self->top_level_thread_tracer_unhandled) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->trace_suspend_type); + __Pyx_GIVEREF(__pyx_v_self->trace_suspend_type); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 26, __pyx_v_self->trace_suspend_type) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->weak_thread); + __Pyx_GIVEREF(__pyx_v_self->weak_thread); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 27, __pyx_v_self->weak_thread) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_t_3 = 0; + __pyx_t_4 = 0; + __pyx_t_5 = 0; + __pyx_t_6 = 0; + __pyx_t_7 = 0; + __pyx_t_8 = 0; + __pyx_t_9 = 0; + __pyx_t_10 = 0; + __pyx_t_11 = 0; + __pyx_t_12 = 0; + __pyx_t_13 = 0; + __pyx_t_14 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_15); + __pyx_t_15 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_14 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_14); - __pyx_v__dict = __pyx_t_14; - __pyx_t_14 = 0; + __pyx_t_15 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_15)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_15); + __pyx_v__dict = __pyx_t_15; + __pyx_t_15 = 0; + } - /* "(tree fragment)":7 - * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_16 = (__pyx_v__dict != Py_None); - if (__pyx_t_16) { + __pyx_t_17 = (__pyx_v__dict != Py_None); + if (__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L4_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_15 = __pyx_t_16; - __pyx_L4_bool_binop_done:; - if (__pyx_t_15) { + __pyx_t_17 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_17 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_16 = __pyx_t_17; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_16) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_14 = PyTuple_New(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_14); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_13 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_14); if (unlikely(!__pyx_t_13)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_13)); - __pyx_t_13 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_15 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_15)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_15)); + __pyx_t_15 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -8445,17 +10927,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.conditional_breakpoint_exception, self.is_in_wait_loop, self.is_tracing, self.pydev_call_from_jinja2, self.pydev_call_inside_jinja2, self.pydev_django_resolve_frame, self.pydev_func_name, self.pydev_message, self.pydev_next_line, self.pydev_notify_kill, self.pydev_original_step_cmd, self.pydev_smart_child_offset, self.pydev_smart_parent_offset, self.pydev_smart_step_into_variants, self.pydev_smart_step_stop, self.pydev_state, self.pydev_step_cmd, self.pydev_step_stop, self.pydev_use_scoped_step_frame, self.step_in_initial_location, self.suspend_type, self.suspended_at_unhandled, self.target_id_to_smart_step_into_variant, self.thread_tracer, self.top_level_thread_tracer_no_back_frames, self.top_level_thread_tracer_unhandled, self.trace_suspend_type, self.weak_thread) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.conditional_breakpoint_exception is not None or self.pydev_call_from_jinja2 is not None or self.pydev_call_inside_jinja2 is not None or self.pydev_func_name is not None or self.pydev_message is not None or self.pydev_smart_step_into_variants is not None or self.pydev_smart_step_stop is not None or self.pydev_step_stop is not None or self.step_in_initial_location is not None or self.target_id_to_smart_step_into_variant is not None or self.thread_tracer is not None or self.top_level_thread_tracer_no_back_frames is not None or self.top_level_thread_tracer_unhandled is not None or self.trace_suspend_type is not None or self.weak_thread is not None # <<<<<<<<<<<<<< @@ -8463,98 +10945,142 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, None), state */ /*else*/ { - __pyx_t_16 = (__pyx_v_self->conditional_breakpoint_exception != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->conditional_breakpoint_exception != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_call_from_jinja2 != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_call_from_jinja2 != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_call_inside_jinja2 != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_call_inside_jinja2 != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_func_name != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_func_name != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_message != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_message != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_smart_step_into_variants != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_smart_step_into_variants != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_smart_step_stop != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_smart_step_stop != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->pydev_step_stop != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->pydev_step_stop != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->step_in_initial_location != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->step_in_initial_location != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->target_id_to_smart_step_into_variant != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->target_id_to_smart_step_into_variant != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->thread_tracer != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->thread_tracer != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->top_level_thread_tracer_no_back_frames != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->top_level_thread_tracer_no_back_frames != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->top_level_thread_tracer_unhandled != Py_None); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->top_level_thread_tracer_unhandled != Py_None); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->trace_suspend_type != ((PyObject*)Py_None)); - if (!__pyx_t_16) { + __pyx_t_17 = (__pyx_v_self->trace_suspend_type != ((PyObject*)Py_None)); + if (!__pyx_t_17) { + } else { - __pyx_t_15 = __pyx_t_16; - goto __pyx_L6_bool_binop_done; + + __pyx_t_16 = __pyx_t_17; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_16 = (__pyx_v_self->weak_thread != Py_None); - __pyx_t_15 = __pyx_t_16; - __pyx_L6_bool_binop_done:; - __pyx_v_use_setstate = __pyx_t_15; + __pyx_t_17 = (__pyx_v_self->weak_thread != Py_None); + + __pyx_t_16 = __pyx_t_17; + + __pyx_L9_bool_binop_done:; + __pyx_v_use_setstate = __pyx_t_16; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.conditional_breakpoint_exception is not None or self.pydev_call_from_jinja2 is not None or self.pydev_call_inside_jinja2 is not None or self.pydev_func_name is not None or self.pydev_message is not None or self.pydev_smart_step_into_variants is not None or self.pydev_smart_step_stop is not None or self.pydev_step_stop is not None or self.step_in_initial_location is not None or self.target_id_to_smart_step_into_variant is not None or self.thread_tracer is not None or self.top_level_thread_tracer_no_back_frames is not None or self.top_level_thread_tracer_unhandled is not None or self.trace_suspend_type is not None or self.weak_thread is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -8563,43 +11089,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.conditional_breakpoint_exception is not None or self.pydev_call_from_jinja2 is not None or self.pydev_call_inside_jinja2 is not None or self.pydev_func_name is not None or self.pydev_message is not None or self.pydev_smart_step_into_variants is not None or self.pydev_smart_step_stop is not None or self.pydev_step_stop is not None or self.step_in_initial_location is not None or self.target_id_to_smart_step_into_variant is not None or self.thread_tracer is not None or self.top_level_thread_tracer_no_back_frames is not None or self.top_level_thread_tracer_unhandled is not None or self.trace_suspend_type is not None or self.weak_thread is not None * if use_setstate: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr); if (unlikely(!__pyx_t_13)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_14 = PyTuple_New(3); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_14); + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr); if (unlikely(!__pyx_t_15)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_221489684); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_221489684); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_221489684) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_221489684) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_12 = PyTuple_New(3); if (unlikely(!__pyx_t_12)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __Pyx_GIVEREF(__pyx_t_13); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_13) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_14); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_14) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_14 = PyTuple_New(3); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_GIVEREF(__pyx_t_15); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_15) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_13 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_15 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_14; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_14 = 0; - __pyx_r = __pyx_t_12; - __pyx_t_12 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.conditional_breakpoint_exception is not None or self.pydev_call_from_jinja2 is not None or self.pydev_call_inside_jinja2 is not None or self.pydev_func_name is not None or self.pydev_message is not None or self.pydev_smart_step_into_variants is not None or self.pydev_smart_step_stop is not None or self.pydev_step_stop is not None or self.step_in_initial_location is not None or self.target_id_to_smart_step_into_variant is not None or self.thread_tracer is not None or self.top_level_thread_tracer_no_back_frames is not None or self.top_level_thread_tracer_unhandled is not None or self.trace_suspend_type is not None or self.weak_thread is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -8608,7 +11140,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, None), state * else: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) # <<<<<<<<<<<<<< @@ -8616,30 +11148,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea * __pyx_unpickle_PyDBAdditionalThreadInfo__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr); if (unlikely(!__pyx_t_12)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_t_14 = PyTuple_New(3); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr); if (unlikely(!__pyx_t_14)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_221489684); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_221489684); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_221489684) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_221489684) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_GIVEREF(__pyx_t_12); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_12) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_15 = PyTuple_New(2); if (unlikely(!__pyx_t_15)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); __Pyx_GIVEREF(__pyx_t_14); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_14) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_12 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 0, __pyx_t_14) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_15, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_14 = 0; - __pyx_r = __pyx_t_13; - __pyx_t_13 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_15; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_15 = 0; goto __pyx_L0; } @@ -8665,17 +11203,19 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea __Pyx_XDECREF(__pyx_t_12); __Pyx_XDECREF(__pyx_t_13); __Pyx_XDECREF(__pyx_t_14); + __Pyx_XDECREF(__pyx_t_15); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -8684,7 +11224,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -8692,14 +11232,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -8710,7 +11250,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -8721,32 +11261,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -8777,24 +11317,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_PyDBAdditionalThreadInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdditionalThreadInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdditionalThreadInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -8824,7 +11364,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThrea */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_1set_additional_thread_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -8898,6 +11438,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ __pyx_t_5 = (__pyx_v_additional_info == Py_None); if (unlikely(__pyx_t_5)) { + /* "_pydevd_bundle/pydevd_cython.pyx":231 * additional_info = thread.additional_info * if additional_info is None: @@ -9089,6 +11630,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ __pyx_t_5 = (__pyx_v_additional_info == Py_None); if (__pyx_t_5) { + /* "_pydevd_bundle/pydevd_cython.pyx":246 * # get here again, rather get the global ref which was pre-created * # and add a new entry only after we set thread.additional_info. @@ -9098,7 +11640,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ */ __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_next_additional_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 246, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_11 = __Pyx_GetItemInt(__pyx_t_9, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 246, __pyx_L18_error) + __pyx_t_11 = __Pyx_GetItemInt(__pyx_t_9, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 246, __pyx_L18_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF_SET(__pyx_v_additional_info, __pyx_t_11); @@ -9195,6 +11737,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF((PyObject *)__pyx_t_12); __pyx_t_12 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":241 * additional_info = None * @@ -9227,8 +11770,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ __Pyx_XGOTREF(__pyx_t_12); __Pyx_XGOTREF(__pyx_t_11); __Pyx_XGOTREF(__pyx_t_9); - __pyx_t_13 = PyTuple_Pack(3, __pyx_t_12, __pyx_t_11, __pyx_t_9); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 233, __pyx_L20_except_error) - __Pyx_GOTREF(__pyx_t_13); + { + PyObject* __pyx_temp[3] = {__pyx_t_12, __pyx_t_11, __pyx_t_9}; + __pyx_t_13 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 233, __pyx_L20_except_error) + __Pyx_GOTREF(__pyx_t_13); + } __pyx_t_19 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_t_13, NULL); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; @@ -9238,7 +11784,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0; if (__pyx_t_5 < (0)) __PYX_ERR(0, 233, __pyx_L20_except_error) __pyx_t_21 = (!__pyx_t_5); + + if (unlikely(__pyx_t_21)) { + __Pyx_GIVEREF(__pyx_t_12); __Pyx_GIVEREF(__pyx_t_11); __Pyx_XGIVEREF(__pyx_t_9); @@ -9318,10 +11867,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ * * */ - __Pyx_XDECREF(__pyx_r); if (unlikely(!__pyx_v_additional_info)) { __Pyx_RaiseUnboundLocalError("additional_info"); __PYX_ERR(0, 253, __pyx_L1_error) } - __Pyx_INCREF(__pyx_v_additional_info); - __pyx_r = __pyx_v_additional_info; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_additional_info); + __pyx_r = __pyx_v_additional_info; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":223 @@ -9352,7 +11907,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_1set_additional_thread_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -9360,14 +11915,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_1set_additional_thread_info = {"set_additional_thread_info", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_1set_additional_thread_info, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_1set_additional_thread_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_thread = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -9378,7 +11933,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("set_additional_thread_info (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -9389,7 +11944,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_thread,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 223, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 223, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: @@ -9443,10 +11998,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_set_additional_thread const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("set_additional_thread_info", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_thread, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 223, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -9595,6 +12156,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":286 * for info in _all_infos: * if info._get_related_thread() is not None: @@ -9604,6 +12166,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( */ __pyx_t_14 = PySet_Add(__pyx_v_new_all_infos, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 286, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":285 * new_all_infos = set() * for info in _all_infos: @@ -9671,6 +12234,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __pyx_t_13 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->_is_stepping(__pyx_v_info, 0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 291, __pyx_L7_error) if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":292 * for info in _all_infos: * if info._is_stepping(): @@ -9680,6 +12244,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( */ __pyx_t_14 = PySet_Add(__pyx_v_new_stepping, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 292, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":291 * new_stepping = set() * for info in _all_infos: @@ -9725,8 +12290,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_15 = PyTuple_Pack(3, __pyx_t_2, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 281, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_15); + { + PyObject* __pyx_temp[3] = {__pyx_t_2, __pyx_t_4, __pyx_t_3}; + __pyx_t_15 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 281, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_15); + } __pyx_t_16 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_15, NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; @@ -9736,7 +12304,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; if (__pyx_t_13 < (0)) __PYX_ERR(0, 281, __pyx_L9_except_error) __pyx_t_17 = (!__pyx_t_13); + + if (unlikely(__pyx_t_17)) { + __Pyx_GIVEREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_3); @@ -9825,8 +12396,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( */ __pyx_t_13 = (__pyx_v_py_db != Py_None); if (__pyx_t_13) { + } else { + __pyx_t_17 = __pyx_t_13; + goto __pyx_L24_bool_binop_done; } __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 296, __pyx_L1_error) @@ -9834,10 +12408,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 296, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_18 = (!__pyx_t_13); + + + __pyx_t_17 = __pyx_t_18; + __pyx_L24_bool_binop_done:; if (__pyx_t_17) { + /* "_pydevd_bundle/pydevd_cython.pyx":297 * py_db = get_global_debugger() * if py_db is not None and not py_db.pydb_disposed: @@ -9881,6 +12460,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __pyx_t_17 = (__pyx_v_thread != Py_None); if (__pyx_t_17) { + /* "_pydevd_bundle/pydevd_cython.pyx":299 * thread = info.weak_thread() * if thread is not None: @@ -9946,10 +12526,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_4); } else { - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 300, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 300, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); } @@ -10064,7 +12644,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython__update_stepping_info( */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_3add_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10143,11 +12723,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st * _infos_stepping.add(info) */ if (unlikely(__pyx_v_14_pydevd_bundle_13pydevd_cython__all_infos == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "add"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "add"); __PYX_ERR(0, 311, __pyx_L7_error) } __pyx_t_9 = PySet_Add(__pyx_v_14_pydevd_bundle_13pydevd_cython__all_infos, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 311, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":312 * with _update_infos_lock: * _all_infos.add(info) @@ -10158,6 +12739,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st __pyx_t_10 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->_is_stepping(__pyx_v_info, 0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 312, __pyx_L7_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":313 * _all_infos.add(info) * if info._is_stepping(): @@ -10166,11 +12748,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st * # fmt: off */ if (unlikely(__pyx_v_14_pydevd_bundle_13pydevd_cython__infos_stepping == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "add"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "add"); __PYX_ERR(0, 313, __pyx_L7_error) } __pyx_t_9 = PySet_Add(__pyx_v_14_pydevd_bundle_13pydevd_cython__infos_stepping, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 313, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":312 * with _update_infos_lock: * _all_infos.add(info) @@ -10202,8 +12785,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_11 = PyTuple_Pack(3, __pyx_t_2, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 310, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_11); + { + PyObject* __pyx_temp[3] = {__pyx_t_2, __pyx_t_4, __pyx_t_3}; + __pyx_t_11 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 310, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_11); + } __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_11, NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; @@ -10213,7 +12799,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; if (__pyx_t_10 < (0)) __PYX_ERR(0, 310, __pyx_L9_except_error) __pyx_t_13 = (!__pyx_t_10); + + if (unlikely(__pyx_t_13)) { + __Pyx_GIVEREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_3); @@ -10286,7 +12875,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(st /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_3add_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10294,14 +12883,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_3add_additional_info = {"add_additional_info", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_3add_additional_info, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_3add_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -10312,7 +12901,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("add_additional_info (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -10323,7 +12912,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_info,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 305, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 305, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: @@ -10387,10 +12976,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_2add_additional_info( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("add_additional_info", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_add_additional_info(__pyx_v_info, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -10414,7 +13009,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_2add_additional_info( */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_5remove_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10493,11 +13088,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info * */ if (unlikely(__pyx_v_14_pydevd_bundle_13pydevd_cython__all_infos == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "discard"); __PYX_ERR(0, 323, __pyx_L7_error) } __pyx_t_9 = __Pyx_PySet_Discard(__pyx_v_14_pydevd_bundle_13pydevd_cython__all_infos, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 323, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":324 * with _update_infos_lock: * _all_infos.discard(info) @@ -10506,11 +13102,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info * */ if (unlikely(__pyx_v_14_pydevd_bundle_13pydevd_cython__infos_stepping == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "discard"); __PYX_ERR(0, 324, __pyx_L7_error) } __pyx_t_9 = __Pyx_PySet_Discard(__pyx_v_14_pydevd_bundle_13pydevd_cython__infos_stepping, ((PyObject *)__pyx_v_info)); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 324, __pyx_L7_error) + /* "_pydevd_bundle/pydevd_cython.pyx":322 * # ENDIF * # fmt: on @@ -10533,8 +13130,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_10 = PyTuple_Pack(3, __pyx_t_2, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 322, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_10); + { + PyObject* __pyx_temp[3] = {__pyx_t_2, __pyx_t_4, __pyx_t_3}; + __pyx_t_10 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 322, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_10); + } __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_10, NULL); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; @@ -10544,7 +13144,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; if (__pyx_t_12 < (0)) __PYX_ERR(0, 322, __pyx_L9_except_error) __pyx_t_13 = (!__pyx_t_12); + + if (unlikely(__pyx_t_13)) { + __Pyx_GIVEREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_4); __Pyx_XGIVEREF(__pyx_t_3); @@ -10617,7 +13220,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_5remove_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10625,14 +13228,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_5remove_additional_info = {"remove_additional_info", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_5remove_additional_info, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_5remove_additional_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -10643,7 +13246,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("remove_additional_info (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -10654,7 +13257,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_info,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 317, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 317, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: @@ -10718,10 +13321,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_4remove_additional_in const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("remove_additional_info", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_remove_additional_info(__pyx_v_info, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 317, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -10767,7 +13376,11 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(CYTHON_U __pyx_t_1 = (__pyx_temp != 0); } - __pyx_r = (!(!__pyx_t_1)); + { + + __pyx_r = (!(!__pyx_t_1)); + } + goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":329 @@ -10783,6 +13396,7 @@ static int __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(CYTHON_U __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.any_thread_stepping", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + return __pyx_r; } @@ -10811,11 +13425,18 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_6any_thread_stepping( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("any_thread_stepping", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(1); if (unlikely(__pyx_t_1 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 329, __pyx_L1_error) __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; @@ -10858,7 +13479,7 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9get_smart_step_into_ const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return NULL; if (__pyx_kwds_len > 0) { - if (unlikely(__Pyx_CheckKeywordStrings("get_smart_step_into_variant_from_frame_offset", __pyx_kwds) == -1)) return NULL; + if (unlikely(__Pyx_CheckKeywordStrings(__pyx_kwds) == -1)) return NULL; } __Pyx_INCREF(__pyx_args); __pyx_v_args = __pyx_args; @@ -10883,8 +13504,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_8get_smart_step_into_ * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":359 @@ -10912,7 +13539,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_8get_smart_step_into_ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_11is_unhandled_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10920,7 +13547,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_11is_unhandled_exception = {"is_unhandled_exception", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_11is_unhandled_exception, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_11is_unhandled_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10931,7 +13558,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; int __pyx_v_last_raise_line; PyObject *__pyx_v_raise_lines = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -10942,7 +13569,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("is_unhandled_exception (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -10953,7 +13580,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_container_obj,&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_last_raise_line,&__pyx_mstate_global->__pyx_n_u_raise_lines,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 397, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 397, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 5: @@ -11033,6 +13660,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11068,13 +13696,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_raise_lines == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); __PYX_ERR(0, 401, __pyx_L1_error) } __pyx_t_2 = (__Pyx_PySet_ContainsTF(__pyx_t_1, __pyx_v_raise_lines, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 401, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":402 * # ENDIF * if frame.f_lineno in raise_lines: @@ -11082,9 +13711,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except * * else: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":401 @@ -11119,6 +13754,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except __pyx_t_2 = (__pyx_v_try_except_infos == Py_None); if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":407 * try_except_infos = container_obj.try_except_infos * if try_except_infos is None: @@ -11162,8 +13798,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except */ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_try_except_infos); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 409, __pyx_L1_error) __pyx_t_6 = (!__pyx_t_2); + + if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":411 * if not try_except_infos: * # Consider the last exception as unhandled because there's no try..except in it. @@ -11171,9 +13810,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except * else: * # Now, consider only the try..except for the raise */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":409 @@ -11224,7 +13869,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except #endif if (__pyx_t_7 >= __pyx_temp) break; } - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(__pyx_t_1, __pyx_t_7, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_1, __pyx_t_7, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_7; } else { { @@ -11281,6 +13926,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":417 * for try_except_info in try_except_infos: * if try_except_info.is_line_in_try_block(last_raise_line): @@ -11290,6 +13936,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except */ __pyx_t_10 = __Pyx_PyList_Append(__pyx_v_valid_try_except_infos, __pyx_v_try_except_info); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 417, __pyx_L1_error) + /* "_pydevd_bundle/pydevd_cython.pyx":416 * valid_try_except_infos = [] * for try_except_info in try_except_infos: @@ -11323,8 +13970,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except } __pyx_t_2 = (!__pyx_t_6); + + if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":420 * * if not valid_try_except_infos: @@ -11332,9 +13982,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except * * else: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":419 @@ -11373,7 +14029,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except #endif if (__pyx_t_7 >= __pyx_temp) break; } - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(__pyx_t_1, __pyx_t_7, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_1, __pyx_t_7, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_7; } else { { @@ -11430,6 +14086,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":429 * for try_except_info in try_except_infos: * if try_except_info.is_line_in_except_block(frame.f_lineno): @@ -11441,27 +14098,31 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_try_except_info, __pyx_mstate_global->__pyx_n_u_except_line); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 429, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_9 = PyObject_RichCompare(__pyx_t_4, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_9); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 429, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_3, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 429, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 429, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (!__pyx_t_6) { + } else { + __pyx_t_2 = __pyx_t_6; + goto __pyx_L15_bool_binop_done; } - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 429, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_try_except_info, __pyx_mstate_global->__pyx_n_u_raise_lines_in_except); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 429, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 429, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = (__Pyx_PySequence_ContainsTF(__pyx_t_9, __pyx_t_3, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 429, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_try_except_info, __pyx_mstate_global->__pyx_n_u_raise_lines_in_except); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 429, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = (__Pyx_PySequence_ContainsTF(__pyx_t_3, __pyx_t_4, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 429, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __pyx_t_6; + __pyx_L15_bool_binop_done:; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":432 * # In a raise inside a try..except block or some except which doesn't * # match the raised exception. @@ -11469,9 +14130,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except * return False * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; @@ -11513,9 +14180,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":397 @@ -11552,21 +14225,37 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_10is_unhandled_except */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 0, 0, __pyx_nargs); return -1; } - const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; + const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return -1; if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__init__", __pyx_kwds); return -1;} __pyx_r = __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj___init__(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *)__pyx_v_self)); @@ -11591,8 +14280,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj___ __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = ((PyObject*)Py_None); + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, ((PyObject*)Py_None)); /* "_pydevd_bundle/pydevd_cython.pyx":439 * cdef class _TryExceptContainerObj: @@ -11604,6 +14292,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj___ /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11634,11 +14323,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_16try_except_infos___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->try_except_infos); - __pyx_r = __pyx_v_self->try_except_infos; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->try_except_infos); + __pyx_r = __pyx_v_self->try_except_infos; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -11666,27 +14383,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_16 int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(0, 438, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyList_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_2))) __PYX_ERR(0, 438, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->try_except_infos); + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython._TryExceptContainerObj.try_except_infos.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11709,15 +14448,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_16 static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_16try_except_infos_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->try_except_infos); + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -11730,7 +14486,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_16 /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -11738,20 +14494,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -11777,9 +14533,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; + PyObject *__pyx_t_2 = NULL; int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; + int __pyx_t_4; PyObject *__pyx_t_5 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -11789,67 +14545,109 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.try_except_infos,) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_v_self->try_except_infos); - __Pyx_GIVEREF(__pyx_v_self->try_except_infos); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_v_state = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.try_except_infos,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_v_self->try_except_infos); + __Pyx_GIVEREF(__pyx_v_self->try_except_infos); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_v_state = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v__dict = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v__dict = __pyx_t_2; + __pyx_t_2 = 0; + } - /* "(tree fragment)":7 - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_3 = (__pyx_v__dict != Py_None); - if (__pyx_t_3) { + __pyx_t_4 = (__pyx_v__dict != Py_None); + if (__pyx_t_4) { + } else { - __pyx_t_2 = __pyx_t_3; - goto __pyx_L4_bool_binop_done; + + __pyx_t_3 = __pyx_t_4; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_2 = __pyx_t_3; - __pyx_L4_bool_binop_done:; - if (__pyx_t_2) { + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_3 = __pyx_t_4; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_3) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -11858,17 +14656,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.try_except_infos is not None # <<<<<<<<<<<<<< @@ -11876,12 +14674,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state */ /*else*/ { - __pyx_t_2 = (__pyx_v_self->try_except_infos != ((PyObject*)Py_None)); - __pyx_v_use_setstate = __pyx_t_2; + __pyx_t_3 = (__pyx_v_self->try_except_infos != ((PyObject*)Py_None)); + __pyx_v_use_setstate = __pyx_t_3; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -11890,43 +14688,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.try_except_infos is not None * if use_setstate: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_230645316); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_230645316); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -11935,7 +14739,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) # <<<<<<<<<<<<<< @@ -11943,30 +14747,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_230645316); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_230645316); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_5 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L0; } @@ -11979,19 +14789,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython._TryExceptContainerObj.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -12000,7 +14811,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -12008,14 +14819,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -12026,7 +14837,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -12037,32 +14848,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -12093,24 +14904,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExceptContainerObj__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExceptContainerObj__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -12140,10 +14951,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainer */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_args = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; @@ -12152,20 +14977,22 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObje int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_args,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 472, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 472, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 472, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; @@ -12179,7 +15006,7 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(PyObje } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 472, __pyx_L3_error) } __pyx_v_args = ((PyObject*)values[0]); @@ -12232,8 +15059,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame___init__(struct __Pyx_INCREF(__pyx_v_args); __Pyx_GIVEREF(__pyx_v_args); __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = __pyx_v_args; + __Pyx_DECREF_SET(__pyx_v_self->_args, __pyx_v_args); /* "_pydevd_bundle/pydevd_cython.pyx":474 * def __init__(self, tuple args): @@ -12254,8 +15080,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame___init__(struct __Pyx_INCREF(__pyx_mstate_global->__pyx_empty_tuple); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_empty_tuple); __Pyx_GOTREF(__pyx_v_self->exc_info); - __Pyx_DECREF(__pyx_v_self->exc_info); - __pyx_v_self->exc_info = __pyx_mstate_global->__pyx_empty_tuple; + __Pyx_DECREF_SET(__pyx_v_self->exc_info, __pyx_mstate_global->__pyx_empty_tuple); /* "_pydevd_bundle/pydevd_cython.pyx":472 * cdef int should_skip @@ -12267,6 +15092,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame___init__(struct /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -12299,7 +15125,7 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_3set_suspe const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return NULL; if (__pyx_kwds_len > 0) { - if (unlikely(__Pyx_CheckKeywordStrings("set_suspend", __pyx_kwds) == -1)) return NULL; + if (unlikely(__Pyx_CheckKeywordStrings(__pyx_kwds) == -1)) return NULL; __pyx_v_kwargs = __Pyx_KwargsAsDict_VARARGS(__pyx_kwds, __pyx_kwvalues); if (unlikely(!__pyx_v_kwargs)) return NULL; __Pyx_GOTREF(__pyx_v_kwargs); @@ -12338,10 +15164,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_2set_suspe * def do_wait_suspend(self, *args, **kwargs): */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 494, __pyx_L1_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 494, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_set_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -12405,7 +15231,7 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_5do_wait_s const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return NULL; if (__pyx_kwds_len > 0) { - if (unlikely(__Pyx_CheckKeywordStrings("do_wait_suspend", __pyx_kwds) == -1)) return NULL; + if (unlikely(__Pyx_CheckKeywordStrings(__pyx_kwds) == -1)) return NULL; __pyx_v_kwargs = __Pyx_KwargsAsDict_VARARGS(__pyx_kwds, __pyx_kwvalues); if (unlikely(!__pyx_v_kwargs)) return NULL; __Pyx_GOTREF(__pyx_v_kwargs); @@ -12444,10 +15270,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_4do_wait_s * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 497, __pyx_L1_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 497, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 497, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 497, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -12493,7 +15319,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_4do_wait_s /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_7trace_exception(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -12501,7 +15327,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_7trace_exception = {"trace_exception", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_7trace_exception, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_7trace_exception(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -12510,7 +15336,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -12521,7 +15347,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("trace_exception (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -12532,7 +15358,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 500, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 500, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -12634,9 +15460,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * should_stop, frame, exc_info = should_stop_on_exception(self._args[0], self._args[2], frame, self._args[3], arg, self.exc_info) * self.exc_info = exc_info */ - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 506, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 506, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":507 * # ENDIF * if event == "exception": @@ -12648,22 +15475,22 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 507, __pyx_L1_error) } - __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 507, __pyx_L1_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 507, __pyx_L1_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = 1; #if CYTHON_UNPACK_METHODS @@ -12705,13 +15532,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __pyx_t_6 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_6); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 507, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_6); } @@ -12766,8 +15593,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_INCREF(__pyx_v_exc_info); __Pyx_GIVEREF(__pyx_v_exc_info); __Pyx_GOTREF(__pyx_v_self->exc_info); - __Pyx_DECREF(__pyx_v_self->exc_info); - __pyx_v_self->exc_info = __pyx_v_exc_info; + __Pyx_DECREF_SET(__pyx_v_self->exc_info, __pyx_v_exc_info); /* "_pydevd_bundle/pydevd_cython.pyx":510 * self.exc_info = exc_info @@ -12789,16 +15615,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 511, __pyx_L1_error) } - __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 511, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 511, __pyx_L1_error) } - __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 511, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 511, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -12829,6 +15655,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":512 * if should_stop: * if handle_exception(self._args[0], self._args[3], frame, arg, EXCEPTION_TYPE_HANDLED): @@ -12836,10 +15663,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * * elif event == "return": */ - __Pyx_XDECREF(__pyx_r); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 512, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; @@ -12878,9 +15711,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * exc_info = self.exc_info * if exc_info and arg is None: */ - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 514, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 514, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":515 * * elif event == "return": @@ -12910,15 +15744,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc } if (__pyx_t_10) { + } else { + __pyx_t_1 = __pyx_t_10; + goto __pyx_L9_bool_binop_done; } __pyx_t_10 = (__pyx_v_arg == Py_None); + __pyx_t_1 = __pyx_t_10; + __pyx_L9_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":517 * exc_info = self.exc_info * if exc_info and arg is None: @@ -12927,16 +15767,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * container_obj = frame_skips_cache.get(custom_key) */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 517, __pyx_L1_error) } - __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 4, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 517, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 4, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 517, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 517, __pyx_L1_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 5, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 517, __pyx_L1_error) + __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 5, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 517, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_frame_skips_cache = __pyx_t_2; __pyx_t_2 = 0; @@ -12991,6 +15831,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __pyx_t_1 = (__pyx_v_container_obj == Py_None); if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":521 * container_obj = frame_skips_cache.get(custom_key) * if container_obj is None: @@ -13032,22 +15873,22 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_is_unhandled_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 522, __pyx_L1_error) } - __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 522, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(__pyx_v_exc_info == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 522, __pyx_L1_error) } - __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_exc_info, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 522, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_exc_info, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_exc_info == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 522, __pyx_L1_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 522, __pyx_L1_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = 1; #if CYTHON_UNPACK_METHODS @@ -13075,8 +15916,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + } else { + __pyx_t_1 = __pyx_t_10; + goto __pyx_L13_bool_binop_done; } __pyx_t_3 = ((PyObject *)__pyx_v_self); @@ -13107,10 +15951,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc */ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 522, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_1 = __pyx_t_10; + __pyx_L13_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":525 * frame * ): @@ -13118,10 +15965,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * * return self.trace_exception */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 525, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L0; @@ -13160,10 +16013,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc * * def handle_user_exception(self, frame): */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L0; @@ -13186,6 +16045,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.trace_exception", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_exc_info); __Pyx_XDECREF(__pyx_v_frame_skips_cache); __Pyx_XDECREF(__pyx_v_frame_cache_key); @@ -13207,7 +16067,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_6trace_exc /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_9handle_user_exception(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13215,14 +16075,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_9handle_user_exception = {"handle_user_exception", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_9handle_user_exception, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_9handle_user_exception(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_frame = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -13233,7 +16093,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("handle_user_exception (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -13244,7 +16104,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 529, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 529, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: @@ -13330,6 +16190,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_8handle_us __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_exc_info); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 531, __pyx_L1_error) if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":532 * exc_info = self.exc_info * if exc_info: @@ -13337,23 +16198,22 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_8handle_us * return False * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 532, __pyx_L1_error) } - __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 532, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 532, __pyx_L1_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 532, __pyx_L1_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_exc_info, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 532, __pyx_L1_error) + __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_exc_info, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); @@ -13381,7 +16241,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_8handle_us if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -13401,9 +16268,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_8handle_us * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":529 @@ -13455,10 +16328,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na size_t __pyx_t_7; int __pyx_t_8; PyObject *__pyx_t_9[3]; - PyObject *__pyx_t_10 = NULL; - PyObject *__pyx_t_11 = NULL; + Py_ssize_t __pyx_t_10; + int __pyx_t_11; PyObject *__pyx_t_12 = NULL; PyObject *__pyx_t_13 = NULL; + PyObject *__pyx_t_14 = NULL; + PyObject *__pyx_t_15 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -13548,6 +16423,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na __pyx_t_8 = (__pyx_v_cls_name != Py_None); if (__pyx_t_8) { + /* "_pydevd_bundle/pydevd_cython.pyx":546 * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: @@ -13555,20 +16431,34 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na * else: * return func_name */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_cls_name), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = __Pyx_PyUnicode_Unicode(__pyx_v_func_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_9[0] = __pyx_t_1; - __pyx_t_9[1] = __pyx_mstate_global->__pyx_kp_u__2; + __pyx_t_9[1] = __pyx_mstate_global->__pyx_kp_u__3; __pyx_t_9[2] = __pyx_t_6; - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_9, 3, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6)); + __pyx_t_10 = 1; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_10 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9[0]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9[2]); + #endif + __pyx_t_11 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_11 |= __Pyx_PyUnicode_KIND_04(__pyx_t_9[0]) | __Pyx_PyUnicode_KIND_04(__pyx_t_9[2]); + #endif + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_9, 3, __pyx_t_10, __pyx_t_11); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 546, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L7_try_return; @@ -13589,9 +16479,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na * pydev_log.exception() */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_func_name); - __pyx_r = __pyx_v_func_name; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_func_name); + __pyx_r = __pyx_v_func_name; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L7_try_return; } @@ -13629,33 +16525,33 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na * return func_name * */ - __pyx_t_11 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 550, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 550, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_13 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 550, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 550, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __pyx_t_7 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_13))) { - __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_13); - assert(__pyx_t_11); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_13); - __Pyx_INCREF(__pyx_t_11); + if (unlikely(PyMethod_Check(__pyx_t_15))) { + __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_15); + assert(__pyx_t_13); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_15); + __Pyx_INCREF(__pyx_t_13); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_13, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_15, __pyx__function); __pyx_t_7 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_11, NULL}; - __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_13, __pyx_callargs+__pyx_t_7, (1-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 550, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); + PyObject *__pyx_callargs[2] = {__pyx_t_13, NULL}; + __pyx_t_12 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_15, __pyx_callargs+__pyx_t_7, (1-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 550, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_12); } - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":551 * except: @@ -13664,9 +16560,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_func_name); - __pyx_r = __pyx_v_func_name; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_func_name); + __pyx_r = __pyx_v_func_name; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -13713,10 +16615,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_na __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); - __Pyx_XDECREF(__pyx_t_10); - __Pyx_XDECREF(__pyx_t_11); __Pyx_XDECREF(__pyx_t_12); __Pyx_XDECREF(__pyx_t_13); + __Pyx_XDECREF(__pyx_t_14); + __Pyx_XDECREF(__pyx_t_15); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.get_func_name", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; @@ -13815,6 +16717,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__show_retur __pyx_t_6 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":562 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: @@ -13848,6 +16751,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__show_retur __pyx_t_6 = (__pyx_v_return_values_dict == Py_None); if (__pyx_t_6) { + /* "_pydevd_bundle/pydevd_cython.pyx":564 * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: @@ -14197,6 +17101,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__remove_ret __pyx_t_9 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_9) { + /* "_pydevd_bundle/pydevd_cython.pyx":586 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: @@ -14448,6 +17353,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt */ while (1) { __pyx_t_2 = (__pyx_v_f != Py_None); + if (!__pyx_t_2) break; /* "_pydevd_bundle/pydevd_cython.pyx":599 @@ -14462,8 +17368,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 599, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = (!__pyx_t_2); + + if (__pyx_t_3) { + /* "_pydevd_bundle/pydevd_cython.pyx":600 * while f is not None: * if not py_db.is_files_filter_enabled: @@ -14471,9 +17380,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt * * else: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_f); - __pyx_r = __pyx_v_f; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_f); + __pyx_r = __pyx_v_f; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":599 @@ -14513,6 +17428,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { + /* "_pydevd_bundle/pydevd_cython.pyx":604 * else: * if py_db.apply_files_filter(f, f.f_code.co_filename, False): @@ -14543,9 +17459,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt * return f */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_f); - __pyx_r = __pyx_v_f; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_f); + __pyx_r = __pyx_v_f; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; } __pyx_L6:; @@ -14559,9 +17481,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__get_unfilt * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_f); - __pyx_r = __pyx_v_f; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_f); + __pyx_r = __pyx_v_f; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":593 @@ -14620,6 +17548,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr __pyx_t_1 = (__pyx_v_target_frame == __pyx_v_current_frame); if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":618 * # ENDIF * if target_frame is current_frame: @@ -14627,9 +17556,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr * * info = self._args[2] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":617 @@ -14649,10 +17584,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr * # If using scoped step we don't check the target, we just need to check */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 620, __pyx_L1_error) } - __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 620, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 620, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(0, 620, __pyx_L1_error) __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_2); @@ -14676,15 +17611,21 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr */ __pyx_t_3 = (__pyx_v_target_frame != Py_None); if (__pyx_t_3) { + } else { + __pyx_t_1 = __pyx_t_3; + goto __pyx_L6_bool_binop_done; } __pyx_t_3 = (__pyx_v_current_frame != Py_None); + __pyx_t_1 = __pyx_t_3; + __pyx_L6_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":625 * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: @@ -14702,13 +17643,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 625, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 625, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 625, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 625, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":628 * # The co_name may be different (it may include the line number), but * # the filename must still be the same. @@ -14716,10 +17656,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 628, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v_f = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 628, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_f = __pyx_t_5; + __pyx_t_5 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":629 * # the filename must still be the same. @@ -14730,29 +17670,33 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr */ __pyx_t_3 = (__pyx_v_f != Py_None); if (__pyx_t_3) { + } else { + __pyx_t_1 = __pyx_t_3; + goto __pyx_L10_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 629, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 629, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 629, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_t_2, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 629, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 629, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 629, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_5, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 629, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_3 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_2, Py_EQ); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 629, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 629, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __pyx_t_3; + __pyx_L10_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":630 * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: @@ -14774,8 +17718,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr */ __pyx_t_3 = (__pyx_v_f != Py_None); if (__pyx_t_3) { + } else { + __pyx_t_1 = __pyx_t_3; + goto __pyx_L13_bool_binop_done; } __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 631, __pyx_L1_error) @@ -14785,18 +17732,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_2, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 631, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_2, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 631, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 631, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __pyx_t_3; + __pyx_L13_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":632 * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: @@ -14804,9 +17752,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr * * return False */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":631 @@ -14861,9 +17815,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":612 @@ -14898,7 +17858,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__is_same_fr */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -14998,7 +17958,6 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa PyObject *__pyx_t_30 = NULL; PyObject *__pyx_t_31[4]; PyObject *__pyx_t_32 = NULL; - char const *__pyx_t_33; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -15023,7 +17982,6 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch)) { - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; __Pyx_INCREF(__pyx_t_1); __pyx_t_4 = __pyx_t_1; @@ -15047,7 +18005,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L0; @@ -15162,6 +18127,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; goto __pyx_L6_bool_binop_done; } + __pyx_t_9 = 0; __pyx_L6_bool_binop_done:; __pyx_v_line = __pyx_t_9; @@ -15199,6 +18165,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":690 * * if py_db.pydb_disposed: @@ -15206,8 +18173,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * plugin_manager = py_db.plugin */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 690, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 690, __pyx_L4_error) if (__pyx_t_10) { __Pyx_INCREF(Py_None); __pyx_t_8 = Py_None; @@ -15217,7 +18183,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_8 = __pyx_t_1; __pyx_t_1 = 0; } - __pyx_r = __pyx_t_8; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_8 = 0; goto __pyx_L3_return; @@ -15254,8 +18228,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 694, __pyx_L4_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L9_bool_binop_done; } __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 694, __pyx_L4_error) @@ -15263,15 +18240,20 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 694, __pyx_L4_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L9_bool_binop_done; } __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 694, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 694, __pyx_L4_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __pyx_t_12; + __pyx_L9_bool_binop_done:; __pyx_v_has_exception_breakpoints = __pyx_t_10; @@ -15295,6 +18277,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_9 = __pyx_v_info->pydev_step_cmd; + __pyx_v_step_cmd = __pyx_t_9; /* "_pydevd_bundle/pydevd_cython.pyx":699 @@ -15326,6 +18309,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":705 * # When in a coroutine we change the perceived event to the debugger because * # a call, StopIteration exception and return are usually just pausing/unpausing it. @@ -15333,9 +18317,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_line = True * is_call = False */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_line, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 705, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_line, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 705, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":706 * # a call, StopIteration exception and return are usually just pausing/unpausing it. * if event == "line": @@ -15389,9 +18374,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_line = False * is_call = False */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 711, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 711, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":712 * * elif event == "return": @@ -15454,7 +18440,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # Note: we're collecting the return lines by inspecting the bytecode as */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 718, __pyx_L4_error) } __pyx_t_8 = __Pyx_PyDict_GetItemDefault(__pyx_v_frame_skips_cache, __pyx_v_returns_cache_key, Py_None); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 718, __pyx_L4_error) @@ -15472,6 +18458,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = (__pyx_v_return_lines == Py_None); if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":724 * # it doesn't give any clear indication when a coroutine or generator is * # finishing or just pausing. @@ -15524,7 +18511,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa #endif if (__pyx_t_13 >= __pyx_temp) break; } - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(__pyx_t_7, __pyx_t_13, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_8 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_7, __pyx_t_13, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_13; } else { { @@ -15597,7 +18584,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if line not in return_lines: */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 730, __pyx_L4_error) } if (unlikely((PyDict_SetItem(__pyx_v_frame_skips_cache, __pyx_v_returns_cache_key, __pyx_v_return_lines) < 0))) __PYX_ERR(0, 730, __pyx_L4_error) @@ -15624,6 +18611,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":734 * if line not in return_lines: * # Not really a return (coroutine/generator paused). @@ -15631,10 +18619,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * if self.exc_info: */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 734, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; @@ -15658,6 +18652,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_self->exc_info); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 736, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":737 * else: * if self.exc_info: @@ -15684,10 +18679,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # Tricky handling: usually when we're on a frame which is about to exit */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 738, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; @@ -15709,15 +18710,22 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_12 = (__pyx_v_stop_frame == __pyx_v_frame); if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L21_bool_binop_done; } __pyx_t_12 = (!__pyx_v_info->pydev_use_scoped_step_frame); + + __pyx_t_10 = __pyx_t_12; + __pyx_L21_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":757 * # frame in this case). * if stop_frame is frame and not info.pydev_use_scoped_step_frame: @@ -15753,6 +18761,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = (__pyx_v_f != Py_None); if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":760 * f = self._get_unfiltered_back_frame(py_db, frame) * if f is not None: @@ -15772,8 +18781,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(__pyx_v_f); __Pyx_GIVEREF(__pyx_v_f); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = __pyx_v_f; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, __pyx_v_f); /* "_pydevd_bundle/pydevd_cython.pyx":759 * if step_cmd in (108, 159, 107, 144): @@ -15823,8 +18831,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":763 * info.pydev_step_stop = f @@ -15855,8 +18862,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":767 * info.pydev_step_stop = None @@ -15903,6 +18909,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = (__pyx_v_f != Py_None); if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":775 * f = self._get_unfiltered_back_frame(py_db, frame) * if f is not None: @@ -15913,8 +18920,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(__pyx_v_f); __Pyx_GIVEREF(__pyx_v_f); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = __pyx_v_f; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, __pyx_v_f); /* "_pydevd_bundle/pydevd_cython.pyx":774 * # We're exiting this one, so, mark the new coroutine context. @@ -15946,8 +18952,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); } __pyx_L24:; @@ -15989,9 +18994,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * breakpoints_for_file = None * if has_exception_breakpoints: */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 780, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 780, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":781 * * elif event == "exception": @@ -16030,22 +19036,22 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * self.exc_info = exc_info */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 784, __pyx_L4_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 784, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 784, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 784, __pyx_L4_error) } - __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 784, __pyx_L4_error) + __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 784, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 784, __pyx_L4_error) } - __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 784, __pyx_L4_error) + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 784, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -16087,13 +19093,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_3 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_3); } else { - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 783, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 783, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 783, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_3); } @@ -16155,8 +19161,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(__pyx_v_exc_info); __Pyx_GIVEREF(__pyx_v_exc_info); __Pyx_GOTREF(__pyx_v_self->exc_info); - __Pyx_DECREF(__pyx_v_self->exc_info); - __pyx_v_self->exc_info = __pyx_v_exc_info; + __Pyx_DECREF_SET(__pyx_v_self->exc_info, __pyx_v_exc_info); /* "_pydevd_bundle/pydevd_cython.pyx":787 * ) @@ -16178,16 +19183,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 788, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 788, __pyx_L4_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 788, __pyx_L4_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 788, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_6); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 788, __pyx_L4_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 788, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 788, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 788, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_8); @@ -16218,6 +19223,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":789 * if should_stop: * if handle_exception(self._args[0], self._args[3], frame, arg, EXCEPTION_TYPE_HANDLED): @@ -16225,10 +19231,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * return self.trace_dispatch */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 789, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; @@ -16266,10 +19278,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * # event == 'call' or event == 'c_XXX' */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 791, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; @@ -16290,10 +19308,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: # Not coroutine nor generator */ /*else*/ { - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 794, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; } @@ -16317,9 +19341,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_call = False */ /*else*/ { - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_line, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 797, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_line, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 797, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":798 * else: # Not coroutine nor generator * if event == "line": @@ -16373,9 +19398,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_line = False * is_return = True */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 803, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 803, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":804 * * elif event == "return": @@ -16421,8 +19447,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_12 = (__pyx_v_stop_frame == __pyx_v_frame); if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L32_bool_binop_done; } @@ -16434,9 +19463,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and step_cmd */ __pyx_t_12 = (!__pyx_v_info->pydev_use_scoped_step_frame); + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L32_bool_binop_done; } @@ -16449,6 +19482,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_return) { } else { + __pyx_t_10 = __pyx_v_is_return; goto __pyx_L32_bool_binop_done; } @@ -16473,7 +19507,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_16 = __pyx_t_12; + + + __pyx_t_10 = __pyx_t_16; + __pyx_L32_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":815 @@ -16485,6 +19523,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":822 * in (108, 109, 159, 160, 128) * ): @@ -16537,8 +19576,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":815 * # Note: this is especially troublesome when we're skipping code with the @@ -16559,6 +19597,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_self->exc_info); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 828, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":829 * * if self.exc_info: @@ -16580,6 +19619,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":830 * if self.exc_info: * if self.handle_user_exception(frame): @@ -16587,10 +19627,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif event == "call": */ - __Pyx_XDECREF(__pyx_r); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 830, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_7 = 0; goto __pyx_L3_return; @@ -16629,9 +19675,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_line = False * is_call = True */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 832, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 832, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":833 * * elif event == "call": @@ -16682,13 +19729,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 837, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PyObject_RichCompare(__pyx_t_4, __pyx_t_7, Py_EQ); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 837, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_7, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 837, __pyx_L4_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 837, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":838 * is_exception_event = False * if frame.f_code.co_firstlineno == frame.f_lineno: # Check line to deal with async/await. @@ -16696,10 +19742,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif event == "exception": */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 838, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __pyx_t_4; - __Pyx_INCREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 838, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = __pyx_t_8; + __Pyx_INCREF(__pyx_t_4); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 838, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 838, __pyx_L4_error) @@ -16707,16 +19753,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_6}; - __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_6}; + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 838, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 838, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF_SET(__pyx_v_function_breakpoint_on_call_event, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_DECREF_SET(__pyx_v_function_breakpoint_on_call_event, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":837 * is_return = False @@ -16744,9 +19790,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_exception_event = True * breakpoints_for_file = None */ - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 840, __pyx_L4_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 840, __pyx_L4_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":841 * * elif event == "exception": @@ -16782,7 +19829,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * self._args[0], self._args[2], frame, self._args[3], arg, self.exc_info * ) */ - __pyx_t_4 = NULL; + __pyx_t_8 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 844, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_6); @@ -16794,48 +19841,48 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * self.exc_info = exc_info */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 845, __pyx_L4_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 845, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 845, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 845, __pyx_L4_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 845, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 845, __pyx_L4_error) } - __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 845, __pyx_L4_error) + __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 845, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_6); - assert(__pyx_t_4); + __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_6); + assert(__pyx_t_8); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_6); - __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_6, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[7] = {__pyx_t_4, __pyx_t_7, __pyx_t_1, __pyx_v_frame, __pyx_t_3, __pyx_v_arg, __pyx_v_self->exc_info}; - __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_5, (7-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[7] = {__pyx_t_8, __pyx_t_4, __pyx_t_1, __pyx_v_frame, __pyx_t_3, __pyx_v_arg, __pyx_v_self->exc_info}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_5, (7-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 844, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 844, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); } - if ((likely(PyTuple_CheckExact(__pyx_t_8))) || (PyList_CheckExact(__pyx_t_8))) { - PyObject* sequence = __pyx_t_8; + if ((likely(PyTuple_CheckExact(__pyx_t_7))) || (PyList_CheckExact(__pyx_t_7))) { + PyObject* sequence = __pyx_t_7; Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); @@ -16851,13 +19898,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_1 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_1); } else { - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 844, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 844, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 844, __pyx_L4_error) __Pyx_XGOTREF(__pyx_t_1); } @@ -16869,25 +19916,25 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 844, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); #endif - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_8); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 844, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); - index = 0; __pyx_t_6 = __pyx_t_15(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L40_unpacking_failed; + __pyx_t_4 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 844, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); + index = 0; __pyx_t_6 = __pyx_t_15(__pyx_t_4); if (unlikely(!__pyx_t_6)) goto __pyx_L40_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - index = 1; __pyx_t_3 = __pyx_t_15(__pyx_t_7); if (unlikely(!__pyx_t_3)) goto __pyx_L40_unpacking_failed; + index = 1; __pyx_t_3 = __pyx_t_15(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L40_unpacking_failed; __Pyx_GOTREF(__pyx_t_3); - index = 2; __pyx_t_1 = __pyx_t_15(__pyx_t_7); if (unlikely(!__pyx_t_1)) goto __pyx_L40_unpacking_failed; + index = 2; __pyx_t_1 = __pyx_t_15(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L40_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 844, __pyx_L4_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_4), 3) < (0)) __PYX_ERR(0, 844, __pyx_L4_error) __pyx_t_15 = NULL; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L41_unpacking_done; __pyx_L40_unpacking_failed:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); __PYX_ERR(0, 844, __pyx_L4_error) @@ -16919,8 +19966,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(__pyx_v_exc_info); __Pyx_GIVEREF(__pyx_v_exc_info); __Pyx_GOTREF(__pyx_v_self->exc_info); - __Pyx_DECREF(__pyx_v_self->exc_info); - __pyx_v_self->exc_info = __pyx_v_exc_info; + __Pyx_DECREF_SET(__pyx_v_self->exc_info, __pyx_v_exc_info); /* "_pydevd_bundle/pydevd_cython.pyx":848 * ) @@ -16942,19 +19988,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 849, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_3); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 849, __pyx_L4_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 849, __pyx_L4_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 849, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_6); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 849, __pyx_L4_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 849, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 849, __pyx_L4_error) + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 849, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_4); + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 849, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_3))) { @@ -16968,20 +20014,21 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_1, __pyx_t_6, __pyx_t_7, __pyx_v_frame, __pyx_v_arg, __pyx_t_4}; - __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (6-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[6] = {__pyx_t_1, __pyx_t_6, __pyx_t_4, __pyx_v_frame, __pyx_v_arg, __pyx_t_8}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (6-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 849, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 849, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); } - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 849, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 849, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":850 * if should_stop: * if handle_exception(self._args[0], self._args[3], frame, arg, EXCEPTION_TYPE_HANDLED): @@ -16989,11 +20036,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is_line = False * is_return = False */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 850, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 850, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_7 = 0; goto __pyx_L3_return; /* "_pydevd_bundle/pydevd_cython.pyx":849 @@ -17068,11 +20121,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if not is_exception_event: */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 857, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 857, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_7 = 0; goto __pyx_L3_return; } __pyx_L30:; @@ -17087,8 +20146,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_10 = (!__pyx_v_is_exception_event); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":860 * * if not is_exception_event: @@ -17096,29 +20157,29 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * can_skip = False */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 860, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __pyx_t_4; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 860, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_3 = __pyx_t_8; __Pyx_INCREF(__pyx_t_3); if (unlikely(__pyx_v_abs_path_canonical_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 860, __pyx_L4_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 860, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 860, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_7}; - __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4}; + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 860, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 860, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); } - if (!(likely(PyDict_CheckExact(__pyx_t_8))||((__pyx_t_8) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_8))) __PYX_ERR(0, 860, __pyx_L4_error) - __Pyx_XDECREF_SET(__pyx_v_breakpoints_for_file, ((PyObject*)__pyx_t_8)); - __pyx_t_8 = 0; + if (!(likely(PyDict_CheckExact(__pyx_t_7))||((__pyx_t_7) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_7))) __PYX_ERR(0, 860, __pyx_L4_error) + __Pyx_XDECREF_SET(__pyx_v_breakpoints_for_file, ((PyObject*)__pyx_t_7)); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":862 * breakpoints_for_file = py_db.breakpoints.get(abs_path_canonical_path_and_base[1]) @@ -17137,8 +20198,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # - we have no stop marked */ __pyx_t_10 = (__pyx_v_info->pydev_state == 1); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":869 * # - we should make a step return/step over and we're not in the current frame * # - we're stepping into a coroutine context and we're not in that context @@ -17147,8 +20210,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_10 = (__pyx_v_step_cmd == -1L); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":870 * # - we're stepping into a coroutine context and we're not in that context * if step_cmd == -1: @@ -17219,9 +20284,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_12 = __pyx_t_16; + + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L47_bool_binop_done; } @@ -17232,12 +20302,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * can_skip = True * */ - __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 877, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 877, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 877, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 877, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_16 = (!__pyx_t_12); + + + __pyx_t_10 = __pyx_t_16; + __pyx_L47_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":872 @@ -17249,6 +20323,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":878 * 160, * ) and not self._is_same_frame(stop_frame, frame): @@ -17276,9 +20351,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and stop_frame is not frame */ __pyx_t_16 = (__pyx_v_step_cmd == 0x80); + if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L49_bool_binop_done; } @@ -17291,8 +20370,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = (__pyx_v_stop_frame != Py_None); if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L49_bool_binop_done; } @@ -17305,8 +20387,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = (__pyx_v_stop_frame != __pyx_v_frame); if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L49_bool_binop_done; } @@ -17317,13 +20402,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and (frame.f_back is None or stop_frame is not frame.f_back.f_back) * ): */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 883, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_16 = (__pyx_v_stop_frame != __pyx_t_8); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 883, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_16 = (__pyx_v_stop_frame != __pyx_t_7); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L49_bool_binop_done; } @@ -17334,23 +20422,28 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ): * can_skip = True */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 884, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_16 = (__pyx_t_8 == Py_None); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 884, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_16 = (__pyx_t_7 == Py_None); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L49_bool_binop_done; } - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 884, __pyx_L4_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 884, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 884, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 884, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_16 = (__pyx_v_stop_frame != __pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_16 = (__pyx_v_stop_frame != __pyx_t_4); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L49_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":880 @@ -17362,6 +20455,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":886 * and (frame.f_back is None or stop_frame is not frame.f_back.f_back) * ): @@ -17389,8 +20483,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * frame.f_back is None or py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) */ __pyx_t_10 = (__pyx_v_step_cmd == 0x90); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":889 * * elif step_cmd == 144: @@ -17398,27 +20494,30 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * frame.f_back is None or py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) * ): */ - __pyx_t_8 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 889, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 889, __pyx_L4_error) + __pyx_t_7 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 889, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 889, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_8, __pyx_v_frame, __pyx_t_3, Py_True}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_v_frame, __pyx_t_3, Py_True}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 889, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 889, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 889, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 889, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L56_bool_binop_done; } @@ -17429,40 +20528,45 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ): * can_skip = True */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 890, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_16 = (__pyx_t_4 == Py_None); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 890, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_16 = (__pyx_t_8 == Py_None); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L56_bool_binop_done; } __pyx_t_3 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 890, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 890, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 890, __pyx_L4_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 890, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 890, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 890, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 890, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_t_8, __pyx_t_7, Py_True}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_t_7, __pyx_t_4, Py_True}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 890, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 890, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 890, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 890, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L56_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":889 @@ -17474,6 +20578,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":892 * frame.f_back is None or py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) * ): @@ -17510,8 +20615,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * while f is not None: */ __pyx_t_10 = (__pyx_v_step_cmd == 0xCE); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":895 * * elif step_cmd == 206: @@ -17531,6 +20638,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ while (1) { __pyx_t_10 = (__pyx_v_f != Py_None); + if (!__pyx_t_10) break; /* "_pydevd_bundle/pydevd_cython.pyx":897 @@ -17540,12 +20648,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * break * f = f.f_back */ - __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_f); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 897, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 897, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_f); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 897, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 897, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":898 * while f is not None: * if self._is_same_frame(stop_frame, f): @@ -17571,10 +20680,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * can_skip = True */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 899, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_4); - __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 899, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_8); + __pyx_t_8 = 0; } /* "_pydevd_bundle/pydevd_cython.pyx":901 @@ -17617,27 +20726,36 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L64_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 904, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 904, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 904, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 904, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L64_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 904, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 904, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 904, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 904, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L64_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":905 * if can_skip: * if plugin_manager is not None and (py_db.has_plugin_line_breaks or py_db.has_plugin_exception_breaks): @@ -17645,18 +20763,18 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * if ( */ - __pyx_t_7 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_7); + __pyx_t_4 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_v_py_db, __pyx_v_frame}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_can_skip, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 905, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_frame}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_can_skip, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 905, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 905, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 905, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_can_skip = __pyx_t_10; /* "_pydevd_bundle/pydevd_cython.pyx":904 @@ -17677,6 +20795,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_can_skip) { } else { + __pyx_t_10 = __pyx_v_can_skip; goto __pyx_L68_bool_binop_done; } @@ -17688,13 +20807,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and info.pydev_step_cmd in (108, 159) * and self._is_same_frame(stop_frame, frame.f_back) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 909, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 909, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 909, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 909, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L68_bool_binop_done; } @@ -17715,9 +20837,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_12 = __pyx_t_16; + + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L68_bool_binop_done; } @@ -17728,14 +20855,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ): * # trace function for showing return values after step over */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 911, __pyx_L4_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 911, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_8); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 911, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 911, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 911, __pyx_L4_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 911, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_10 = __pyx_t_12; + __pyx_L68_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":907 @@ -17747,6 +20876,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":914 * ): * # trace function for showing return values after step over @@ -17792,6 +20922,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint_on_call_event); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 921, __pyx_L4_error) if (__pyx_t_10) { + goto __pyx_L72; } @@ -17802,10 +20933,20 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if can_skip: * if has_exception_breakpoints: */ - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoints_for_file); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 924, __pyx_L4_error) + if (__pyx_v_breakpoints_for_file == Py_None) __pyx_t_10 = 0; + else + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_breakpoints_for_file); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 924, __pyx_L4_error) + __pyx_t_10 = (__pyx_temp != 0); + } + __pyx_t_12 = (!__pyx_t_10); + + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":925 * * elif not breakpoints_for_file: @@ -17831,11 +20972,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * return None if is_call else NO_FTRACE */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 927, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 927, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_4 = 0; goto __pyx_L3_return; /* "_pydevd_bundle/pydevd_cython.pyx":926 @@ -17855,18 +21002,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: */ /*else*/ { - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_7 = Py_None; + __pyx_t_4 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 929, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __pyx_t_4; - __pyx_t_4 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 929, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = __pyx_t_8; + __pyx_t_8 = 0; } - __pyx_r = __pyx_t_7; - __pyx_t_7 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_4 = 0; goto __pyx_L3_return; } @@ -17907,13 +21060,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * return self.trace_dispatch */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 934, __pyx_L4_error) } - __pyx_t_7 = __Pyx_PyDict_GetItemDefault(__pyx_v_frame_skips_cache, __pyx_v_line_cache_key, __pyx_mstate_global->__pyx_int_neg_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 934, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_7); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 934, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyDict_GetItemDefault(__pyx_v_frame_skips_cache, __pyx_v_line_cache_key, __pyx_mstate_global->__pyx_int_neg_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 934, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_4); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 934, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_breakpoints_in_line_cache = __pyx_t_9; /* "_pydevd_bundle/pydevd_cython.pyx":935 @@ -17924,8 +21077,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_12 = (__pyx_v_breakpoints_in_line_cache == 0); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":936 * breakpoints_in_line_cache = frame_skips_cache.get(line_cache_key, -1) * if breakpoints_in_line_cache == 0: @@ -17933,11 +21088,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * breakpoints_in_frame_cache = frame_skips_cache.get(frame_cache_key, -1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 936, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 936, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_4 = 0; goto __pyx_L3_return; /* "_pydevd_bundle/pydevd_cython.pyx":935 @@ -17966,13 +21127,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # Gotten from cache. */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 938, __pyx_L4_error) } - __pyx_t_7 = __Pyx_PyDict_GetItemDefault(__pyx_v_frame_skips_cache, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_neg_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 938, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_7); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 938, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyDict_GetItemDefault(__pyx_v_frame_skips_cache, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_neg_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 938, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = __Pyx_PyLong_As_int(__pyx_t_4); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 938, __pyx_L4_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_breakpoints_in_frame_cache = __pyx_t_9; /* "_pydevd_bundle/pydevd_cython.pyx":939 @@ -17983,8 +21144,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * has_breakpoint_in_frame = breakpoints_in_frame_cache == 1 */ __pyx_t_12 = (__pyx_v_breakpoints_in_frame_cache != -1L); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":941 * if breakpoints_in_frame_cache != -1: * # Gotten from cache. @@ -18037,10 +21200,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * for offset_and_lineno in dis.findlinestarts(frame.f_code): * if offset_and_lineno[1] is not None: */ - __pyx_t_7 = PySet_New(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 947, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_v_func_lines = ((PyObject*)__pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_4 = PySet_New(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 947, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_v_func_lines = ((PyObject*)__pyx_t_4); + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":948 * try: @@ -18049,45 +21212,45 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if offset_and_lineno[1] is not None: * func_lines.add(offset_and_lineno[1]) */ - __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_dis); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 948, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_findlinestarts); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 948, __pyx_L78_error) + __pyx_t_8 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_dis); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 948, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_findlinestarts); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 948, __pyx_L78_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 948, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 948, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_3))) { - __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3); - assert(__pyx_t_4); + __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_3); + assert(__pyx_t_8); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3); - __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_3, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_8}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_7}; + __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 948, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_7); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 948, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_4); } - if (likely(PyList_CheckExact(__pyx_t_7)) || PyTuple_CheckExact(__pyx_t_7)) { - __pyx_t_3 = __pyx_t_7; __Pyx_INCREF(__pyx_t_3); + if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) { + __pyx_t_3 = __pyx_t_4; __Pyx_INCREF(__pyx_t_3); __pyx_t_13 = 0; __pyx_t_14 = NULL; } else { - __pyx_t_13 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 948, __pyx_L78_error) + __pyx_t_13 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 948, __pyx_L78_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_14 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_3); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 948, __pyx_L78_error) } - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; for (;;) { if (likely(!__pyx_t_14)) { if (likely(PyList_CheckExact(__pyx_t_3))) { @@ -18098,7 +21261,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa #endif if (__pyx_t_13 >= __pyx_temp) break; } - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(__pyx_t_3, __pyx_t_13, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_3, __pyx_t_13, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_13; } else { { @@ -18109,16 +21272,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa if (__pyx_t_13 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_7 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_13)); + __pyx_t_4 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_13)); #else - __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_13); + __pyx_t_4 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_13); #endif ++__pyx_t_13; } - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 948, __pyx_L78_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 948, __pyx_L78_error) } else { - __pyx_t_7 = __pyx_t_14(__pyx_t_3); - if (unlikely(!__pyx_t_7)) { + __pyx_t_4 = __pyx_t_14(__pyx_t_3); + if (unlikely(!__pyx_t_4)) { PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 948, __pyx_L78_error) @@ -18127,9 +21290,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } } - __Pyx_GOTREF(__pyx_t_7); - __Pyx_XDECREF_SET(__pyx_v_offset_and_lineno, __pyx_t_7); - __pyx_t_7 = 0; + __Pyx_GOTREF(__pyx_t_4); + __Pyx_XDECREF_SET(__pyx_v_offset_and_lineno, __pyx_t_4); + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":949 * func_lines = set() @@ -18138,12 +21301,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * func_lines.add(offset_and_lineno[1]) * except: */ - __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_offset_and_lineno, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 949, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_12 = (__pyx_t_7 != Py_None); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_offset_and_lineno, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 949, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_12 = (__pyx_t_4 != Py_None); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":950 * for offset_and_lineno in dis.findlinestarts(frame.f_code): * if offset_and_lineno[1] is not None: @@ -18151,10 +21315,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * except: * # This is a fallback for implementations where we can't get the function */ - __pyx_t_7 = __Pyx_GetItemInt(__pyx_v_offset_and_lineno, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 950, __pyx_L78_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_20 = PySet_Add(__pyx_v_func_lines, __pyx_t_7); if (unlikely(__pyx_t_20 == ((int)-1))) __PYX_ERR(0, 950, __pyx_L78_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_offset_and_lineno, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 950, __pyx_L78_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_20 = PySet_Add(__pyx_v_func_lines, __pyx_t_4); if (unlikely(__pyx_t_20 == ((int)-1))) __PYX_ERR(0, 950, __pyx_L78_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":949 * func_lines = set() @@ -18194,21 +21359,21 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa /*else:*/ { __pyx_t_13 = 0; if (unlikely(__pyx_v_breakpoints_for_file == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); __PYX_ERR(0, 970, __pyx_L80_except_error) } - __pyx_t_7 = __Pyx_dict_iterator(__pyx_v_breakpoints_for_file, 1, ((PyObject *)NULL), (&__pyx_t_21), (&__pyx_t_9)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 970, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_breakpoints_for_file, 1, ((PyObject *)NULL), (&__pyx_t_21), (&__pyx_t_9)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 970, __pyx_L80_except_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); - __pyx_t_3 = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_3 = __pyx_t_4; + __pyx_t_4 = 0; while (1) { - __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_21, &__pyx_t_13, &__pyx_t_7, NULL, NULL, __pyx_t_9); + __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_21, &__pyx_t_13, &__pyx_t_4, NULL, NULL, __pyx_t_9); if (unlikely(__pyx_t_11 == 0)) break; if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(0, 970, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_11 = __Pyx_PyLong_As_int(__pyx_t_7); if (unlikely((__pyx_t_11 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 970, __pyx_L80_except_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_11 = __Pyx_PyLong_As_int(__pyx_t_4); if (unlikely((__pyx_t_11 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 970, __pyx_L80_except_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_bp_line = __pyx_t_11; /* "_pydevd_bundle/pydevd_cython.pyx":971 @@ -18218,12 +21383,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * has_breakpoint_in_frame = True * break */ - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_bp_line); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 971, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_12 = (__Pyx_PySet_ContainsTF(__pyx_t_7, __pyx_v_func_lines, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 971, __pyx_L80_except_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_bp_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 971, __pyx_L80_except_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_12 = (__Pyx_PySet_ContainsTF(__pyx_t_4, __pyx_v_func_lines, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 971, __pyx_L80_except_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":972 * for bp_line in breakpoints_for_file: # iterate on keys * if bp_line in func_lines: @@ -18276,10 +21442,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*except:*/ { __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.trace_dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_7, &__pyx_t_8) < 0) __PYX_ERR(0, 951, __pyx_L80_except_error) + if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_4, &__pyx_t_7) < 0) __PYX_ERR(0, 951, __pyx_L80_except_error) __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_7); - __Pyx_XGOTREF(__pyx_t_8); /* "_pydevd_bundle/pydevd_cython.pyx":958 * @@ -18288,11 +21454,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # global context is set with an empty name */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 958, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 958, __pyx_L80_except_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 958, __pyx_L80_except_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 958, __pyx_L80_except_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!(likely(PyUnicode_CheckExact(__pyx_t_6))||((__pyx_t_6) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_6))) __PYX_ERR(0, 958, __pyx_L80_except_error) __pyx_v_curr_func_name = ((PyObject*)__pyx_t_6); __pyx_t_6 = 0; @@ -18306,25 +21472,36 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __Pyx_INCREF(__pyx_v_curr_func_name); __pyx_t_22 = __pyx_v_curr_func_name; - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u__3, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) + __pyx_t_10 = (__Pyx_PyObject_Equals_str_ch63(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u__2, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) if (!__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L94_bool_binop_done; } - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_module, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_module_2, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) if (!__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L94_bool_binop_done; } - __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_lambda, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_lambda, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 961, __pyx_L80_except_error) + __pyx_t_12 = __pyx_t_10; + __pyx_L94_bool_binop_done:; __Pyx_DECREF(__pyx_t_22); __pyx_t_22 = 0; __pyx_t_10 = __pyx_t_12; + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":962 * # global context is set with an empty name * if curr_func_name in ("?", "", ""): @@ -18353,21 +21530,21 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_21 = 0; if (unlikely(__pyx_v_breakpoints_for_file == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "values"); __PYX_ERR(0, 964, __pyx_L80_except_error) } - __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_breakpoints_for_file, 1, __pyx_mstate_global->__pyx_n_u_values, (&__pyx_t_13), (&__pyx_t_9)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 964, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_dict_iterator(__pyx_v_breakpoints_for_file, 1, __pyx_mstate_global->__pyx_n_u_values, (&__pyx_t_13), (&__pyx_t_9)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 964, __pyx_L80_except_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_XDECREF(__pyx_t_6); - __pyx_t_6 = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_6 = __pyx_t_8; + __pyx_t_8 = 0; while (1) { - __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_13, &__pyx_t_21, NULL, &__pyx_t_4, NULL, __pyx_t_9); + __pyx_t_11 = __Pyx_dict_iter_next(__pyx_t_6, __pyx_t_13, &__pyx_t_21, NULL, &__pyx_t_8, NULL, __pyx_t_9); if (unlikely(__pyx_t_11 == 0)) break; if (unlikely(__pyx_t_11 == -1)) __PYX_ERR(0, 964, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_4); - __pyx_t_4 = 0; + __Pyx_GOTREF(__pyx_t_8); + __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_8); + __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":966 * for bp in breakpoints_for_file.values(): @@ -18376,21 +21553,29 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * has_breakpoint_in_frame = True * break */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_func_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 966, __pyx_L80_except_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_None, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 966, __pyx_L80_except_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_func_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 966, __pyx_L80_except_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_12 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_None, Py_EQ); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 966, __pyx_L80_except_error) if (!__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L100_bool_binop_done; } - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_4, __pyx_v_curr_func_name, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 966, __pyx_L80_except_error) + __pyx_t_12 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_8, __pyx_v_curr_func_name, Py_EQ); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 966, __pyx_L80_except_error) + __pyx_t_10 = __pyx_t_12; + __pyx_L100_bool_binop_done:; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_12 = __pyx_t_10; + + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":967 * # will match either global or some function * if bp.func_name in ("None", curr_func_name): @@ -18421,8 +21606,8 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_L98_break:; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; goto __pyx_L79_exception_handled; } @@ -18464,7 +21649,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * frame_skips_cache[frame_cache_key] = 0 */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 977, __pyx_L4_error) } if (unlikely((PyDict_SetItem(__pyx_v_frame_skips_cache, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 977, __pyx_L4_error) @@ -18488,7 +21673,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*else*/ { if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 979, __pyx_L4_error) } if (unlikely((PyDict_SetItem(__pyx_v_frame_skips_cache, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_0) < 0))) __PYX_ERR(0, 979, __pyx_L4_error) @@ -18506,14 +21691,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_can_skip) { } else { + __pyx_t_12 = __pyx_v_can_skip; goto __pyx_L104_bool_binop_done; } __pyx_t_10 = (!__pyx_v_has_breakpoint_in_frame); + + __pyx_t_12 = __pyx_t_10; + __pyx_L104_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":982 * * if can_skip and not has_breakpoint_in_frame: @@ -18530,11 +21720,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * return None if is_call else NO_FTRACE */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_exception); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 983, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 983, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_7 = 0; goto __pyx_L3_return; /* "_pydevd_bundle/pydevd_cython.pyx":982 @@ -18554,18 +21750,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # We may have hit a breakpoint or we are already in step mode. Either way, let's check what we should do in this frame */ /*else*/ { - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_8 = Py_None; + __pyx_t_7 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 985, __pyx_L4_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __pyx_t_7; - __pyx_t_7 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 985, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __pyx_t_4; + __pyx_t_4 = 0; } - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_7 = 0; goto __pyx_L3_return; } @@ -18621,10 +21823,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * breakpoint = None * stop = False */ - __pyx_t_8 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 995, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_v_stop_info = ((PyObject*)__pyx_t_8); - __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 995, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_v_stop_info = ((PyObject*)__pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":996 * @@ -18675,6 +21877,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint_on_call_event); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1001, __pyx_L107_error) if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1002 * * if function_breakpoint_on_call_event: @@ -18711,10 +21914,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif is_line and info.pydev_state != 2 and breakpoints_for_file is not None and line in breakpoints_for_file: */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_CMD_SET_FUNCTION_BREAK); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1005, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF_SET(__pyx_v_stop_reason, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_CMD_SET_FUNCTION_BREAK); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1005, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF_SET(__pyx_v_stop_reason, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1001 * bp_type = None @@ -18735,35 +21938,46 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_line) { } else { + __pyx_t_12 = __pyx_v_is_line; goto __pyx_L114_bool_binop_done; } __pyx_t_10 = (__pyx_v_info->pydev_state != 2); + if (__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L114_bool_binop_done; } if (unlikely(!__pyx_v_breakpoints_for_file)) { __Pyx_RaiseUnboundLocalError("breakpoints_for_file"); __PYX_ERR(0, 1007, __pyx_L107_error) } __pyx_t_10 = (__pyx_v_breakpoints_for_file != ((PyObject*)Py_None)); if (__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L114_bool_binop_done; } - __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1007, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1007, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); if (unlikely(!__pyx_v_breakpoints_for_file)) { __Pyx_RaiseUnboundLocalError("breakpoints_for_file"); __PYX_ERR(0, 1007, __pyx_L107_error) } if (unlikely(__pyx_v_breakpoints_for_file == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); __PYX_ERR(0, 1007, __pyx_L107_error) } - __pyx_t_10 = (__Pyx_PyDict_ContainsTF(__pyx_t_8, __pyx_v_breakpoints_for_file, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1007, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = (__Pyx_PyDict_ContainsTF(__pyx_t_7, __pyx_v_breakpoints_for_file, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1007, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L114_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1008 * * elif is_line and info.pydev_state != 2 and breakpoints_for_file is not None and line in breakpoints_for_file: @@ -18773,16 +21987,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (unlikely(!__pyx_v_breakpoints_for_file)) { __Pyx_RaiseUnboundLocalError("breakpoints_for_file"); __PYX_ERR(0, 1008, __pyx_L107_error) } if (unlikely(__pyx_v_breakpoints_for_file == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1008, __pyx_L107_error) } - __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1008, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyDict_GetItem(__pyx_v_breakpoints_for_file, __pyx_t_8); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1008, __pyx_L107_error) + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1008, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF_SET(__pyx_v_breakpoint, __pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyDict_GetItem(__pyx_v_breakpoints_for_file, __pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1008, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF_SET(__pyx_v_breakpoint, __pyx_t_4); + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1009 * elif is_line and info.pydev_state != 2 and breakpoints_for_file is not None and line in breakpoints_for_file: @@ -18822,18 +22036,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_10 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L118_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1012, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1012, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1012, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1012, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L118_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1013 * * elif plugin_manager is not None and py_db.has_plugin_line_breaks: @@ -18841,25 +22061,25 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if result: * stop_on_plugin_breakpoint = True */ - __pyx_t_8 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_7); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1013, __pyx_L107_error) } - __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1013, __pyx_L107_error) + __pyx_t_3 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1013, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[5] = {__pyx_t_8, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_3}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_breakpoint, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[5] = {__pyx_t_7, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_3}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_breakpoint, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1013, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1013, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); } - __pyx_v_result = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_v_result = __pyx_t_4; + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1014 * elif plugin_manager is not None and py_db.has_plugin_line_breaks: @@ -18871,6 +22091,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1014, __pyx_L107_error) if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1015 * result = plugin_manager.get_breakpoint(py_db, frame, event, self._args[2]) * if result: @@ -18897,42 +22118,42 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_7 = PyTuple_GET_ITEM(sequence, 0); - __Pyx_INCREF(__pyx_t_7); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); + __Pyx_INCREF(__pyx_t_4); __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = PyTuple_GET_ITEM(sequence, 2); - __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2); + __Pyx_INCREF(__pyx_t_7); } else { - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1016, __pyx_L107_error) - __Pyx_XGOTREF(__pyx_t_7); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1016, __pyx_L107_error) + __Pyx_XGOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1016, __pyx_L107_error) __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1016, __pyx_L107_error) - __Pyx_XGOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1016, __pyx_L107_error) + __Pyx_XGOTREF(__pyx_t_7); } #else - __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1016, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1016, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1016, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1016, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1016, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); #endif } else { Py_ssize_t index = -1; __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1016, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); - index = 0; __pyx_t_7 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_7)) goto __pyx_L121_unpacking_failed; - __Pyx_GOTREF(__pyx_t_7); + index = 0; __pyx_t_4 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L121_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); index = 1; __pyx_t_3 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_3)) goto __pyx_L121_unpacking_failed; __Pyx_GOTREF(__pyx_t_3); - index = 2; __pyx_t_8 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_8)) goto __pyx_L121_unpacking_failed; - __Pyx_GOTREF(__pyx_t_8); + index = 2; __pyx_t_7 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_7)) goto __pyx_L121_unpacking_failed; + __Pyx_GOTREF(__pyx_t_7); if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_6), 3) < (0)) __PYX_ERR(0, 1016, __pyx_L107_error) __pyx_t_15 = NULL; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -18944,12 +22165,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __PYX_ERR(0, 1016, __pyx_L107_error) __pyx_L122_unpacking_done:; } - __Pyx_DECREF_SET(__pyx_v_breakpoint, __pyx_t_7); - __pyx_t_7 = 0; + __Pyx_DECREF_SET(__pyx_v_breakpoint, __pyx_t_4); + __pyx_t_4 = 0; __pyx_v_new_frame = __pyx_t_3; __pyx_t_3 = 0; - __Pyx_DECREF_SET(__pyx_v_bp_type, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_DECREF_SET(__pyx_v_bp_type, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1014 * elif plugin_manager is not None and py_db.has_plugin_line_breaks: @@ -18980,6 +22201,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoint); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1018, __pyx_L107_error) if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1021 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint * # lets do the conditional stuff here @@ -18987,12 +22209,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * py_db.handle_breakpoint_expression(breakpoint, info, new_frame) * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_breakpoint, __pyx_mstate_global->__pyx_n_u_expression); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1021, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_12 = (__pyx_t_8 != Py_None); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_breakpoint, __pyx_mstate_global->__pyx_n_u_expression); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1021, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_12 = (__pyx_t_7 != Py_None); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1022 * # lets do the conditional stuff here * if breakpoint.expression is not None: @@ -19006,12 +22229,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_5 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_breakpoint, ((PyObject *)__pyx_v_info), __pyx_v_new_frame}; - __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_expression, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_expression, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1022, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1022, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1021 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint @@ -19031,13 +22254,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (!__pyx_v_stop) { } else { + __pyx_t_12 = __pyx_v_stop; goto __pyx_L126_bool_binop_done; } + __pyx_t_12 = __pyx_v_stop_on_plugin_breakpoint; __pyx_L126_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1025 * * if stop or stop_on_plugin_breakpoint: @@ -19055,12 +22281,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * eval_result = py_db.handle_breakpoint_condition(info, breakpoint, new_frame) * if not eval_result: */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_breakpoint, __pyx_mstate_global->__pyx_n_u_has_condition); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1026, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1026, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_breakpoint, __pyx_mstate_global->__pyx_n_u_has_condition); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1026, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1026, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1027 * eval_result = False * if breakpoint.has_condition: @@ -19074,13 +22301,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_5 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_info), __pyx_v_breakpoint, __pyx_v_new_frame}; - __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_condition, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_condition, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1027, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1027, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF_SET(__pyx_v_eval_result, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_DECREF_SET(__pyx_v_eval_result, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1028 * if breakpoint.has_condition: @@ -19091,8 +22318,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1028, __pyx_L107_error) __pyx_t_10 = (!__pyx_t_12); + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1029 * eval_result = py_db.handle_breakpoint_condition(info, breakpoint, new_frame) * if not eval_result: @@ -19147,6 +22377,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_call) { } else { + __pyx_t_10 = __pyx_v_is_call; goto __pyx_L131_bool_binop_done; } @@ -19158,52 +22389,68 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ): * # If we find a call for a module, it means that the module is being imported/executed for the */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1033, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1033, __pyx_L107_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1033, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1033, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_lambda, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1033, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_lambda, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1033, __pyx_L107_error) if (!__pyx_t_16) { + } else { + __pyx_t_12 = __pyx_t_16; + goto __pyx_L134_bool_binop_done; } - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_module, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1033, __pyx_L107_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_kp_u_module_2, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1033, __pyx_L107_error) + __pyx_t_12 = __pyx_t_16; + __pyx_L134_bool_binop_done:; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_16 = __pyx_t_12; + + if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L131_bool_binop_done; } __pyx_t_16 = (__pyx_v_line == 1); + if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L131_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1033, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1033, __pyx_L107_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1033, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1033, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_8 = __pyx_t_6; - __Pyx_INCREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __pyx_t_6; + __Pyx_INCREF(__pyx_t_7); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_mstate_global->__pyx_kp_u_cell}; + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_mstate_global->__pyx_kp_u_cell}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1033, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); } __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1033, __pyx_L107_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L131_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":1032 @@ -19215,6 +22462,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1046 * # module, so it's the same case as . * @@ -19222,10 +22470,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # Handle logpoint (on a logpoint we should never stop). */ - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1046, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_r = __pyx_t_3; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_3 = 0; goto __pyx_L111_try_return; @@ -19251,6 +22505,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } if (__pyx_v_stop_on_plugin_breakpoint) { } else { + __pyx_t_10 = __pyx_v_stop_on_plugin_breakpoint; goto __pyx_L138_bool_binop_done; } @@ -19259,10 +22514,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_GOTREF(__pyx_t_3); __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1049, __pyx_L107_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L138_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1050 * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and breakpoint.is_logpoint: @@ -19290,23 +22548,31 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = (__pyx_v_info->pydev_message != ((PyObject*)Py_None)); if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L142_bool_binop_done; } __pyx_t_3 = __pyx_v_info->pydev_message; __Pyx_INCREF(__pyx_t_3); if (unlikely(__pyx_t_3 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + PyErr_SetString(PyExc_TypeError, "object of type \047NoneType\047 has no len()"); __PYX_ERR(0, 1053, __pyx_L107_error) } __pyx_t_13 = __Pyx_PyUnicode_GET_LENGTH(__pyx_t_3); if (unlikely(__pyx_t_13 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1053, __pyx_L107_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_16 = (__pyx_t_13 > 0); + + + __pyx_t_10 = __pyx_t_16; + __pyx_L142_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1054 * * if info.pydev_message is not None and len(info.pydev_message) > 0: @@ -19314,25 +22580,25 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * py_db.writer.add_command(cmd) * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1054, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_6 = __pyx_t_8; - __Pyx_INCREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_os); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1054, __pyx_L107_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1054, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_linesep); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1054, __pyx_L107_error) + __pyx_t_6 = __pyx_t_7; + __Pyx_INCREF(__pyx_t_6); + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_os); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1054, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyNumber_Add(__pyx_v_info->pydev_message, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1054, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_linesep); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1054, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = PyNumber_Add(__pyx_v_info->pydev_message, __pyx_t_8); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1054, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_t_7, __pyx_mstate_global->__pyx_kp_u_1}; + PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_t_4, __pyx_mstate_global->__pyx_kp_u_1}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_make_io_message, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1054, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); } @@ -19346,16 +22612,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * if py_db.show_return_values: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_writer); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1055, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __pyx_t_7; - __Pyx_INCREF(__pyx_t_8); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_writer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1055, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __pyx_t_4; + __Pyx_INCREF(__pyx_t_7); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_v_cmd}; + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_cmd}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add_command, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1055, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); } @@ -19401,6 +22667,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1058 * * if py_db.show_return_values: @@ -19410,6 +22677,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_return) { } else { + __pyx_t_10 = __pyx_v_is_return; goto __pyx_L146_bool_binop_done; } @@ -19432,9 +22700,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_12 = __pyx_t_16; + + if (!__pyx_t_12) { + goto __pyx_L148_next_or; } else { + } /* "_pydevd_bundle/pydevd_cython.pyx":1061 @@ -19446,14 +22718,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1061, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1061, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1061, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1061, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1061, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L146_bool_binop_done; } __pyx_L148_next_or:; @@ -19475,17 +22750,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_16 = __pyx_t_12; + + if (!__pyx_t_16) { + goto __pyx_L150_next_or; } else { + } - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1063, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1063, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1063, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1063, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L146_bool_binop_done; } __pyx_L150_next_or:; @@ -19507,9 +22789,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_12 = __pyx_t_16; + + if (!__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L146_bool_binop_done; } @@ -19521,9 +22808,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) */ __pyx_t_12 = (__pyx_v_info->pydev_step_cmd == 0x90); + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L146_bool_binop_done; } @@ -19534,13 +22825,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) * ) */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1067, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_12 = (__pyx_t_7 != Py_None); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1067, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_12 = (__pyx_t_4 != Py_None); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L146_bool_binop_done; } @@ -19553,30 +22847,34 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_3 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1068, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1068, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_7); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1068, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1068, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1068, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1068, __pyx_L107_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1068, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_t_8, __pyx_t_6, Py_True}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_t_7, __pyx_t_6, Py_True}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1068, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1068, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); } - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1068, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1068, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_16 = (!__pyx_t_12); + + + __pyx_t_10 = __pyx_t_16; + __pyx_L146_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":1058 @@ -19588,6 +22886,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1071 * ) * ): @@ -19595,9 +22894,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif py_db.remove_return_values_flag: */ - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_show_return_values(__pyx_v_self, __pyx_v_frame, __pyx_v_arg); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1071, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_show_return_values(__pyx_v_self, __pyx_v_frame, __pyx_v_arg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1071, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1058 * @@ -19625,12 +22924,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * try: * self._remove_return_values(py_db, frame) */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_remove_return_values_flag); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1073, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1073, __pyx_L107_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_remove_return_values_flag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1073, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1073, __pyx_L107_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1074 * * elif py_db.remove_return_values_flag: @@ -19647,9 +22947,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * finally: * py_db.remove_return_values_flag = False */ - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_remove_return_values(__pyx_v_self, __pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1075, __pyx_L156_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_remove_return_values(__pyx_v_self, __pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1075, __pyx_L156_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } /* "_pydevd_bundle/pydevd_cython.pyx":1077 @@ -19754,31 +23054,52 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa if (__pyx_t_10) { } else { __Pyx_INCREF(__pyx_v_breakpoint); - __pyx_t_8 = __pyx_v_breakpoint; + __pyx_t_7 = __pyx_v_breakpoint; goto __pyx_L161_bool_binop_done; } __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_breakpoint, __pyx_mstate_global->__pyx_n_u_suspend_policy); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1083, __pyx_L107_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1083, __pyx_L107_error) + __pyx_t_8 = __Pyx_PyObject_CompareEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1083, __pyx_L107_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_INCREF(__pyx_t_4); - __pyx_t_8 = __pyx_t_4; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = __pyx_t_8; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_L161_bool_binop_done:; + #if CYTHON_VECTORCALL + + /* "_pydevd_bundle/pydevd_cython.pyx":1080 + * + * if stop: + * self.set_suspend( # <<<<<<<<<<<<<< + * thread, + * stop_reason, +*/ + #endif __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_6, __pyx_v_thread, __pyx_v_stop_reason}; - __pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1080, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_suspend_other_threads, __pyx_t_8, __pyx_t_4, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1080, __pyx_L107_error) - __pyx_t_7 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4); + PyObject *__pyx_callargs[4] = {__pyx_t_6, __pyx_v_thread, __pyx_v_stop_reason, __pyx_t_7}; + #if CYTHON_VECTORCALL + __pyx_t_8 = __pyx_mstate_global->__pyx_tuple[1]; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1080, __pyx_L107_error) + __Pyx_INCREF(__pyx_t_8); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_suspend_other_threads}; + __pyx_t_8 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1080, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_8); + } + #endif + __pyx_t_4 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_8); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + #if CYTHON_VECTORCALL + #endif + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1080, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1080, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); } - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1079 * py_db.remove_return_values_flag = False @@ -19799,14 +23120,18 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_stop_on_plugin_breakpoint) { } else { + __pyx_t_10 = __pyx_v_stop_on_plugin_breakpoint; goto __pyx_L163_bool_binop_done; } __pyx_t_16 = (__pyx_v_plugin_manager != Py_None); + __pyx_t_10 = __pyx_t_16; + __pyx_L163_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1087 * * elif stop_on_plugin_breakpoint and plugin_manager is not None: @@ -19814,18 +23139,18 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if result: * frame = result */ - __pyx_t_4 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_4); + __pyx_t_8 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_8); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[5] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_thread, __pyx_v_frame, __pyx_v_bp_type}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1087, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + PyObject *__pyx_callargs[5] = {__pyx_t_8, __pyx_v_py_db, __pyx_v_thread, __pyx_v_frame, __pyx_v_bp_type}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1087, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); } - __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_7); - __pyx_t_7 = 0; + __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_4); + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1088 * elif stop_on_plugin_breakpoint and plugin_manager is not None: @@ -19837,6 +23162,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1088, __pyx_L107_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1089 * result = plugin_manager.suspend(py_db, thread, frame, bp_type) * if result: @@ -19874,8 +23200,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * return self.trace_dispatch */ __pyx_t_10 = (__pyx_v_info->pydev_state == 2); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1093 * # if thread has a suspend flag, we suspend with a busy wait * if info.pydev_state == 2: @@ -19883,17 +23211,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * return self.trace_dispatch * else: */ - __pyx_t_4 = ((PyObject *)__pyx_v_self); - __Pyx_INCREF(__pyx_t_4); + __pyx_t_8 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_8); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[5] = {__pyx_t_4, __pyx_v_thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1093, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); + PyObject *__pyx_callargs[5] = {__pyx_t_8, __pyx_v_thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1093, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); } - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1094 * if info.pydev_state == 2: @@ -19902,11 +23230,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * if not breakpoint and is_line: */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1094, __pyx_L107_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_r = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1094, __pyx_L107_error) + __Pyx_GOTREF(__pyx_t_4); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_4 = 0; goto __pyx_L111_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1092 @@ -19928,15 +23262,22 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa /*else*/ { __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoint); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1096, __pyx_L107_error) __pyx_t_12 = (!__pyx_t_16); + + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L168_bool_binop_done; } + __pyx_t_10 = __pyx_v_is_line; __pyx_L168_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1098 * if not breakpoint and is_line: * # No stop from anyone and no breakpoint found in line (cache that). @@ -19945,7 +23286,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * except: */ if (unlikely(__pyx_v_frame_skips_cache == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1098, __pyx_L107_error) } if (unlikely((PyDict_SetItem(__pyx_v_frame_skips_cache, __pyx_v_line_cache_key, __pyx_mstate_global->__pyx_int_0) < 0))) __PYX_ERR(0, 1098, __pyx_L107_error) @@ -19991,10 +23332,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*except:*/ { __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.trace_dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_4, &__pyx_t_8) < 0) __PYX_ERR(0, 1100, __pyx_L109_except_error) - __Pyx_XGOTREF(__pyx_t_7); + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_8, &__pyx_t_7) < 0) __PYX_ERR(0, 1100, __pyx_L109_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_8); + __Pyx_XGOTREF(__pyx_t_7); /* "_pydevd_bundle/pydevd_cython.pyx":1103 * # Unfortunately Python itself stops the tracing when it originates from @@ -20029,7 +23370,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1103, __pyx_L109_except_error) __Pyx_GOTREF(__pyx_t_6); } - __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_6, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1103, __pyx_L109_except_error) + __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_6, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1103, __pyx_L109_except_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_exc = __pyx_t_2; @@ -20078,7 +23419,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * % ( * exc, */ - __pyx_t_32 = __Pyx_PyUnicode_Join(__pyx_t_31, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1) + 98 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_30) + 3, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_30)); + __pyx_t_13 = 101; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_13 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_31[0]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_31[2]); + #endif + __pyx_t_11 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_11 |= __Pyx_PyUnicode_KIND_04(__pyx_t_31[0]) | __Pyx_PyUnicode_KIND_04(__pyx_t_31[2]); + #endif + __pyx_t_32 = __Pyx_PyUnicode_Join(__pyx_t_31, 4, __pyx_t_13, __pyx_t_11); if (unlikely(!__pyx_t_32)) __PYX_ERR(0, 1105, __pyx_L109_except_error) __Pyx_GOTREF(__pyx_t_32); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -20136,8 +23485,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = PyObject_IsSubclass(__pyx_v_exc, __pyx_t_2); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 1112, __pyx_L109_except_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_12 = (!__pyx_t_10); + + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1113 * py_db.writer.add_command(cmd) * if not issubclass(exc, (KeyboardInterrupt, SystemExit)): @@ -20189,11 +23541,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # step handling. We stop when we hit the right frame */ - __Pyx_GIVEREF(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_4); - __Pyx_XGIVEREF(__pyx_t_8); - __Pyx_ErrRestoreWithState(__pyx_t_7, __pyx_t_4, __pyx_t_8); - __pyx_t_7 = 0; __pyx_t_4 = 0; __pyx_t_8 = 0; + __Pyx_GIVEREF(__pyx_t_8); + __Pyx_XGIVEREF(__pyx_t_7); + __Pyx_ErrRestoreWithState(__pyx_t_4, __pyx_t_8, __pyx_t_7); + __pyx_t_4 = 0; __pyx_t_8 = 0; __pyx_t_7 = 0; __PYX_ERR(0, 1115, __pyx_L109_except_error) } @@ -20251,15 +23603,16 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if self.should_skip == -1: * # I.e.: cache the result on self.should_skip (no need to evaluate the same frame multiple times). */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1120, __pyx_L173_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1120, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1120, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1120, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_12 = (__pyx_t_8 != Py_None); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_12 = (__pyx_t_4 != Py_None); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1121 * should_skip = 0 * if pydevd_dont_trace.should_trace_hook is not None: @@ -20268,8 +23621,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code */ __pyx_t_12 = (__pyx_v_self->should_skip == -1L); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1125 * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code * # Which will be handled by this frame is read-only, so, we can cache it safely. @@ -20277,47 +23632,50 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # -1, 0, 1 to be Cython-friendly * should_skip = self.should_skip = 1 */ - __pyx_t_8 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1125, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1125, __pyx_L173_error) + __pyx_t_7 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1125, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1125, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1125, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1125, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); if (unlikely(__pyx_v_abs_path_canonical_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1125, __pyx_L173_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1125, __pyx_L173_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1125, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_2))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_2); - assert(__pyx_t_8); + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_2); + assert(__pyx_t_7); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); - __Pyx_INCREF(__pyx_t_8); + __Pyx_INCREF(__pyx_t_7); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_8, __pyx_t_7, __pyx_t_6}; - __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_4, __pyx_t_6}; + __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1125, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1125, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1125, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1125, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_10 = (!__pyx_t_12); + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1127 * if not pydevd_dont_trace.should_trace_hook(frame.f_code, abs_path_canonical_path_and_base[0]): * # -1, 0, 1 to be Cython-friendly @@ -20370,6 +23728,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*else*/ { __pyx_t_11 = __pyx_v_self->should_skip; + __pyx_v_should_skip = __pyx_t_11; } __pyx_L180:; @@ -20401,8 +23760,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_10 = (__pyx_v_should_skip != 0); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1135 * plugin_stop = False * if should_skip: @@ -20441,8 +23802,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_12 = __pyx_t_10; + + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1138 * * elif step_cmd in (107, 144, 206, 105): @@ -20450,10 +23814,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if is_line: * if not info.pydev_use_scoped_step_frame: */ - __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x90)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1138, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_v_force_check_project_scope = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x90)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1138, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_v_force_check_project_scope = __pyx_t_8; + __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1139 * elif step_cmd in (107, 144, 206, 105): @@ -20472,8 +23836,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = not py_db.apply_files_filter(frame, frame.f_code.co_filename, force_check_project_scope) */ __pyx_t_12 = (!__pyx_v_info->pydev_use_scoped_step_frame); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1141 * if is_line: * if not info.pydev_use_scoped_step_frame: @@ -20483,18 +23849,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1141, __pyx_L173_error) if (!__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L186_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1141, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1141, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1141, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1141, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L186_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1142 * if not info.pydev_use_scoped_step_frame: * if force_check_project_scope or py_db.is_files_filter_enabled: @@ -20506,22 +23878,23 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(__pyx_t_2); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1142, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1142, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1142, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_frame, __pyx_t_7, __pyx_v_force_check_project_scope}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_frame, __pyx_t_4, __pyx_v_force_check_project_scope}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1142, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1142, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1142, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1142, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_stop = (!__pyx_t_12); + /* "_pydevd_bundle/pydevd_cython.pyx":1141 * if is_line: * if not info.pydev_use_scoped_step_frame: @@ -20564,18 +23937,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa /*else*/ { __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1146, __pyx_L173_error) if (!__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L189_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1146, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1146, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1146, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1146, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L189_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1148 * if force_check_project_scope or py_db.is_files_filter_enabled: * # Make sure we check the filtering inside ipython calls too... @@ -20583,8 +23962,8 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * return None if is_call else NO_FTRACE * */ - __pyx_t_7 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_7); + __pyx_t_4 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_4); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1148, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1148, __pyx_L173_error) @@ -20592,18 +23971,21 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_v_frame, __pyx_t_6, __pyx_v_force_check_project_scope}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_4, __pyx_v_frame, __pyx_t_6, __pyx_v_force_check_project_scope}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1148, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1148, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1148, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1148, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_10 = (!(!__pyx_t_12)); + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1149 * # Make sure we check the filtering inside ipython calls too... * if not not py_db.apply_files_filter(frame, frame.f_code.co_filename, force_check_project_scope): @@ -20611,18 +23993,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # We can only stop inside the ipython call. */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_4 = Py_None; + __pyx_t_8 = Py_None; } else { __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1149, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __pyx_t_6; + __pyx_t_8 = __pyx_t_6; __pyx_t_6 = 0; } - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1148 @@ -20650,11 +24038,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if filename.endswith(".pyc"): * filename = filename[:-1] */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1152, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1152, __pyx_L173_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1152, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1152, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_filename = __pyx_t_6; __pyx_t_6 = 0; @@ -20665,13 +24053,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * filename = filename[:-1] * */ - __pyx_t_4 = __pyx_v_filename; - __Pyx_INCREF(__pyx_t_4); + __pyx_t_8 = __pyx_v_filename; + __Pyx_INCREF(__pyx_t_8); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_pyc}; + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_mstate_global->__pyx_kp_u_pyc}; __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_endswith, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1153, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); } @@ -20679,6 +24067,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1154 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): @@ -20707,18 +24096,18 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * f = frame.f_back * while f is not None: */ - __pyx_t_4 = __pyx_v_filename; - __Pyx_INCREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1156, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_7, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1156, __pyx_L173_error) + __pyx_t_8 = __pyx_v_filename; + __Pyx_INCREF(__pyx_t_8); + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1156, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_4, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1156, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_2}; + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_2}; __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_endswith, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1156, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); @@ -20726,8 +24115,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1156, __pyx_L173_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_12 = (!__pyx_t_10); + + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1157 * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): @@ -20749,6 +24141,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ while (1) { __pyx_t_12 = (__pyx_v_f != Py_None); + if (!__pyx_t_12) break; /* "_pydevd_bundle/pydevd_cython.pyx":1159 @@ -20765,16 +24158,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1159, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_t_6, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1159, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_GetItemInt(__pyx_t_6, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1159, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = PyObject_RichCompare(__pyx_t_2, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1159, __pyx_L173_error) + __pyx_t_12 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_2, __pyx_t_8, Py_EQ); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1159, __pyx_L173_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1159, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1160 * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: @@ -20782,10 +24174,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1160, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_XDECREF_SET(__pyx_v_f2, __pyx_t_6); - __pyx_t_6 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1160, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_XDECREF_SET(__pyx_v_f2, __pyx_t_8); + __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1161 * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: @@ -20796,29 +24188,33 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_10 = (__pyx_v_f2 != Py_None); if (__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L198_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1161, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_6, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1161, __pyx_L173_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1161, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1161, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1161, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = __Pyx_GetItemInt(__pyx_t_8, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_2, __pyx_t_6, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1161, __pyx_L173_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1161, __pyx_L173_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L198_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1162 * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: @@ -20827,28 +24223,28 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * break */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1162, __pyx_L173_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1162, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1162, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1162, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7); + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4); assert(__pyx_t_2); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); __pyx_t_5 = 0; } #endif { PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_Stop_inside_ipython_call}; - __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1162, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); } @@ -20930,8 +24326,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # afterwards anyways. */ __pyx_t_12 = (!__pyx_v_stop); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1172 * # In scoped mode if step in didn't work in this context it won't work * # afterwards anyways. @@ -20939,17 +24337,23 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif is_return and frame.f_back is not None and not info.pydev_use_scoped_step_frame: */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); __pyx_t_6 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1172, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __pyx_t_7; - __pyx_t_7 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1172, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __pyx_t_4; + __pyx_t_4 = 0; + } + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); } - __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L177_try_return; @@ -20983,6 +24387,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_return) { } else { + __pyx_t_12 = __pyx_v_is_return; goto __pyx_L201_bool_binop_done; } @@ -20991,15 +24396,22 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = (__pyx_t_6 != Py_None); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L201_bool_binop_done; } __pyx_t_10 = (!__pyx_v_info->pydev_use_scoped_step_frame); + + __pyx_t_12 = __pyx_t_10; + __pyx_L201_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1175 * * elif is_return and frame.f_back is not None and not info.pydev_use_scoped_step_frame: @@ -21007,28 +24419,27 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = False * else: */ - __pyx_t_7 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_7); + __pyx_t_4 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_4); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1175, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_2}; + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_2}; __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_file_type, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1175, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); } __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_PYDEV_FILE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1175, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_6, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1175, __pyx_L173_error) + __pyx_t_12 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_6, __pyx_t_2, Py_EQ); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1175, __pyx_L173_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1175, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1176 * elif is_return and frame.f_back is not None and not info.pydev_use_scoped_step_frame: * if py_db.get_file_type(frame.f_back) == py_db.PYDEV_FILE: @@ -21058,18 +24469,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa /*else*/ { __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1178, __pyx_L173_error) if (!__pyx_t_10) { + } else { + __pyx_t_12 = __pyx_t_10; + goto __pyx_L206_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1178, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1178, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1178, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1178, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_12 = __pyx_t_10; + __pyx_L206_bool_binop_done:; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1179 * else: * if force_check_project_scope or py_db.is_files_filter_enabled: @@ -21077,8 +24494,8 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * frame.f_back, frame.f_back.f_code.co_filename, force_check_project_scope * ) */ - __pyx_t_2 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_2); + __pyx_t_6 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_6); /* "_pydevd_bundle/pydevd_cython.pyx":1180 * if force_check_project_scope or py_db.is_files_filter_enabled: @@ -21087,25 +24504,25 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ) * if stop: */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1180, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1180, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1180, __pyx_L173_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1180, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1180, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1180, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1180, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_5 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_t_6, __pyx_t_4, __pyx_v_force_check_project_scope}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_6, __pyx_t_4, __pyx_t_8, __pyx_v_force_check_project_scope}; + __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1179, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1179, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); } /* "_pydevd_bundle/pydevd_cython.pyx":1179 @@ -21115,10 +24532,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * frame.f_back, frame.f_back.f_code.co_filename, force_check_project_scope * ) */ - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1179, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1179, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_stop = (!__pyx_t_12); + /* "_pydevd_bundle/pydevd_cython.pyx":1182 * frame.f_back, frame.f_back.f_code.co_filename, force_check_project_scope * ) @@ -21135,27 +24553,26 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = False * else: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1185, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1185, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1185, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1185, __pyx_L173_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1185, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1185, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1185, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GIVEREF(__pyx_t_7); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 1185, __pyx_L173_error); - __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1185, __pyx_L173_error); - __pyx_t_7 = 0; - __pyx_t_6 = 0; - __pyx_t_6 = PyObject_RichCompare(__pyx_v_info->step_in_initial_location, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1185, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1185, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1185, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_2) != (0)) __PYX_ERR(0, 1185, __pyx_L173_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 1185, __pyx_L173_error); + __pyx_t_2 = 0; + __pyx_t_4 = 0; + __pyx_t_12 = __Pyx_PyObject_RichCompareBool(__pyx_v_info->step_in_initial_location, __pyx_t_8, Py_EQ); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1185, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1186 * # (i.e.: double-stop at the same place due to some filtering). * if info.step_in_initial_location == (frame.f_back, frame.f_back.f_lineno): @@ -21246,8 +24663,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * f = frame */ __pyx_t_12 = (__pyx_v_step_cmd == 0xCE); + if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1195 * if step_cmd == 206: * # i.e.: Check if we're stepping into the proper context. @@ -21267,6 +24686,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ while (1) { __pyx_t_12 = (__pyx_v_f != Py_None); + if (!__pyx_t_12) break; /* "_pydevd_bundle/pydevd_cython.pyx":1197 @@ -21276,12 +24696,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * break * f = f.f_back */ - __pyx_t_6 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_f); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1197, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1197, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_f); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1197, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1197, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1198 * while f is not None: * if self._is_same_frame(stop_frame, f): @@ -21307,10 +24728,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * stop = False */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1199, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_6); - __pyx_t_6 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1199, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_8); + __pyx_t_8 = 0; } /* "_pydevd_bundle/pydevd_cython.pyx":1201 @@ -21353,6 +24774,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1204 * * if plugin_manager is not None: @@ -21363,32 +24785,32 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_4 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1204, __pyx_L173_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1204, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1204, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1204, __pyx_L173_error) } - __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1204, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1204, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1204, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1204, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[8] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_7, __pyx_t_2, __pyx_v_stop_info, __pyx_t_8}; - __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_into, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[8] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_2, __pyx_t_6, __pyx_v_stop_info, __pyx_t_7}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_into, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1204, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1204, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_6); - __pyx_t_6 = 0; + __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_8); + __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1205 * if plugin_manager is not None: @@ -21400,6 +24822,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1205, __pyx_L173_error) if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":1206 * result = plugin_manager.cmd_step_into(py_db, frame, event, self._args[2], self._args[3], stop_info, stop) * if result: @@ -21417,49 +24840,49 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_6 = PyTuple_GET_ITEM(sequence, 0); - __Pyx_INCREF(__pyx_t_6); - __pyx_t_8 = PyTuple_GET_ITEM(sequence, 1); + __pyx_t_8 = PyTuple_GET_ITEM(sequence, 0); __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = PyTuple_GET_ITEM(sequence, 1); + __Pyx_INCREF(__pyx_t_7); } else { - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1206, __pyx_L173_error) - __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_8 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1206, __pyx_L173_error) __Pyx_XGOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1206, __pyx_L173_error) + __Pyx_XGOTREF(__pyx_t_7); } #else - __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1206, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1206, __pyx_L173_error) + __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1206, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1206, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); #endif } else { Py_ssize_t index = -1; - __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1206, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); - index = 0; __pyx_t_6 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_6)) goto __pyx_L217_unpacking_failed; + __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1206, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_6); - index = 1; __pyx_t_8 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_8)) goto __pyx_L217_unpacking_failed; + __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); + index = 0; __pyx_t_8 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_8)) goto __pyx_L217_unpacking_failed; __Pyx_GOTREF(__pyx_t_8); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1206, __pyx_L173_error) + index = 1; __pyx_t_7 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_7)) goto __pyx_L217_unpacking_failed; + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_6), 2) < (0)) __PYX_ERR(0, 1206, __pyx_L173_error) __pyx_t_15 = NULL; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L218_unpacking_done; __pyx_L217_unpacking_failed:; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); __PYX_ERR(0, 1206, __pyx_L173_error) __pyx_L218_unpacking_done:; } - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1206, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1206, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_stop = __pyx_t_12; - __Pyx_DECREF_SET(__pyx_v_plugin_stop, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_DECREF_SET(__pyx_v_plugin_stop, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1205 * if plugin_manager is not None: @@ -21506,8 +24929,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_10 = __pyx_t_12; + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1212 * # difference is that when we return from a frame in one we go to regular step * # into and in the other we go to a step into my code). @@ -21515,15 +24941,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # Note: don't stop on a return for step over, only for line events * # i.e.: don't stop in: (stop_frame is frame.f_back and is_return) as we'd stop twice in that line. */ - __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1212, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1212, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1212, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1212, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L219_bool_binop_done; } + __pyx_t_10 = __pyx_v_is_line; __pyx_L219_bool_binop_done:; __pyx_v_stop = __pyx_t_10; @@ -21538,6 +24968,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1217 * * if plugin_manager is not None: @@ -21545,35 +24976,35 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if result: * stop, plugin_stop = result */ - __pyx_t_6 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_6); + __pyx_t_8 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_8); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1217, __pyx_L173_error) } - __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1217, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1217, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1217, __pyx_L173_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1217, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1217, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1217, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[8] = {__pyx_t_6, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_2, __pyx_t_7, __pyx_v_stop_info, __pyx_t_4}; - __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_over, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + PyObject *__pyx_callargs[8] = {__pyx_t_8, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_6, __pyx_t_2, __pyx_v_stop_info, __pyx_t_4}; + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_over, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1217, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1217, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_8); - __pyx_t_8 = 0; + __Pyx_XDECREF_SET(__pyx_v_result, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1218 * if plugin_manager is not None: @@ -21585,6 +25016,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1218, __pyx_L173_error) if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1219 * result = plugin_manager.cmd_step_over(py_db, frame, event, self._args[2], self._args[3], stop_info, stop) * if result: @@ -21602,46 +25034,46 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_8 = PyTuple_GET_ITEM(sequence, 0); - __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = PyTuple_GET_ITEM(sequence, 0); + __Pyx_INCREF(__pyx_t_7); __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_4); } else { - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1219, __pyx_L173_error) - __Pyx_XGOTREF(__pyx_t_8); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1219, __pyx_L173_error) + __Pyx_XGOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1219, __pyx_L173_error) __Pyx_XGOTREF(__pyx_t_4); } #else - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1219, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1219, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1219, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); #endif } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1219, __pyx_L173_error) + __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1219, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); + index = 0; __pyx_t_7 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_7)) goto __pyx_L223_unpacking_failed; __Pyx_GOTREF(__pyx_t_7); - __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); - index = 0; __pyx_t_8 = __pyx_t_15(__pyx_t_7); if (unlikely(!__pyx_t_8)) goto __pyx_L223_unpacking_failed; - __Pyx_GOTREF(__pyx_t_8); - index = 1; __pyx_t_4 = __pyx_t_15(__pyx_t_7); if (unlikely(!__pyx_t_4)) goto __pyx_L223_unpacking_failed; + index = 1; __pyx_t_4 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_4)) goto __pyx_L223_unpacking_failed; __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_7), 2) < (0)) __PYX_ERR(0, 1219, __pyx_L173_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1219, __pyx_L173_error) __pyx_t_15 = NULL; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L224_unpacking_done; __pyx_L223_unpacking_failed:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); __PYX_ERR(0, 1219, __pyx_L173_error) __pyx_L224_unpacking_done:; } - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1219, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1219, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_stop = __pyx_t_10; __Pyx_DECREF_SET(__pyx_v_plugin_stop, __pyx_t_4); __pyx_t_4 = 0; @@ -21682,8 +25114,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * back = frame.f_back */ __pyx_t_10 = (__pyx_v_step_cmd == 0x80); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1222 * * elif step_cmd == 128: @@ -21717,14 +25151,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1224, __pyx_L173_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L226_bool_binop_done; } + __pyx_t_10 = __pyx_v_is_return; __pyx_L226_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1226 * if self._is_same_frame(stop_frame, frame) and is_return: * # We're exiting the smart step into initial frame (so, we probably didn't find our target). @@ -21756,14 +25195,19 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 1228, __pyx_L173_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L228_bool_binop_done; } + __pyx_t_10 = __pyx_v_is_line; __pyx_L228_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1229 * * elif self._is_same_frame(stop_frame, back) and is_line: @@ -21772,8 +25216,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # we're interested in the pause in the child (when the parent is at the proper place). */ __pyx_t_10 = (__pyx_v_info->pydev_smart_child_offset != -1L); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1232 * # i.e.: in this case, we're not interested in the pause in the parent, rather * # we're interested in the pause in the child (when the parent is at the proper place). @@ -21802,6 +25248,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*else*/ { __pyx_t_11 = __pyx_v_info->pydev_smart_parent_offset; + __pyx_v_pydev_smart_parent_offset = __pyx_t_11; /* "_pydevd_bundle/pydevd_cython.pyx":1237 @@ -21824,9 +25271,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # and the offset is set). */ __pyx_t_12 = (__pyx_v_pydev_smart_parent_offset >= 0); + if (__pyx_t_12) { + } else { + __pyx_t_10 = __pyx_t_12; + goto __pyx_L232_bool_binop_done; } if (__pyx_v_pydev_smart_step_into_variants == Py_None) __pyx_t_12 = 0; @@ -21837,10 +25288,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_12 = (__pyx_temp != 0); } + __pyx_t_10 = __pyx_t_12; + __pyx_L232_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1241 * # Preferred mode (when the smart step into variants are available * # and the offset is set). @@ -21848,9 +25302,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * back.f_lasti, pydev_smart_step_into_variants * ) is get_smart_step_into_variant_from_frame_offset( */ - __pyx_t_8 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1241, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_7 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1241, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); /* "_pydevd_bundle/pydevd_cython.pyx":1242 * # and the offset is set). @@ -21859,26 +25313,26 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ) is get_smart_step_into_variant_from_frame_offset( * pydev_smart_parent_offset, pydev_smart_step_into_variants */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1242, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1242, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7); - assert(__pyx_t_8); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); - __Pyx_INCREF(__pyx_t_8); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_2); + assert(__pyx_t_7); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_7); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_8, __pyx_t_2, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1241, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); } @@ -21890,9 +25344,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * pydev_smart_parent_offset, pydev_smart_step_into_variants * ) */ - __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1243, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1243, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); /* "_pydevd_bundle/pydevd_cython.pyx":1244 * back.f_lasti, pydev_smart_step_into_variants @@ -21901,32 +25355,32 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ) * */ - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1244, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1244, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_8))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_8); - assert(__pyx_t_2); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_8); - __Pyx_INCREF(__pyx_t_2); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_7); + assert(__pyx_t_6); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_6); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_8, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_6, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_8, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_t_8, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1243, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1243, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_10 = (__pyx_t_4 == __pyx_t_7); + __pyx_t_10 = (__pyx_t_4 == __pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_stop = __pyx_t_10; /* "_pydevd_bundle/pydevd_cython.pyx":1238 @@ -21947,11 +25401,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # global context is set with an empty name */ /*else*/ { - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1249, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L173_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1249, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (!(likely(PyUnicode_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_4))) __PYX_ERR(0, 1249, __pyx_L173_error) __Pyx_XDECREF_SET(__pyx_v_curr_func_name, ((PyObject*)__pyx_t_4)); __pyx_t_4 = 0; @@ -21965,27 +25419,40 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __Pyx_INCREF(__pyx_v_curr_func_name); __pyx_t_22 = __pyx_v_curr_func_name; - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u__3, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1252, __pyx_L173_error) + __pyx_t_16 = (__Pyx_PyObject_Equals_str_ch63(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u__2, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1252, __pyx_L173_error) if (!__pyx_t_16) { + } else { + __pyx_t_12 = __pyx_t_16; + goto __pyx_L237_bool_binop_done; } - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_module, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1252, __pyx_L173_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_t_22, __pyx_mstate_global->__pyx_kp_u_module_2, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1252, __pyx_L173_error) + __pyx_t_12 = __pyx_t_16; + __pyx_L237_bool_binop_done:; __Pyx_DECREF(__pyx_t_22); __pyx_t_22 = 0; __pyx_t_16 = __pyx_t_12; + + if (!__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L235_bool_binop_done; } __pyx_t_16 = (__pyx_v_curr_func_name == ((PyObject*)Py_None)); + __pyx_t_10 = __pyx_t_16; + __pyx_L235_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1253 * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: @@ -22012,25 +25479,29 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = True * */ - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1254, __pyx_L173_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1254, __pyx_L173_error) if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L240_bool_binop_done; } __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1254, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1254, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PyObject_RichCompare(__pyx_t_4, __pyx_t_7, Py_EQ); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1254, __pyx_L173_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1254, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_int(__pyx_t_4, __pyx_t_2, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1254, __pyx_L173_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1254, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L240_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1255 * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: @@ -22061,8 +25532,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # not be the case next time either, so, disable tracing for this frame. */ __pyx_t_10 = (!__pyx_v_stop); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1260 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. @@ -22070,18 +25543,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif back is not None and self._is_same_frame(stop_frame, back.f_back) and is_line: */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_8 = Py_None; + __pyx_t_2 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1260, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __pyx_t_7; - __pyx_t_7 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1260, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __pyx_t_4; + __pyx_t_4 = 0; } - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1257 @@ -22112,26 +25591,34 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = (__pyx_v_back != Py_None); if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L243_bool_binop_done; } - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1262, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_8); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1262, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1262, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1262, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1262, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1262, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L243_bool_binop_done; } + __pyx_t_10 = __pyx_v_is_line; __pyx_L243_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1266 * # This happens when handling a step into which targets a function inside a list comprehension * # or generator (in which case an intermediary frame is created due to an internal function call). @@ -22140,6 +25627,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # print('matched back frame', pydev_smart_parent_offset, pydev_smart_child_offset) */ __pyx_t_11 = __pyx_v_info->pydev_smart_parent_offset; + __pyx_v_pydev_smart_parent_offset = __pyx_t_11; /* "_pydevd_bundle/pydevd_cython.pyx":1267 @@ -22150,6 +25638,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # print('parent f_lasti', back.f_back.f_lasti) */ __pyx_t_11 = __pyx_v_info->pydev_smart_child_offset; + __pyx_v_pydev_smart_child_offset = __pyx_t_11; /* "_pydevd_bundle/pydevd_cython.pyx":1271 @@ -22169,16 +25658,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_16 = (__pyx_v_pydev_smart_child_offset >= 0); + if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L247_bool_binop_done; } __pyx_t_16 = (__pyx_v_pydev_smart_child_offset >= 0); + + __pyx_t_10 = __pyx_t_16; + __pyx_L247_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1273 * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: @@ -22186,10 +25683,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: */ - __pyx_t_7 = __pyx_v_info->pydev_smart_step_into_variants; - __Pyx_INCREF(__pyx_t_7); - __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_4 = __pyx_v_info->pydev_smart_step_into_variants; + __Pyx_INCREF(__pyx_t_4); + __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_4); + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1275 * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants @@ -22199,9 +25696,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # the child (because this is a generator, the parent may have moved forward */ __pyx_t_16 = (__pyx_v_pydev_smart_parent_offset >= 0); + if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L250_bool_binop_done; } if (__pyx_v_pydev_smart_step_into_variants == Py_None) __pyx_t_16 = 0; @@ -22212,10 +25713,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = (__pyx_temp != 0); } + __pyx_t_10 = __pyx_t_16; + __pyx_L250_bool_binop_done:; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1280 * # already -- and that's ok, so, we just check that the parent frame * # matches in this case). @@ -22223,9 +25727,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * pydev_smart_parent_offset, pydev_smart_step_into_variants * ) */ - __pyx_t_8 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1280, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1280, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); /* "_pydevd_bundle/pydevd_cython.pyx":1281 * # matches in this case). @@ -22234,31 +25738,31 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ) * # print('matched parent offset', pydev_smart_parent_offset) */ - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1281, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1281, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_4); - assert(__pyx_t_8); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_8); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7); + assert(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_8, __pyx_t_6, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1280, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_8, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1280, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); } - __pyx_v_smart_step_into_variant = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_v_smart_step_into_variant = __pyx_t_4; + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1285 * # print('matched parent offset', pydev_smart_parent_offset) @@ -22267,10 +25771,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_mstate_global->__pyx_n_u_children_variants); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1285, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_v_children_variants = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_mstate_global->__pyx_n_u_children_variants); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1285, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_v_children_variants = __pyx_t_4; + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1286 * # Ok, now, check the child variant @@ -22281,8 +25785,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1286, __pyx_L173_error) if (__pyx_t_16) { + } else { + __pyx_t_10 = __pyx_t_16; + goto __pyx_L252_bool_binop_done; } @@ -22293,31 +25800,31 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) * ) */ - __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1287, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1287, __pyx_L173_error) + __pyx_t_7 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1287, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1287, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_6); - assert(__pyx_t_4); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_6); - __Pyx_INCREF(__pyx_t_4); + if (unlikely(PyMethod_Check(__pyx_t_8))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_8); + assert(__pyx_t_7); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_8); + __Pyx_INCREF(__pyx_t_7); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_6, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_8, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_8, __pyx_v_children_variants}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_2, __pyx_v_children_variants}; + __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_8, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1287, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1287, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); } /* "_pydevd_bundle/pydevd_cython.pyx":1288 @@ -22327,36 +25834,38 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * ) * # print('stop at child', stop) */ - __pyx_t_8 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1288, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1288, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_2 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1288, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1288, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_4); - assert(__pyx_t_8); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_8); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_7); + assert(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_8, __pyx_t_2, __pyx_v_children_variants}; - __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1288, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_6, __pyx_v_children_variants}; + __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1288, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_16 = (__pyx_t_7 == __pyx_t_6); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_16 = (__pyx_t_4 == __pyx_t_8); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_10 = __pyx_t_16; + __pyx_L252_bool_binop_done:; __pyx_v_stop = __pyx_t_10; @@ -22386,8 +25895,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # not be the case next time either, so, disable tracing for this frame. */ __pyx_t_10 = (!__pyx_v_stop); + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1295 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. @@ -22395,18 +25906,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif step_cmd in (109, 160): */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_6 = Py_None; + __pyx_t_8 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1295, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __pyx_t_7; - __pyx_t_7 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1295, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __pyx_t_4; + __pyx_t_4 = 0; } - __pyx_r = __pyx_t_6; - __pyx_t_6 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1292 @@ -22455,8 +25972,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa break; } __pyx_t_16 = __pyx_t_10; + + if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1298 * * elif step_cmd in (109, 160): @@ -22466,14 +25986,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_is_return) { } else { + __pyx_t_16 = __pyx_v_is_return; goto __pyx_L255_bool_binop_done; } - __pyx_t_6 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1298, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1298, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v_self->__pyx_vtab)->_is_same_frame(__pyx_v_self, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1298, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1298, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_16 = __pyx_t_10; + __pyx_L255_bool_binop_done:; __pyx_v_stop = __pyx_t_16; @@ -22508,25 +26031,34 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ if (__pyx_v_stop) { } else { + __pyx_t_16 = __pyx_v_stop; goto __pyx_L258_bool_binop_done; } __pyx_t_10 = (__pyx_v_step_cmd != -1L); + if (__pyx_t_10) { + } else { + __pyx_t_16 = __pyx_t_10; + goto __pyx_L258_bool_binop_done; } if (__pyx_v_is_return) { } else { + __pyx_t_16 = __pyx_v_is_return; goto __pyx_L258_bool_binop_done; } __pyx_t_10 = __Pyx_HasAttr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 1303, __pyx_L173_error) + __pyx_t_16 = __pyx_t_10; + __pyx_L258_bool_binop_done:; if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1304 * * if stop and step_cmd != -1 and is_return and hasattr(frame, "f_back"): @@ -22534,13 +26066,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if f_code is not None: * if py_db.get_file_type(frame.f_back) == py_db.PYDEV_FILE: */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1304, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_GetAttr3(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_code, Py_None); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1304, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_v_f_code = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1304, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_4 = __Pyx_GetAttr3(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_f_code, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1304, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_v_f_code = __pyx_t_4; + __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1305 * if stop and step_cmd != -1 and is_return and hasattr(frame, "f_back"): @@ -22552,6 +26084,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = (__pyx_v_f_code != Py_None); if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1306 * f_code = getattr(frame.f_back, "f_code", None) * if f_code is not None: @@ -22559,28 +26092,27 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * stop = False * */ - __pyx_t_6 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1306, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_8); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1306, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_4}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_file_type, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1306, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_7}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_file_type, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1306, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_4); } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_PYDEV_FILE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1306, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_7, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1306, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_PYDEV_FILE); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1306, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_7, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1306, __pyx_L173_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1306, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1307 * if f_code is not None: * if py_db.get_file_type(frame.f_back) == py_db.PYDEV_FILE: @@ -22627,6 +26159,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1309, __pyx_L173_error) if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1310 * * if plugin_stop: @@ -22637,24 +26170,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_4 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_4); if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1310, __pyx_L173_error) } - __pyx_t_7 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1310, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1310, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __Pyx_GetItemInt_Tuple(__pyx_v_self->_args, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1310, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1310, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[8] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_7, __pyx_v_stop_info, __pyx_v_arg, __pyx_t_2}; - __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_stop, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[8] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_frame, __pyx_v_event, __pyx_t_8, __pyx_v_stop_info, __pyx_v_arg, __pyx_t_6}; + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_stop, __pyx_callargs+__pyx_t_5, (8-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1310, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1310, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1309 * stop = False @@ -22691,27 +26224,40 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * self.do_wait_suspend(thread, frame, event, arg) * elif is_return: # return event */ - __pyx_t_2 = ((PyObject *)__pyx_v_self); - __Pyx_INCREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1313, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_6 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_6); + __pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1313, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1313, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); + #if CYTHON_VECTORCALL + #endif __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_v_thread, __pyx_t_7}; - __pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1313, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_4, __pyx_t_8, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1313, __pyx_L173_error) - __pyx_t_6 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_8); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_6, __pyx_v_thread, __pyx_t_8, __pyx_t_4}; + #if CYTHON_VECTORCALL + __pyx_t_2 = __pyx_mstate_global->__pyx_tuple[2]; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1313, __pyx_L173_error) + __Pyx_INCREF(__pyx_t_2); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_2 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1313, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + } + #endif + __pyx_t_7 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_2); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1313, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + #if CYTHON_VECTORCALL + #endif + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1313, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1314 * if is_line: @@ -22720,17 +26266,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * elif is_return: # return event * back = frame.f_back */ - __pyx_t_8 = ((PyObject *)__pyx_v_self); - __Pyx_INCREF(__pyx_t_8); + __pyx_t_2 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_2); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[5] = {__pyx_t_8, __pyx_v_thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; - __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1314, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + PyObject *__pyx_callargs[5] = {__pyx_t_2, __pyx_v_thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; + __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1314, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1312 * plugin_manager.stop(py_db, frame, event, self._args[3], stop_info, arg, step_cmd) @@ -22758,10 +26304,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if back is not None: * # When we get to the pydevd run function, the debugging has actually finished for the main thread */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1316, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_XDECREF_SET(__pyx_v_back, __pyx_t_6); - __pyx_t_6 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1316, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XDECREF_SET(__pyx_v_back, __pyx_t_7); + __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1317 * elif is_return: # return event @@ -22773,6 +26319,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = (__pyx_v_back != Py_None); if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1321 * # (note that it can still go on for other threads, but for this one, we just make it finish) * # So, just setting it to None should be OK @@ -22780,31 +26327,31 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): * back = None */ - __pyx_t_8 = NULL; + __pyx_t_2 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1321, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_4); - assert(__pyx_t_8); + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4); + assert(__pyx_t_2); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_8); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_v_back}; - __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_back}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1321, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1321, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); } - if ((likely(PyTuple_CheckExact(__pyx_t_6))) || (PyList_CheckExact(__pyx_t_6))) { - PyObject* sequence = __pyx_t_6; + if ((likely(PyTuple_CheckExact(__pyx_t_7))) || (PyList_CheckExact(__pyx_t_7))) { + PyObject* sequence = __pyx_t_7; Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); @@ -22815,48 +26362,48 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa if (likely(PyTuple_CheckExact(sequence))) { __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); __Pyx_INCREF(__pyx_t_4); - __pyx_t_8 = PyTuple_GET_ITEM(sequence, 1); + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); + __Pyx_INCREF(__pyx_t_2); + __pyx_t_8 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_8); - __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2); - __Pyx_INCREF(__pyx_t_7); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1321, __pyx_L173_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1321, __pyx_L173_error) + __Pyx_XGOTREF(__pyx_t_2); + __pyx_t_8 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1321, __pyx_L173_error) __Pyx_XGOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1321, __pyx_L173_error) - __Pyx_XGOTREF(__pyx_t_7); } #else __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1321, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1321, __pyx_L173_error) + __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1321, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1321, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1321, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); #endif - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_2 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1321, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); - index = 0; __pyx_t_4 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_4)) goto __pyx_L267_unpacking_failed; + __pyx_t_6 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1321, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); + index = 0; __pyx_t_4 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_4)) goto __pyx_L267_unpacking_failed; __Pyx_GOTREF(__pyx_t_4); - index = 1; __pyx_t_8 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_8)) goto __pyx_L267_unpacking_failed; + index = 1; __pyx_t_2 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_2)) goto __pyx_L267_unpacking_failed; + __Pyx_GOTREF(__pyx_t_2); + index = 2; __pyx_t_8 = __pyx_t_15(__pyx_t_6); if (unlikely(!__pyx_t_8)) goto __pyx_L267_unpacking_failed; __Pyx_GOTREF(__pyx_t_8); - index = 2; __pyx_t_7 = __pyx_t_15(__pyx_t_2); if (unlikely(!__pyx_t_7)) goto __pyx_L267_unpacking_failed; - __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_2), 3) < (0)) __PYX_ERR(0, 1321, __pyx_L173_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_6), 3) < (0)) __PYX_ERR(0, 1321, __pyx_L173_error) __pyx_t_15 = NULL; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L268_unpacking_done; __pyx_L267_unpacking_failed:; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); __PYX_ERR(0, 1321, __pyx_L173_error) @@ -22864,10 +26411,10 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } __pyx_v_back_absolute_filename = __pyx_t_4; __pyx_t_4 = 0; - __pyx_v__ = __pyx_t_8; + __pyx_v__ = __pyx_t_2; + __pyx_t_2 = 0; + __pyx_v_base = __pyx_t_8; __pyx_t_8 = 0; - __pyx_v_base = __pyx_t_7; - __pyx_t_7 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1322 * # So, just setting it to None should be OK @@ -22876,42 +26423,46 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * back = None * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1322, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L173_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1322, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_base); __Pyx_GIVEREF(__pyx_v_base); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_base) != (0)) __PYX_ERR(0, 1322, __pyx_L173_error); - __Pyx_GIVEREF(__pyx_t_7); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_7) != (0)) __PYX_ERR(0, 1322, __pyx_L173_error); - __pyx_t_7 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_DEBUG_START); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PyObject_RichCompare(__pyx_t_6, __pyx_t_7, Py_EQ); __Pyx_XGOTREF(__pyx_t_8); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1322, __pyx_L173_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_base) != (0)) __PYX_ERR(0, 1322, __pyx_L173_error); + __Pyx_GIVEREF(__pyx_t_8); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 1322, __pyx_L173_error); + __pyx_t_8 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_DEBUG_START); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_10 = __Pyx_PyObject_RichCompareBool(__pyx_t_7, __pyx_t_8, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1322, __pyx_L173_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (!__pyx_t_10) { + } else { + __pyx_t_16 = __pyx_t_10; + goto __pyx_L270_bool_binop_done; } __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_6, __pyx_t_8, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L173_error) + __pyx_t_10 = __Pyx_PyObject_RichCompareBool(__pyx_t_7, __pyx_t_8, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1322, __pyx_L173_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1322, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_16 = __pyx_t_10; + __pyx_L270_bool_binop_done:; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_10 = __pyx_t_16; + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1323 * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): @@ -22939,14 +26490,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_TRACE_PROPERTY); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1325, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_v_base, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1325, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1325, __pyx_L173_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_TRACE_PROPERTY); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1325, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_10 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_v_base, __pyx_t_7, Py_EQ); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1325, __pyx_L173_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1328 * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! @@ -22954,17 +26504,23 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * elif pydevd_dont_trace.should_trace_hook is not None: */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); __pyx_t_7 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1328, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __pyx_t_6; - __pyx_t_6 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1328, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_7 = __pyx_t_8; + __pyx_t_8 = 0; + } + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_7; + } + __Pyx_XDECREF(__pyx_temp); } - __pyx_r = __pyx_t_7; __pyx_t_7 = 0; goto __pyx_L177_try_return; @@ -22986,13 +26542,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1330, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1330, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1330, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_10 = (__pyx_t_6 != Py_None); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_10 = (__pyx_t_8 != Py_None); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1331 * * elif pydevd_dont_trace.should_trace_hook is not None: @@ -23001,13 +26558,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * # Also, we have to reset the tracing, because if the parent's parent (or some */ __pyx_t_7 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1331, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1331, __pyx_L173_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1331, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1331, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1331, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1331, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_4))) { @@ -23021,19 +26578,22 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_8, __pyx_v_back_absolute_filename}; - __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_2, __pyx_v_back_absolute_filename}; + __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1331, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1331, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1331, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1331, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_16 = (!__pyx_t_10); + + if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1337 * # we should anymore (so, a step in/over/return may not stop anywhere if no parent is traced). * # Related test: _debugger_case17a.py @@ -23043,18 +26603,18 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_4 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_ident_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1337, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_ident_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1337, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_8, __pyx_v_back}; - __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_trace_for_frame_and_parents, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_2, __pyx_v_back}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_trace_for_frame_and_parents, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1337, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1337, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1338 * # Related test: _debugger_case17a.py @@ -23063,18 +26623,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * if back is not None: */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_6 = Py_None; + __pyx_t_8 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1338, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_6 = __pyx_t_8; - __pyx_t_8 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1338, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __pyx_t_2; + __pyx_t_2 = 0; } - __pyx_r = __pyx_t_6; - __pyx_t_6 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1331 @@ -23115,6 +26681,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = (__pyx_v_back != Py_None); if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1342 * if back is not None: * # if we're in a return, we want it to appear to the user in the previous frame! @@ -23122,27 +26689,40 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * self.do_wait_suspend(thread, back, event, arg) * else: */ - __pyx_t_8 = ((PyObject *)__pyx_v_self); - __Pyx_INCREF(__pyx_t_8); + __pyx_t_2 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1342, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1342, __pyx_L173_error) __Pyx_GOTREF(__pyx_t_7); + #if CYTHON_VECTORCALL + #endif __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_8, __pyx_v_thread, __pyx_t_4}; - __pyx_t_2 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1342, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_7, __pyx_t_2, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1342, __pyx_L173_error) - __pyx_t_6 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_2); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_thread, __pyx_t_4, __pyx_t_7}; + #if CYTHON_VECTORCALL + __pyx_t_6 = __pyx_mstate_global->__pyx_tuple[2]; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1342, __pyx_L173_error) + __Pyx_INCREF(__pyx_t_6); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_6 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1342, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); + } + #endif + __pyx_t_8 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_6); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1342, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1342, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1343 * # if we're in a return, we want it to appear to the user in the previous frame! @@ -23151,17 +26731,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * else: * # in jython we may not have a back frame */ - __pyx_t_2 = ((PyObject *)__pyx_v_self); - __Pyx_INCREF(__pyx_t_2); + __pyx_t_6 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_6); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[5] = {__pyx_t_2, __pyx_v_thread, __pyx_v_back, __pyx_v_event, __pyx_v_arg}; - __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1343, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); + PyObject *__pyx_callargs[5] = {__pyx_t_6, __pyx_v_thread, __pyx_v_back, __pyx_v_event, __pyx_v_arg}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1343, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); } - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1340 * return None if is_call else NO_FTRACE @@ -23184,8 +26764,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":1347 * # in jython we may not have a back frame @@ -23221,9 +26800,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * # if we are quitting, let's stop the tracing */ - __pyx_t_6 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1350, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1350, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } __pyx_L273:; @@ -23254,12 +26833,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * return None if is_call else NO_FTRACE * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_quitting); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1353, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1353, __pyx_L173_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_quitting); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1353, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 1353, __pyx_L173_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; if (__pyx_t_16) { + /* "_pydevd_bundle/pydevd_cython.pyx":1354 * # if we are quitting, let's stop the tracing * if py_db.quitting: @@ -23267,18 +26847,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * return self.trace_dispatch */ - __Pyx_XDECREF(__pyx_r); if (__pyx_v_is_call) { __Pyx_INCREF(Py_None); - __pyx_t_6 = Py_None; + __pyx_t_8 = Py_None; } else { - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1354, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __pyx_t_2; - __pyx_t_2 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_NO_FTRACE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1354, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __pyx_t_6; + __pyx_t_6 = 0; } - __pyx_r = __pyx_t_6; - __pyx_t_6 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1353 @@ -23297,11 +26883,17 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * except: * # Unfortunately Python itself stops the tracing when it originates from */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1356, __pyx_L173_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_r = __pyx_t_6; - __pyx_t_6 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1356, __pyx_L173_error) + __Pyx_GOTREF(__pyx_t_8); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_8 = 0; goto __pyx_L177_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1118 @@ -23333,9 +26925,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ /*except:*/ { __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.trace_dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_2, &__pyx_t_7) < 0) __PYX_ERR(0, 1357, __pyx_L175_except_error) + if (__Pyx_GetException(&__pyx_t_8, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(0, 1357, __pyx_L175_except_error) + __Pyx_XGOTREF(__pyx_t_8); __Pyx_XGOTREF(__pyx_t_6); - __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_7); /* "_pydevd_bundle/pydevd_cython.pyx":1360 @@ -23345,7 +26937,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * cmd = py_db.cmd_factory.make_console_message( * "%s raised from within the callback set in sys.settrace.\nDebugging will be disabled for this thread (%s).\n" */ - __pyx_t_8 = NULL; + __pyx_t_2 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_32, __pyx_mstate_global->__pyx_n_u_sys); if (unlikely(!__pyx_t_32)) __PYX_ERR(0, 1360, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_32); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_32, __pyx_mstate_global->__pyx_n_u_exc_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1360, __pyx_L175_except_error) @@ -23354,24 +26946,24 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_3))) { - __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_3); - assert(__pyx_t_8); + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3); + assert(__pyx_t_2); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3); - __Pyx_INCREF(__pyx_t_8); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_3, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_8, NULL}; + PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1360, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_4); } - __pyx_t_3 = __Pyx_GetItemInt(__pyx_t_4, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1360, __pyx_L175_except_error) + __pyx_t_3 = __Pyx_GetItemInt(__pyx_t_4, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1360, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_exc = __pyx_t_3; @@ -23384,9 +26976,9 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * "%s raised from within the callback set in sys.settrace.\nDebugging will be disabled for this thread (%s).\n" * % ( */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1361, __pyx_L175_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_4 = __pyx_t_8; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1361, __pyx_L175_except_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __pyx_t_2; __Pyx_INCREF(__pyx_t_4); /* "_pydevd_bundle/pydevd_cython.pyx":1364 @@ -23420,7 +27012,15 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * % ( * exc, */ - __pyx_t_1 = __Pyx_PyUnicode_Join(__pyx_t_31, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_32) + 98 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_30) + 3, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_32) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_30)); + __pyx_t_13 = 101; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_13 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_31[0]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_31[2]); + #endif + __pyx_t_11 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_11 |= __Pyx_PyUnicode_KIND_04(__pyx_t_31[0]) | __Pyx_PyUnicode_KIND_04(__pyx_t_31[2]); + #endif + __pyx_t_1 = __Pyx_PyUnicode_Join(__pyx_t_31, 4, __pyx_t_13, __pyx_t_11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1362, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_32); __pyx_t_32 = 0; @@ -23431,7 +27031,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_make_console_message, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1361, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_3); } @@ -23447,13 +27047,13 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa */ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_writer); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1368, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_8 = __pyx_t_1; - __Pyx_INCREF(__pyx_t_8); + __pyx_t_2 = __pyx_t_1; + __Pyx_INCREF(__pyx_t_2); __pyx_t_5 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_v_cmd}; + PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_cmd}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add_command, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1368, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_3); @@ -23478,8 +27078,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_t_16 = PyObject_IsSubclass(__pyx_v_exc, __pyx_t_3); if (unlikely(__pyx_t_16 == ((int)-1))) __PYX_ERR(0, 1369, __pyx_L175_except_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_10 = (!__pyx_t_16); + + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1370 * py_db.writer.add_command(cmd) * if not issubclass(exc, (KeyboardInterrupt, SystemExit)): @@ -23488,11 +27091,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1370, __pyx_L175_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1370, __pyx_L175_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1370, __pyx_L175_except_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1370, __pyx_L175_except_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_4))) { @@ -23531,11 +27134,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa * * finally: */ + __Pyx_GIVEREF(__pyx_t_8); __Pyx_GIVEREF(__pyx_t_6); - __Pyx_GIVEREF(__pyx_t_2); __Pyx_XGIVEREF(__pyx_t_7); - __Pyx_ErrRestoreWithState(__pyx_t_6, __pyx_t_2, __pyx_t_7); - __pyx_t_6 = 0; __pyx_t_2 = 0; __pyx_t_7 = 0; + __Pyx_ErrRestoreWithState(__pyx_t_8, __pyx_t_6, __pyx_t_7); + __pyx_t_8 = 0; __pyx_t_6 = 0; __pyx_t_7 = 0; __PYX_ERR(0, 1371, __pyx_L175_except_error) } @@ -23592,7 +27195,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_XGOTREF(__pyx_t_29); __Pyx_XGOTREF(__pyx_t_28); __Pyx_XGOTREF(__pyx_t_27); - __pyx_t_11 = __pyx_lineno; __pyx_t_9 = __pyx_clineno; __pyx_t_33 = __pyx_filename; + __pyx_t_11 = __pyx_lineno; __pyx_t_9 = __pyx_clineno; __pyx_t_23 = __pyx_filename; { if (unlikely(!__pyx_v_info)) { __Pyx_RaiseUnboundLocalError("info"); __PYX_ERR(0, 1374, __pyx_L279_error) } if (unlikely(!__pyx_v_info)) { __Pyx_RaiseUnboundLocalError("info"); __PYX_ERR(0, 1374, __pyx_L279_error) } @@ -23607,7 +27210,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_XGIVEREF(__pyx_t_17); __Pyx_ErrRestore(__pyx_t_19, __pyx_t_18, __pyx_t_17); __pyx_t_19 = 0; __pyx_t_18 = 0; __pyx_t_17 = 0; __pyx_t_29 = 0; __pyx_t_28 = 0; __pyx_t_27 = 0; - __pyx_lineno = __pyx_t_11; __pyx_clineno = __pyx_t_9; __pyx_filename = __pyx_t_33; + __pyx_lineno = __pyx_t_11; __pyx_clineno = __pyx_t_9; __pyx_filename = __pyx_t_23; goto __pyx_L1_error; __pyx_L279_error:; __Pyx_XGIVEREF(__pyx_t_29); @@ -23654,14 +27257,31 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __pyx_r = 0; __pyx_L0:; __Pyx_XDECREF(__pyx_v_abs_path_canonical_path_and_base); + + + + + __Pyx_XDECREF((PyObject *)__pyx_v_info); + + + + + + __Pyx_XDECREF(__pyx_v_breakpoints_for_file); __Pyx_XDECREF(__pyx_v_stop_info); __Pyx_XDECREF(__pyx_v_curr_func_name); __Pyx_XDECREF(__pyx_v_frame_skips_cache); __Pyx_XDECREF(__pyx_v_frame_cache_key); __Pyx_XDECREF(__pyx_v_line_cache_key); + + + + __Pyx_XDECREF(__pyx_v_bp); + + __Pyx_XDECREF(__pyx_v_pydev_smart_step_into_variants); __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_thread); @@ -23683,6 +27303,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa __Pyx_XDECREF(__pyx_v_eval_result); __Pyx_XDECREF(__pyx_v_cmd); __Pyx_XDECREF(__pyx_v_exc); + __Pyx_XDECREF(__pyx_v_plugin_stop); __Pyx_XDECREF(__pyx_v_force_check_project_scope); __Pyx_XDECREF(__pyx_v_filename); @@ -23702,7 +27323,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispa /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -23710,7 +27331,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch = {"trace_dispatch", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_11trace_dispatch(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -23719,7 +27340,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -23730,7 +27351,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("trace_dispatch (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -23741,7 +27362,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 637, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 637, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -23819,10 +27440,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_10trace_di const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("trace_dispatch", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispatch(__pyx_v_self, __pyx_v_frame, __pyx_v_event, __pyx_v_arg, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -23845,7 +27472,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_10trace_di /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_13__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -23853,20 +27480,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_13__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_13__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -23893,9 +27520,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; + PyObject *__pyx_t_3 = NULL; int __pyx_t_4; - PyObject *__pyx_t_5 = NULL; + int __pyx_t_5; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -23904,75 +27531,117 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self._args, self.exc_info, self.should_skip) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args, self.exc_info, self.should_skip) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->should_skip); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_INCREF(__pyx_v_self->_args); - __Pyx_GIVEREF(__pyx_v_self->_args); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->exc_info); - __Pyx_GIVEREF(__pyx_v_self->exc_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_self->exc_info) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_t_1) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self._args, self.exc_info, self.should_skip) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self._args, self.exc_info, self.should_skip) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->should_skip); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF(__pyx_v_self->_args); + __Pyx_GIVEREF(__pyx_v_self->_args); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->exc_info); + __Pyx_GIVEREF(__pyx_v_self->exc_info); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_self->exc_info) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self._args, self.exc_info, self.should_skip) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v__dict = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_v__dict = __pyx_t_3; + __pyx_t_3 = 0; + } - /* "(tree fragment)":7 - * state = (self._args, self.exc_info, self.should_skip) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args, self.exc_info, self.should_skip) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self._args, self.exc_info, self.should_skip) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_4 = (__pyx_v__dict != Py_None); - if (__pyx_t_4) { + __pyx_t_5 = (__pyx_v__dict != Py_None); + if (__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L4_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_3 = __pyx_t_4; - __pyx_L4_bool_binop_done:; - if (__pyx_t_3) { + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_4 = __pyx_t_5; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_4) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_1 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_1)); - __pyx_t_1 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -23981,17 +27650,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self._args, self.exc_info, self.should_skip) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self._args, self.exc_info, self.should_skip) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self._args is not None or self.exc_info is not None # <<<<<<<<<<<<<< @@ -23999,20 +27668,25 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, None), state */ /*else*/ { - __pyx_t_4 = (__pyx_v_self->_args != ((PyObject*)Py_None)); - if (!__pyx_t_4) { + __pyx_t_5 = (__pyx_v_self->_args != ((PyObject*)Py_None)); + if (!__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L6_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_4 = (__pyx_v_self->exc_info != Py_None); - __pyx_t_3 = __pyx_t_4; - __pyx_L6_bool_binop_done:; - __pyx_v_use_setstate = __pyx_t_3; + __pyx_t_5 = (__pyx_v_self->exc_info != Py_None); + + __pyx_t_4 = __pyx_t_5; + + __pyx_L9_bool_binop_done:; + __pyx_v_use_setstate = __pyx_t_4; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None or self.exc_info is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -24021,43 +27695,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self._args is not None or self.exc_info is not None * if use_setstate: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBFrame); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBFrame); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_61391470); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_61391470); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_mstate_global->__pyx_int_61391470) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_61391470) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_3 = 0; __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; - __pyx_r = __pyx_t_5; - __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None or self.exc_info is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -24066,7 +27746,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, None), state * else: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) # <<<<<<<<<<<<<< @@ -24074,30 +27754,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce * __pyx_unpickle_PyDBFrame__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBFrame); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_PyDBFrame); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_61391470); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_61391470); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_mstate_global->__pyx_int_61391470) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_61391470) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_2) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_5 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_2 = 0; - __pyx_r = __pyx_t_1; __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_3 = 0; goto __pyx_L0; } @@ -24111,18 +27797,19 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_3); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.PyDBFrame.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -24131,7 +27818,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -24139,14 +27826,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -24157,7 +27844,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -24168,32 +27855,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -24224,24 +27911,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_14__setsta int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_PyDBFrame__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFrame__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFrame__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -24272,7 +27959,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_14__setsta /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_13should_stop_on_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -24280,7 +27967,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_13should_stop_on_exception = {"should_stop_on_exception", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_13should_stop_on_exception, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_13should_stop_on_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -24293,7 +27980,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_arg = 0; PyObject *__pyx_v_prev_user_uncaught_exc_info = 0; PyObject *__pyx_v_is_unwind = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -24304,7 +27991,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("should_stop_on_exception (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -24315,7 +28002,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_info,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_thread,&__pyx_mstate_global->__pyx_n_u_arg,&__pyx_mstate_global->__pyx_n_u_prev_user_uncaught_exc_info,&__pyx_mstate_global->__pyx_n_u_is_unwind,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1380, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1380, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 7: @@ -24456,7 +28143,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce Py_ssize_t __pyx_t_16; PyObject *__pyx_t_17 = NULL; PyObject *__pyx_t_18[7]; - int __pyx_t_19; + Py_ssize_t __pyx_t_19; + int __pyx_t_20; + int __pyx_t_21; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -24490,8 +28179,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * */ __pyx_t_1 = (__pyx_v_info->pydev_state != 2); + if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1393 * # 2 = 2 * if info.pydev_state != 2: # and breakpoint is not None: @@ -24516,13 +28207,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_4); } else { - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1393, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1393, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1393, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); } @@ -24572,15 +28263,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __pyx_t_7 = (__pyx_v_trace != Py_None); if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L7_bool_binop_done; } __pyx_t_7 = __Pyx_HasAttr(__pyx_v_trace, __pyx_mstate_global->__pyx_n_u_tb_next); if (unlikely(__pyx_t_7 == ((int)-1))) __PYX_ERR(0, 1395, __pyx_L1_error) + __pyx_t_1 = __pyx_t_7; + __pyx_L7_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1398 * # on jython trace is None on the first event and it may not have a tb_next. * @@ -24629,6 +28326,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1402 * try: * if py_db.plugin is not None: @@ -24662,6 +28360,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1403, __pyx_L9_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1404 * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: @@ -24684,10 +28383,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_2); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1404, __pyx_L9_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1404, __pyx_L9_error) __Pyx_XGOTREF(__pyx_t_2); } @@ -24842,8 +28541,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * if exception == SystemExit and py_db.ignore_system_exit_code(value): */ __pyx_t_1 = (!__pyx_v_should_stop); + if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1410 * if not should_stop: * # Apply checks that don't need the exception breakpoint (where we shouldn't ever stop). @@ -24851,12 +28552,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * pass * */ - __pyx_t_3 = PyObject_RichCompare(__pyx_v_exception, ((PyObject *)(((PyTypeObject*)PyExc_SystemExit))), Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1410, __pyx_L1_error) - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1410, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __Pyx_PyObject_RichCompareBool(__pyx_v_exception, ((PyObject *)(((PyTypeObject*)PyExc_SystemExit))), Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1410, __pyx_L1_error) if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L23_bool_binop_done; } __pyx_t_4 = __pyx_v_py_db; @@ -24871,9 +28573,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce } __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = __pyx_t_7; + __pyx_L23_bool_binop_done:; if (__pyx_t_1) { + goto __pyx_L22; } @@ -24886,33 +28591,38 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __Pyx_INCREF(__pyx_v_exception); __pyx_t_3 = __pyx_v_exception; - __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)(((PyTypeObject*)PyExc_GeneratorExit))), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __Pyx_PyObject_RichCompareBool(__pyx_t_3, ((PyObject *)(((PyTypeObject*)PyExc_GeneratorExit))), Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) if (!__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L25_bool_binop_done; } - __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, ((PyObject *)(((PyTypeObject*)PyExc_StopIteration))), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __Pyx_PyObject_RichCompareBool(__pyx_t_3, ((PyObject *)(((PyTypeObject*)PyExc_StopIteration))), Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) if (!__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L25_bool_binop_done; } __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_StopAsyncIteration); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1413, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_3, __pyx_t_4, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1413, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __pyx_t_7; + __pyx_L25_bool_binop_done:; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_7 = __pyx_t_1; + + if (__pyx_t_7) { + goto __pyx_L22; } @@ -24923,32 +28633,33 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * pass * */ - __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ignore_exception_trace); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1418, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_4 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ignore_exception_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1418, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_11 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4); - assert(__pyx_t_2); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_2); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2); + assert(__pyx_t_4); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_11 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_trace}; - __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_trace}; + __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1418, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_7) { + goto __pyx_L22; } @@ -24985,16 +28696,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * if exc_break_user is not None: * check_excs.append((exc_break_user, True)) */ - __pyx_t_4 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1428, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_2 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1428, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __pyx_t_11 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_v_exception, __pyx_t_2}; + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_exception, __pyx_t_4}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_exception_breakpoint, __pyx_callargs+__pyx_t_11, (3-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1428, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } @@ -25011,6 +28722,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_7 = (__pyx_v_exc_break_user != Py_None); if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1430 * exc_break_user = py_db.get_exception_breakpoint(exception, py_db.break_on_user_uncaught_exceptions) * if exc_break_user is not None: @@ -25029,6 +28741,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_15 = __Pyx_PyList_Append(__pyx_v_check_excs, __pyx_t_3); if (unlikely(__pyx_t_15 == ((int)-1))) __PYX_ERR(0, 1430, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":1429 * # Note: check user unhandled before regular exceptions. * exc_break_user = py_db.get_exception_breakpoint(exception, py_db.break_on_user_uncaught_exceptions) @@ -25045,16 +28758,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * if exc_break_caught is not None: * check_excs.append((exc_break_caught, False)) */ - __pyx_t_2 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1432, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_4 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1432, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_11 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_exception, __pyx_t_4}; + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_v_exception, __pyx_t_2}; __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_exception_breakpoint, __pyx_callargs+__pyx_t_11, (3-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1432, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } @@ -25071,6 +28784,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_7 = (__pyx_v_exc_break_caught != Py_None); if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1434 * exc_break_caught = py_db.get_exception_breakpoint(exception, py_db.break_on_caught_exceptions) * if exc_break_caught is not None: @@ -25089,6 +28803,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_15 = __Pyx_PyList_Append(__pyx_v_check_excs, __pyx_t_3); if (unlikely(__pyx_t_15 == ((int)-1))) __PYX_ERR(0, 1434, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":1433 * * exc_break_caught = py_db.get_exception_breakpoint(exception, py_db.break_on_caught_exceptions) @@ -25115,12 +28830,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce #endif if (__pyx_t_16 >= __pyx_temp) break; } - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(__pyx_t_3, __pyx_t_16, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_3, __pyx_t_16, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_16; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1436, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) { - PyObject* sequence = __pyx_t_4; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1436, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) { + PyObject* sequence = __pyx_t_2; Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); @@ -25129,33 +28844,33 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); - __Pyx_INCREF(__pyx_t_2); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); + __Pyx_INCREF(__pyx_t_4); __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_5); } else { - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1436, __pyx_L1_error) - __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1436, __pyx_L1_error) + __Pyx_XGOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1436, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); } #else - __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1436, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1436, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1436, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { Py_ssize_t index = -1; - __pyx_t_14 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1436, __pyx_L1_error) + __pyx_t_14 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1436, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_14); - index = 0; __pyx_t_2 = __pyx_t_6(__pyx_t_14); if (unlikely(!__pyx_t_2)) goto __pyx_L32_unpacking_failed; - __Pyx_GOTREF(__pyx_t_2); + index = 0; __pyx_t_4 = __pyx_t_6(__pyx_t_14); if (unlikely(!__pyx_t_4)) goto __pyx_L32_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); index = 1; __pyx_t_5 = __pyx_t_6(__pyx_t_14); if (unlikely(!__pyx_t_5)) goto __pyx_L32_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_14), 2) < (0)) __PYX_ERR(0, 1436, __pyx_L1_error) @@ -25169,8 +28884,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __PYX_ERR(0, 1436, __pyx_L1_error) __pyx_L33_unpacking_done:; } - __Pyx_XDECREF_SET(__pyx_v_exc_break, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_exc_break, __pyx_t_4); + __pyx_t_4 = 0; __Pyx_XDECREF_SET(__pyx_v_is_user_uncaught, __pyx_t_5); __pyx_t_5 = 0; @@ -25195,15 +28910,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_11 = 0; { PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_v_exc_break, __pyx_v_trace}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_exclude_exception_by_filter, __pyx_callargs+__pyx_t_11, (3-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_exclude_exception_by_filter, __pyx_callargs+__pyx_t_11, (3-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1440, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1440, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1440, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1440, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1441 * * if py_db.exclude_exception_by_filter(exc_break, trace): @@ -25212,11 +28928,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * ) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1441, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1441, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1441, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1441, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1442 * if py_db.exclude_exception_by_filter(exc_break, trace): @@ -25225,8 +28941,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * ) * should_stop = False */ - __pyx_t_2 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_exception), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1442, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_exception), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1442, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1442, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1442, __pyx_L1_error) @@ -25244,16 +28960,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; __pyx_t_18[0] = __pyx_mstate_global->__pyx_kp_u_Ignore_exception; - __pyx_t_18[1] = __pyx_t_2; + __pyx_t_18[1] = __pyx_t_4; __pyx_t_18[2] = __pyx_mstate_global->__pyx_kp_u_in_library; __pyx_t_18[3] = __pyx_t_12; __pyx_t_18[4] = __pyx_mstate_global->__pyx_kp_u__5; __pyx_t_18[5] = __pyx_t_13; __pyx_t_18[6] = __pyx_mstate_global->__pyx_kp_u__6; - __pyx_t_17 = __Pyx_PyUnicode_Join(__pyx_t_18, 7, 17 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_2) + 12 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_12) + 5 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_13) + 1, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_2) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_13)); + __pyx_t_19 = 35; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_19 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18[1]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18[3]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18[5]); + #endif + __pyx_t_20 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_20 |= __Pyx_PyUnicode_KIND_04(__pyx_t_18[1]) | __Pyx_PyUnicode_KIND_04(__pyx_t_18[3]) | __Pyx_PyUnicode_KIND_04(__pyx_t_18[5]); + #endif + __pyx_t_17 = __Pyx_PyUnicode_Join(__pyx_t_18, 7, __pyx_t_19, __pyx_t_20); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1442, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_17); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_11 = 1; @@ -25270,14 +28994,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce #endif { PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_17}; - __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1441, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1441, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1444 * "Ignore exception %s in library %s -- (%s)" % (exception, frame.f_code.co_filename, frame.f_code.co_name) @@ -25305,13 +29029,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * should_stop = False * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_condition); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1446, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = (__pyx_t_4 != Py_None); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_condition); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1446, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = (__pyx_t_2 != Py_None); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { + } else { + __pyx_t_7 = __pyx_t_1; + goto __pyx_L35_bool_binop_done; } __pyx_t_14 = __pyx_v_py_db; @@ -25319,18 +29046,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_11 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_14, ((PyObject *)__pyx_v_info), __pyx_v_exc_break, __pyx_v_frame}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_condition, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_condition, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1446, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1446, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1446, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_19 = (!__pyx_t_1); - __pyx_t_7 = __pyx_t_19; + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1446, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_21 = (!__pyx_t_1); + + + + __pyx_t_7 = __pyx_t_21; + __pyx_L35_bool_binop_done:; if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1447 * * elif exc_break.condition is not None and not py_db.handle_breakpoint_condition(info, exc_break, frame): @@ -25360,6 +29092,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_is_user_uncaught); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1449, __pyx_L1_error) if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1451 * elif is_user_uncaught: * # Note: we don't stop here, we just collect the exc_info to use later on... @@ -25386,18 +29119,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_11 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_14, __pyx_v_frame, __pyx_t_5, Py_True}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1452, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1452, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_19 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_19 < 0))) __PYX_ERR(0, 1452, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_1 = (!__pyx_t_19); + __pyx_t_21 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_21 < 0))) __PYX_ERR(0, 1452, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = (!__pyx_t_21); + + if (__pyx_t_1) { + } else { + __pyx_t_7 = __pyx_t_1; + goto __pyx_L38_bool_binop_done; } @@ -25408,13 +29146,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * ): * # User uncaught means that we're currently in user code but the code */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1453, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = (__pyx_t_4 == Py_None); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1453, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = (__pyx_t_2 == Py_None); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (!__pyx_t_1) { + } else { + __pyx_t_7 = __pyx_t_1; + goto __pyx_L38_bool_binop_done; } __pyx_t_5 = __pyx_v_py_db; @@ -25432,16 +29173,18 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_11 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_5, __pyx_t_14, __pyx_t_17, Py_True}; - __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1453, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1453, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1453, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1453, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_L38_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":1452 @@ -25453,6 +29196,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1457 * # User uncaught means that we're currently in user code but the code * # up the stack is library code. @@ -25472,8 +29216,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_exc_info); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1458, __pyx_L1_error) __pyx_t_1 = (!__pyx_t_7); + + if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1459 * exc_info = prev_user_uncaught_exc_info * if not exc_info: @@ -25481,8 +29228,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * else: * lines = exc_info[2] */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1459, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1459, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_17); __pyx_t_14 = PySet_New(0); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1459, __pyx_L1_error) @@ -25494,11 +29241,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __Pyx_INCREF(__pyx_v_arg); __Pyx_GIVEREF(__pyx_v_arg); if (__Pyx_PyTuple_SET_ITEM(__pyx_t_17, 0, __pyx_v_arg) != (0)) __PYX_ERR(0, 1459, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_17, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 1459, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_17, 1, __pyx_t_2) != (0)) __PYX_ERR(0, 1459, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_14); if (__Pyx_PyTuple_SET_ITEM(__pyx_t_17, 2, __pyx_t_14) != (0)) __PYX_ERR(0, 1459, __pyx_L1_error); - __pyx_t_4 = 0; + __pyx_t_2 = 0; __pyx_t_14 = 0; __Pyx_DECREF_SET(__pyx_v_exc_info, __pyx_t_17); __pyx_t_17 = 0; @@ -25521,7 +29268,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exc_info = (arg, frame.f_lineno, lines) */ /*else*/ { - __pyx_t_17 = __Pyx_GetItemInt(__pyx_v_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1461, __pyx_L1_error) + __pyx_t_17 = __Pyx_GetItemInt(__pyx_v_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1461, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_17); __Pyx_XDECREF_SET(__pyx_v_lines, __pyx_t_17); __pyx_t_17 = 0; @@ -25535,14 +29282,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __pyx_t_14 = __pyx_v_lines; __Pyx_INCREF(__pyx_t_14); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1462, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1462, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_11 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_t_4}; + PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_t_2}; __pyx_t_17 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1462, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_17); } @@ -25557,19 +29304,19 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_17); - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1463, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1463, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_arg); __Pyx_GIVEREF(__pyx_v_arg); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_arg) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_arg) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_17); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_17) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_17) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); __Pyx_INCREF(__pyx_v_lines); __Pyx_GIVEREF(__pyx_v_lines); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_lines) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_lines) != (0)) __PYX_ERR(0, 1463, __pyx_L1_error); __pyx_t_17 = 0; - __Pyx_DECREF_SET(__pyx_v_exc_info, __pyx_t_4); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_exc_info, __pyx_t_2); + __pyx_t_2 = 0; } __pyx_L41:; @@ -25618,13 +29365,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * and py_db.skip_on_exceptions_thrown_in_same_context * and not was_just_raised */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_notify_on_first_raise_only); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1468, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1468, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_notify_on_first_raise_only); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1468, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1468, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L43_bool_binop_done; } @@ -25635,13 +29385,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * and not was_just_raised * and not just_raised(trace.tb_next) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1469, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1469, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1469, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1469, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L43_bool_binop_done; } @@ -25653,9 +29406,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * ): */ __pyx_t_7 = (!__pyx_v_was_just_raised); + if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L43_bool_binop_done; } @@ -25685,17 +29442,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce #endif { PyObject *__pyx_callargs[2] = {__pyx_t_17, __pyx_t_5}; - __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1471, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1471, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1471, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_19 = (!__pyx_t_7); - __pyx_t_1 = __pyx_t_19; + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1471, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_21 = (!__pyx_t_7); + + + + __pyx_t_1 = __pyx_t_21; + __pyx_L43_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":1467 @@ -25707,6 +29468,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1475 * # In this case we never stop if it was just raised, so, to know if it was the first we * # need to check if we're in the 2nd method. @@ -25733,13 +29495,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * and not py_db.skip_on_exceptions_thrown_in_same_context * and not was_just_raised */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_notify_on_first_raise_only); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1478, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_19 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_19 < 0))) __PYX_ERR(0, 1478, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (__pyx_t_19) { + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_notify_on_first_raise_only); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1478, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_21 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_21 < 0))) __PYX_ERR(0, 1478, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (__pyx_t_21) { + } else { - __pyx_t_1 = __pyx_t_19; + + __pyx_t_1 = __pyx_t_21; + goto __pyx_L47_bool_binop_done; } @@ -25750,14 +29515,19 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * and not was_just_raised * ): */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1479, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_19 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_19 < 0))) __PYX_ERR(0, 1479, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_7 = (!__pyx_t_19); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1479, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_21 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_21 < 0))) __PYX_ERR(0, 1479, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_7 = (!__pyx_t_21); + + if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L47_bool_binop_done; } @@ -25769,7 +29539,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * should_stop = False # I.e.: we stop only when it was just raised */ __pyx_t_7 = (!__pyx_v_was_just_raised); + + __pyx_t_1 = __pyx_t_7; + __pyx_L47_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":1477 @@ -25781,6 +29554,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1482 * and not was_just_raised * ): @@ -25809,17 +29583,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ if (__pyx_v_was_just_raised) { } else { + __pyx_t_1 = __pyx_v_was_just_raised; goto __pyx_L50_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1484, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1484, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_skip_on_exceptions_thrown_in_sam); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1484, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1484, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __pyx_t_7; + __pyx_L50_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1486 * elif was_just_raised and py_db.skip_on_exceptions_thrown_in_same_context: * # Option: Don't break if an exception is caught in the same function from which it is thrown @@ -25883,14 +29661,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * except: * info.pydev_message = exc_break.qname.encode("utf-8") */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_qname); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1491, __pyx_L53_error) - __Pyx_GOTREF(__pyx_t_4); - if (!(likely(PyUnicode_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_4))) __PYX_ERR(0, 1491, __pyx_L53_error) - __Pyx_GIVEREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc_break, __pyx_mstate_global->__pyx_n_u_qname); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1491, __pyx_L53_error) + __Pyx_GOTREF(__pyx_t_2); + if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 1491, __pyx_L53_error) + __Pyx_GIVEREF(__pyx_t_2); __Pyx_GOTREF(__pyx_v_info->pydev_message); - __Pyx_DECREF(__pyx_v_info->pydev_message); - __pyx_v_info->pydev_message = ((PyObject*)__pyx_t_4); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_info->pydev_message, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1490 * if should_stop: @@ -25922,8 +29699,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ /*except:*/ { __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.should_stop_on_exception", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_14, &__pyx_t_5) < 0) __PYX_ERR(0, 1492, __pyx_L55_except_error) - __Pyx_XGOTREF(__pyx_t_4); + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_14, &__pyx_t_5) < 0) __PYX_ERR(0, 1492, __pyx_L55_except_error) + __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_14); __Pyx_XGOTREF(__pyx_t_5); @@ -25950,10 +29727,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce if (!(likely(PyUnicode_CheckExact(__pyx_t_17))||((__pyx_t_17) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_17))) __PYX_ERR(0, 1493, __pyx_L55_except_error) __Pyx_GIVEREF(__pyx_t_17); __Pyx_GOTREF(__pyx_v_info->pydev_message); - __Pyx_DECREF(__pyx_v_info->pydev_message); - __pyx_v_info->pydev_message = ((PyObject*)__pyx_t_17); + __Pyx_DECREF_SET(__pyx_v_info->pydev_message, ((PyObject*)__pyx_t_17)); __pyx_t_17 = 0; - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; goto __pyx_L54_exception_handled; @@ -26043,17 +29819,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __pyx_t_5 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_add_exception_to_frame); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1498, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1498, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_v_exception); __Pyx_GIVEREF(__pyx_v_exception); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_exception) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_exception) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); __Pyx_INCREF(__pyx_v_value); __Pyx_GIVEREF(__pyx_v_value); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_value) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_value) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); __Pyx_INCREF(__pyx_v_trace); __Pyx_GIVEREF(__pyx_v_trace); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_trace) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_trace) != (0)) __PYX_ERR(0, 1498, __pyx_L1_error); __pyx_t_11 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_14))) { @@ -26067,10 +29843,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_v_frame, __pyx_t_4}; + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_v_frame, __pyx_t_2}; __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_11, (3-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -26086,18 +29862,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce */ __pyx_t_7 = (__pyx_v_exception_breakpoint != Py_None); if (__pyx_t_7) { + } else { + __pyx_t_1 = __pyx_t_7; + goto __pyx_L66_bool_binop_done; } __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_exception_breakpoint, __pyx_mstate_global->__pyx_n_u_expression); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1500, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_7 = (__pyx_t_3 != Py_None); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = __pyx_t_7; + __pyx_L66_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1501 * * if exception_breakpoint is not None and exception_breakpoint.expression is not None: @@ -26160,7 +29942,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_should_stop); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_14 = PyTuple_New(3); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1503, __pyx_L1_error) @@ -26174,7 +29955,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __Pyx_GIVEREF(__pyx_v_maybe_user_uncaught_exc_info); if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 2, __pyx_v_maybe_user_uncaught_exc_info) != (0)) __PYX_ERR(0, 1503, __pyx_L1_error); __pyx_t_3 = 0; - __pyx_r = __pyx_t_14; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_14; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_14 = 0; goto __pyx_L0; @@ -26199,6 +29987,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.should_stop_on_exception", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + + __Pyx_XDECREF(__pyx_v_check_excs); __Pyx_XDECREF(__pyx_v_maybe_user_uncaught_exc_info); __Pyx_XDECREF(__pyx_v_exception); @@ -26228,7 +30018,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15handle_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -26236,7 +30026,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_15handle_exception = {"handle_exception", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_15handle_exception, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15handle_exception(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -26247,7 +30037,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_arg = 0; PyObject *__pyx_v_exception_type = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -26258,7 +30048,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("handle_exception (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -26269,7 +30059,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_thread,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_arg,&__pyx_mstate_global->__pyx_n_u_exception_type,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1513, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1513, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 5: @@ -26397,7 +30187,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY PyObject *__pyx_t_23 = NULL; PyObject *__pyx_t_24 = NULL; PyObject *__pyx_t_25 = NULL; - char const *__pyx_t_26; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -26431,7 +30220,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * * initial_trace_obj = trace_obj */ - __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_arg, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_arg, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_trace_obj = __pyx_t_1; __pyx_t_1 = 0; @@ -26458,17 +30247,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __pyx_t_3 = (__pyx_t_1 == Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { + } else { + __pyx_t_2 = __pyx_t_3; + goto __pyx_L7_bool_binop_done; } __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_trace_obj, __pyx_mstate_global->__pyx_n_u_tb_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1533, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = (__pyx_t_1 == __pyx_v_frame); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_2 = __pyx_t_3; + __pyx_L7_bool_binop_done:; if (__pyx_t_2) { + goto __pyx_L6; } @@ -26485,6 +30280,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (!__pyx_t_2) break; /* "_pydevd_bundle/pydevd_cython.pyx":1539 @@ -26515,6 +30311,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1542 * * if py_db.ignore_exceptions_thrown_in_lines_with_ignore_exception: @@ -26591,10 +30388,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * */ if (unlikely(__pyx_v_abs_real_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1544, __pyx_L4_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1544, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1544, __pyx_L4_error) __Pyx_XDECREF_SET(__pyx_v_absolute_filename, ((PyObject*)__pyx_t_1)); @@ -26608,10 +30405,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * lines_ignored = filename_to_lines_where_exceptions_are_ignored.get(canonical_normalized_filename) */ if (unlikely(__pyx_v_abs_real_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1545, __pyx_L4_error) } - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_real_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1545, __pyx_L4_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_real_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1545, __pyx_L4_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1545, __pyx_L4_error) __Pyx_XDECREF_SET(__pyx_v_canonical_normalized_filename, ((PyObject*)__pyx_t_1)); @@ -26664,6 +30461,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __pyx_t_2 = (__pyx_v_lines_ignored == ((PyObject*)Py_None)); if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1549 * lines_ignored = filename_to_lines_where_exceptions_are_ignored.get(canonical_normalized_filename) * if lines_ignored is None: @@ -26854,11 +30652,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * filename_to_stat_info[absolute_filename] = curr_stat * lines_ignored.clear() */ - __pyx_t_6 = PyObject_RichCompare(__pyx_v_last_stat, __pyx_v_curr_stat, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1558, __pyx_L4_error) - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1558, __pyx_L4_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_2 = __Pyx_PyObject_CompareBoolNe_object_object(__pyx_v_last_stat, __pyx_v_curr_stat, Py_NE); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1558, __pyx_L4_error) if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1559 * last_stat = filename_to_stat_info.get(absolute_filename) * if last_stat != curr_stat: @@ -26879,11 +30676,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * linecache.checkcache(absolute_filename) */ if (unlikely(__pyx_v_lines_ignored == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "clear"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "clear"); __PYX_ERR(0, 1560, __pyx_L4_error) } __pyx_t_13 = __Pyx_PyDict_Clear(__pyx_v_lines_ignored); if (unlikely(__pyx_t_13 == ((int)-1))) __PYX_ERR(0, 1560, __pyx_L4_error) + /* "_pydevd_bundle/pydevd_cython.pyx":1561 * filename_to_stat_info[absolute_filename] = curr_stat * lines_ignored.clear() @@ -27070,6 +30868,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_from_user_input); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1567, __pyx_L4_error) if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1568 * from_user_input = py_db.filename_to_lines_where_exceptions_are_ignored.get(canonical_normalized_filename) * if from_user_input: @@ -27147,12 +30946,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * line = linecache.getline(absolute_filename, exc_lineno, check_trace_obj.tb_frame.f_globals) */ if (unlikely(__pyx_v_merged == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); __PYX_ERR(0, 1581, __pyx_L4_error) } __pyx_t_2 = (__Pyx_PyDict_ContainsTF(__pyx_v_exc_lineno, __pyx_v_merged, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1581, __pyx_L4_error) if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1582 * * if exc_lineno not in merged: # Note: check on merged but update lines_ignored. @@ -27354,6 +31154,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1589 * * if IGNORE_EXCEPTION_TAG.match(line) is not None: @@ -27362,7 +31163,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * else: */ if (unlikely(__pyx_v_lines_ignored == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1589, __pyx_L4_error) } if (unlikely((PyDict_SetItem(__pyx_v_lines_ignored, __pyx_v_exc_lineno, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 1589, __pyx_L4_error) @@ -27374,9 +31175,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * else: * # Put in the cache saying not to ignore */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L3_return; @@ -27398,7 +31205,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY */ /*else*/ { if (unlikely(__pyx_v_lines_ignored == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1593, __pyx_L4_error) } if (unlikely((PyDict_SetItem(__pyx_v_lines_ignored, __pyx_v_exc_lineno, __pyx_mstate_global->__pyx_int_0) < 0))) __PYX_ERR(0, 1593, __pyx_L4_error) @@ -27423,7 +31230,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY */ /*else*/ { if (unlikely(__pyx_v_merged == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 1596, __pyx_L4_error) } __pyx_t_16 = __Pyx_PyDict_GetItemDefault(__pyx_v_merged, __pyx_v_exc_lineno, __pyx_mstate_global->__pyx_int_0); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1596, __pyx_L4_error) @@ -27432,6 +31239,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1597 * # Ok, dict has it already cached, so, let's check it... * if merged.get(exc_lineno, 0): @@ -27439,9 +31247,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * * try: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L3_return; @@ -27543,6 +31357,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY */ while (1) { __pyx_t_2 = (__pyx_v_f != Py_None); + if (!__pyx_t_2) break; /* "_pydevd_bundle/pydevd_cython.pyx":1604 @@ -27662,14 +31477,27 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY */ __pyx_t_6 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_6); + #if CYTHON_VECTORCALL + #endif __pyx_t_9 = 0; { - PyObject *__pyx_callargs[5 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_6, __pyx_v_thread, __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_exception, __pyx_v_arg}; - __pyx_t_16 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1612, __pyx_L60_error) - __Pyx_GOTREF(__pyx_t_16); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_exception_type, __pyx_v_exception_type, __pyx_t_16, __pyx_callargs+5, 0) < (0)) __PYX_ERR(0, 1612, __pyx_L60_error) - __pyx_t_4 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_9, (5-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_16); + PyObject *__pyx_callargs[6] = {__pyx_t_6, __pyx_v_thread, __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_exception, __pyx_v_arg, __pyx_v_exception_type}; + #if CYTHON_VECTORCALL + __pyx_t_16 = __pyx_mstate_global->__pyx_tuple[3]; + if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1612, __pyx_L60_error) + __Pyx_INCREF(__pyx_t_16); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_exception_type}; + __pyx_t_16 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+5, 1); + if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1612, __pyx_L60_error) + __Pyx_GOTREF(__pyx_t_16); + } + #endif + __pyx_t_4 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_callargs+__pyx_t_9, (5-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_16); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1612, __pyx_L60_error) __Pyx_GOTREF(__pyx_t_4); @@ -28015,7 +31843,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_XGOTREF(__pyx_t_25); __Pyx_XGOTREF(__pyx_t_24); __Pyx_XGOTREF(__pyx_t_23); - __pyx_t_18 = __pyx_lineno; __pyx_t_17 = __pyx_clineno; __pyx_t_26 = __pyx_filename; + __pyx_t_18 = __pyx_lineno; __pyx_t_17 = __pyx_clineno; __pyx_t_19 = __pyx_filename; { /* "_pydevd_bundle/pydevd_cython.pyx":1621 @@ -28139,7 +31967,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_XGIVEREF(__pyx_t_12); __Pyx_ErrRestore(__pyx_t_10, __pyx_t_11, __pyx_t_12); __pyx_t_10 = 0; __pyx_t_11 = 0; __pyx_t_12 = 0; __pyx_t_25 = 0; __pyx_t_24 = 0; __pyx_t_23 = 0; - __pyx_lineno = __pyx_t_18; __pyx_clineno = __pyx_t_17; __pyx_filename = __pyx_t_26; + __pyx_lineno = __pyx_t_18; __pyx_clineno = __pyx_t_17; __pyx_filename = __pyx_t_19; goto __pyx_L1_error; __pyx_L67_error:; __Pyx_XGIVEREF(__pyx_t_25); @@ -28281,10 +32109,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY * from _pydev_bundle.pydev_is_thread_alive import is_thread_alive * from _pydev_bundle.pydev_log import exception as pydev_log_exception */ - __Pyx_XDECREF(__pyx_r); __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1632, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; @@ -28309,6 +32143,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.handle_exception", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_abs_real_path_and_base); __Pyx_XDECREF(__pyx_v_absolute_filename); __Pyx_XDECREF(__pyx_v_canonical_normalized_filename); @@ -28342,7 +32177,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CY /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -28350,7 +32185,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters = {"notify_skipped_step_in_because_of_filters", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -28358,7 +32193,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_py_db = 0; PyObject *__pyx_v_frame = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -28369,7 +32204,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("notify_skipped_step_in_because_of_filters (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -28380,7 +32215,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_frame,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1677, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1677, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: @@ -28507,9 +32342,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step * # Check with lock in place (callers should actually have checked * # before without the lock in place due to performance). */ - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1681, __pyx_L7_error) + if (__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in == Py_None) __pyx_t_10 = 0; + else + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1681, __pyx_L7_error) + __pyx_t_10 = (__pyx_temp != 0); + } + if (__pyx_t_10) { + /* "_pydevd_bundle/pydevd_cython.pyx":1684 * # Check with lock in place (callers should actually have checked * # before without the lock in place due to performance). @@ -28517,8 +32360,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step * _global_notify_skipped_step_in = True * py_db.notify_skipped_step_in_because_of_filters(frame) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L11_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":1681 @@ -28584,8 +32433,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_4 = PyTuple_Pack(3, __pyx_t_1, __pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1680, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_4); + { + PyObject* __pyx_temp[3] = {__pyx_t_1, __pyx_t_3, __pyx_t_5}; + __pyx_t_4 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1680, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_4); + } __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -28595,7 +32447,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; if (__pyx_t_10 < (0)) __PYX_ERR(0, 1680, __pyx_L9_except_error) __pyx_t_12 = (!__pyx_t_10); + + if (unlikely(__pyx_t_12)) { + __Pyx_GIVEREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_3); __Pyx_XGIVEREF(__pyx_t_5); @@ -28695,10 +32550,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_method_object = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; @@ -28707,20 +32576,22 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__ int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_method_object,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1693, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1693, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1693, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; @@ -28734,7 +32605,7 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__ } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1693, __pyx_L3_error) } __pyx_v_method_object = values[0]; @@ -28777,8 +32648,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper___init__( __Pyx_INCREF(__pyx_v_method_object); __Pyx_GIVEREF(__pyx_v_method_object); __Pyx_GOTREF(__pyx_v_self->method_object); - __Pyx_DECREF(__pyx_v_self->method_object); - __pyx_v_self->method_object = __pyx_v_method_object; + __Pyx_DECREF_SET(__pyx_v_self->method_object, __pyx_v_method_object); /* "_pydevd_bundle/pydevd_cython.pyx":1693 * cdef class SafeCallWrapper: @@ -28790,6 +32660,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper___init__( /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -28891,7 +32762,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_2__ * def get_method_object(self): * return self.method_object */ - __Pyx_XDECREF(__pyx_r); __pyx_t_2 = (__pyx_v_ret != Py_None); if (__pyx_t_2) { __pyx_t_4 = NULL; @@ -28909,7 +32779,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_2__ __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -28929,6 +32807,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_2__ __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.SafeCallWrapper.__call__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_ret); __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); @@ -28945,7 +32824,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_2__ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -28953,20 +32832,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object = {"get_method_object", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_method_object (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -28997,9 +32876,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_4ge * # ELSE * # ENDIF */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->method_object); - __pyx_r = __pyx_v_self->method_object; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->method_object); + __pyx_r = __pyx_v_self->method_object; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1703 @@ -29025,7 +32910,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_4ge /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29033,20 +32918,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29072,9 +32957,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; + PyObject *__pyx_t_2 = NULL; int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; + int __pyx_t_4; PyObject *__pyx_t_5 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -29084,67 +32969,109 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.method_object,) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.method_object,) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_v_self->method_object); - __Pyx_GIVEREF(__pyx_v_self->method_object); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->method_object) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_v_state = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.method_object,) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.method_object,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_v_self->method_object); + __Pyx_GIVEREF(__pyx_v_self->method_object); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->method_object) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_v_state = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.method_object,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v__dict = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v__dict = __pyx_t_2; + __pyx_t_2 = 0; + } - /* "(tree fragment)":7 - * state = (self.method_object,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.method_object,) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.method_object,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_3 = (__pyx_v__dict != Py_None); - if (__pyx_t_3) { + __pyx_t_4 = (__pyx_v__dict != Py_None); + if (__pyx_t_4) { + } else { - __pyx_t_2 = __pyx_t_3; - goto __pyx_L4_bool_binop_done; + + __pyx_t_3 = __pyx_t_4; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_2 = __pyx_t_3; - __pyx_L4_bool_binop_done:; - if (__pyx_t_2) { + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_3 = __pyx_t_4; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_3) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -29153,17 +33080,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.method_object,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.method_object,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.method_object is not None # <<<<<<<<<<<<<< @@ -29171,12 +33098,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, None), state */ /*else*/ { - __pyx_t_2 = (__pyx_v_self->method_object != Py_None); - __pyx_v_use_setstate = __pyx_t_2; + __pyx_t_3 = (__pyx_v_self->method_object != Py_None); + __pyx_v_use_setstate = __pyx_t_3; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.method_object is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -29185,43 +33112,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.method_object is not None * if use_setstate: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_SafeCallWrapper); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_SafeCallWrapper); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_169093275); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_169093275); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_169093275) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_169093275) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.method_object is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -29230,7 +33163,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, None), state * else: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) # <<<<<<<<<<<<<< @@ -29238,30 +33171,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ * __pyx_unpickle_SafeCallWrapper__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_SafeCallWrapper); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_SafeCallWrapper); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_169093275); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_169093275); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_169093275) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_169093275) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_5 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L0; } @@ -29274,19 +33213,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.SafeCallWrapper.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -29295,7 +33235,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_6__ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29303,14 +33243,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -29321,7 +33261,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29332,32 +33272,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -29388,24 +33328,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_8__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_SafeCallWrapper__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCallWrapper__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCallWrapper__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -29436,7 +33376,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_8__ /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29444,7 +33384,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func = {"fix_top_level_trace_and_get_trace_func", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29452,7 +33392,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_py_db = 0; PyObject *__pyx_v_frame = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -29463,7 +33403,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("fix_top_level_trace_and_get_trace_func (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29474,7 +33414,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_frame,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1710, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1710, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: @@ -29547,15 +33487,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace PyObject *__pyx_t_3 = NULL; Py_ssize_t __pyx_t_4; Py_ssize_t __pyx_t_5; - int __pyx_t_6; - PyObject *__pyx_t_7 = NULL; - size_t __pyx_t_8; - PyObject *__pyx_t_9 = NULL; + PyObject *__pyx_t_6 = NULL; + int __pyx_t_7; + PyObject *__pyx_t_8 = NULL; + size_t __pyx_t_9; PyObject *__pyx_t_10 = NULL; PyObject *__pyx_t_11 = NULL; PyObject *__pyx_t_12 = NULL; PyObject *__pyx_t_13 = NULL; - int __pyx_t_14; + PyObject *__pyx_t_14 = NULL; + int __pyx_t_15; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -29599,6 +33540,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace */ while (1) { __pyx_t_1 = (__pyx_v_f_unhandled != Py_None); + if (!__pyx_t_1) break; /* "_pydevd_bundle/pydevd_cython.pyx":1733 @@ -29625,13 +33567,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if j > i: */ if (unlikely(__pyx_v_name == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "rfind"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "rfind"); __PYX_ERR(0, 1735, __pyx_L1_error) } __pyx_t_4 = PyUnicode_Find(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u__7, 0, PY_SSIZE_T_MAX, -1); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-2))) __PYX_ERR(0, 1735, __pyx_L1_error) __pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1735, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_3); + + if (__Pyx_PyInt_FromNumber(&__pyx_t_3, NULL, 0) < (0)) __PYX_ERR(0, 1735, __pyx_L1_error) + __Pyx_XDECREF_SET(__pyx_v_i, ((PyObject*)__pyx_t_3)); __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1736 @@ -29642,7 +33586,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * i = j */ if (unlikely(__pyx_v_name == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "rfind"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "rfind"); __PYX_ERR(0, 1736, __pyx_L1_error) } __pyx_t_4 = PyUnicode_Find(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u__8, 0, PY_SSIZE_T_MAX, -1); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-2))) __PYX_ERR(0, 1736, __pyx_L1_error) @@ -29657,12 +33601,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace */ __pyx_t_3 = PyLong_FromSsize_t(__pyx_v_j); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1737, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyObject_RichCompare(__pyx_t_3, __pyx_v_i, Py_GT); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1737, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolGt_int_int(__pyx_t_3, __pyx_v_i, Py_GT); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1737, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1737, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1738 * j = name.rfind("\\") * if j > i: @@ -29670,10 +33613,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if i >= 0: * name = name[i + 1 :] */ - __pyx_t_2 = PyLong_FromSsize_t(__pyx_v_j); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1738, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF_SET(__pyx_v_i, __pyx_t_2); - __pyx_t_2 = 0; + __pyx_t_3 = PyLong_FromSsize_t(__pyx_v_j); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1738, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_PyInt_FromNumber(&__pyx_t_3, NULL, 0) < (0)) __PYX_ERR(0, 1738, __pyx_L1_error) + __Pyx_DECREF_SET(__pyx_v_i, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1737 * i = name.rfind("/") @@ -29691,11 +33635,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * name = name[i + 1 :] * # remove ext */ - __pyx_t_2 = PyObject_RichCompare(__pyx_v_i, __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1739, __pyx_L1_error) - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1739, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __Pyx_PyObject_CompareBoolGe_int_int(__pyx_v_i, __pyx_mstate_global->__pyx_int_0, Py_GE); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1739, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1740 * i = j * if i >= 0: @@ -29704,23 +33647,26 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * i = name.rfind(".") */ if (unlikely(__pyx_v_name == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1740, __pyx_L1_error) } - __pyx_t_2 = __Pyx_PyLong_AddObjC(__pyx_v_i, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1740, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = (__pyx_t_2 == Py_None); + __pyx_t_3 = __Pyx_PyLong_AddObjC(__pyx_v_i, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1740, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = (__pyx_t_3 == ((PyObject*)Py_None)); if (__pyx_t_1) { + __pyx_t_4 = 0; } else { - __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1740, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1740, __pyx_L1_error) __pyx_t_4 = __pyx_t_5; } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyUnicode_Substring(__pyx_v_name, __pyx_t_4, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1740, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF_SET(__pyx_v_name, ((PyObject*)__pyx_t_2)); - __pyx_t_2 = 0; + + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyUnicode_Substring(__pyx_v_name, __pyx_t_4, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1740, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + + __Pyx_DECREF_SET(__pyx_v_name, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1739 * if j > i: @@ -29739,14 +33685,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * name = name[:i] */ if (unlikely(__pyx_v_name == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "rfind"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "rfind"); __PYX_ERR(0, 1742, __pyx_L1_error) } - __pyx_t_4 = PyUnicode_Find(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u__2, 0, PY_SSIZE_T_MAX, -1); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-2))) __PYX_ERR(0, 1742, __pyx_L1_error) - __pyx_t_2 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1742, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF_SET(__pyx_v_i, __pyx_t_2); - __pyx_t_2 = 0; + __pyx_t_4 = PyUnicode_Find(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u__3, 0, PY_SSIZE_T_MAX, -1); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-2))) __PYX_ERR(0, 1742, __pyx_L1_error) + __pyx_t_3 = PyLong_FromSsize_t(__pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1742, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + + if (__Pyx_PyInt_FromNumber(&__pyx_t_3, NULL, 0) < (0)) __PYX_ERR(0, 1742, __pyx_L1_error) + __Pyx_DECREF_SET(__pyx_v_i, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1743 * # remove ext @@ -29755,11 +33703,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * name = name[:i] * */ - __pyx_t_2 = PyObject_RichCompare(__pyx_v_i, __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1743, __pyx_L1_error) - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1743, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __Pyx_PyObject_CompareBoolGe_int_int(__pyx_v_i, __pyx_mstate_global->__pyx_int_0, Py_GE); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1743, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1744 * i = name.rfind(".") * if i >= 0: @@ -29768,23 +33715,26 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if name == "threading": */ if (unlikely(__pyx_v_name == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1744, __pyx_L1_error) } __Pyx_INCREF(__pyx_v_i); - __pyx_t_2 = __pyx_v_i; - __pyx_t_1 = (__pyx_t_2 == Py_None); + __pyx_t_6 = __pyx_v_i; + __pyx_t_1 = (__pyx_t_6 == ((PyObject*)Py_None)); if (__pyx_t_1) { + __pyx_t_4 = PY_SSIZE_T_MAX; } else { - __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1744, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_5 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 1744, __pyx_L1_error) __pyx_t_4 = __pyx_t_5; } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyUnicode_Substring(__pyx_v_name, 0, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1744, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF_SET(__pyx_v_name, ((PyObject*)__pyx_t_2)); - __pyx_t_2 = 0; + + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_3 = __Pyx_PyUnicode_Substring(__pyx_v_name, 0, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1744, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + + __Pyx_DECREF_SET(__pyx_v_name, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1743 * # remove ext @@ -29802,9 +33752,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if f_unhandled.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. */ - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1746, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1746, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1747 * * if name == "threading": @@ -29812,23 +33763,31 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # We need __bootstrap_inner, not __bootstrap. * return None, False */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1747, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1747, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1747, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1747, __pyx_L1_error) - if (!__pyx_t_6) { + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1747, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1747, __pyx_L1_error) + if (!__pyx_t_7) { + } else { - __pyx_t_1 = __pyx_t_6; + + __pyx_t_1 = __pyx_t_7; + goto __pyx_L10_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1747, __pyx_L1_error) - __pyx_t_1 = __pyx_t_6; + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1747, __pyx_L1_error) + + __pyx_t_1 = __pyx_t_7; + __pyx_L10_bool_binop_done:; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_6 = __pyx_t_1; - if (__pyx_t_6) { + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_7 = __pyx_t_1; + + + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1749 * if f_unhandled.f_code.co_name in ("__bootstrap", "_bootstrap"): @@ -29837,9 +33796,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * elif f_unhandled.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner"): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[4]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[4]; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1747 @@ -29858,24 +33823,32 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # Note: be careful not to use threading.currentThread to avoid creating a dummy thread. * t = f_unhandled.f_locals.get("self") */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1751, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1751, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1751, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1751, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1751, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1751, __pyx_L1_error) if (!__pyx_t_1) { + } else { - __pyx_t_6 = __pyx_t_1; + + __pyx_t_7 = __pyx_t_1; + goto __pyx_L12_bool_binop_done; } - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1751, __pyx_L1_error) - __pyx_t_6 = __pyx_t_1; + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1751, __pyx_L1_error) + + __pyx_t_7 = __pyx_t_1; + __pyx_L12_bool_binop_done:; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_1 = __pyx_t_6; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = __pyx_t_7; + + if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1753 * elif f_unhandled.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner"): * # Note: be careful not to use threading.currentThread to avoid creating a dummy thread. @@ -29883,21 +33856,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * force_only_unhandled_tracer = True * if t is not None and isinstance(t, threading.Thread): */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1753, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_3 = __pyx_t_7; - __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1753, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_2 = __pyx_t_8; + __Pyx_INCREF(__pyx_t_2); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_mstate_global->__pyx_n_u_self}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1753, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_mstate_global->__pyx_n_u_self}; + __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1753, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); } - __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_3); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1754 * # Note: be careful not to use threading.currentThread to avoid creating a dummy thread. @@ -29915,23 +33888,29 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * thread = t * break */ - __pyx_t_6 = (__pyx_v_t != Py_None); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_t != Py_None); + if (__pyx_t_7) { + } else { - __pyx_t_1 = __pyx_t_6; + + __pyx_t_1 = __pyx_t_7; + goto __pyx_L15_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1755, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1755, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_6 = PyObject_IsInstance(__pyx_v_t, __pyx_t_7); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 1755, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_1 = __pyx_t_6; + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1755, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1755, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = PyObject_IsInstance(__pyx_v_t, __pyx_t_8); if (unlikely(__pyx_t_7 == ((int)-1))) __PYX_ERR(0, 1755, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + + __pyx_t_1 = __pyx_t_7; + __pyx_L15_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1756 * force_only_unhandled_tracer = True * if t is not None and isinstance(t, threading.Thread): @@ -29986,9 +33965,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if f_unhandled.f_code.co_name == "__call__": * force_only_unhandled_tracer = True */ - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1759, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1759, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1760 * * elif name == "pydev_monkey": @@ -29996,15 +33976,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * force_only_unhandled_tracer = True * break */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1760, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1760, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_call_2, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1760, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1760, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1760, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_call_2, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1760, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1761 * elif name == "pydev_monkey": * if f_unhandled.f_code.co_name == "__call__": @@ -30049,9 +34030,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if f_unhandled.f_code.co_name in ("run", "main"): * # We need to get to _exec */ - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1764, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1764, __pyx_L1_error) if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1765 * * elif name == "pydevd": @@ -30059,23 +34041,31 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # We need to get to _exec * return None, False */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1765, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1765, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_run, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1765, __pyx_L1_error) - if (!__pyx_t_6) { + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1765, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1765, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_run, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1765, __pyx_L1_error) + if (!__pyx_t_7) { + } else { - __pyx_t_1 = __pyx_t_6; + + __pyx_t_1 = __pyx_t_7; + goto __pyx_L19_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_main, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1765, __pyx_L1_error) - __pyx_t_1 = __pyx_t_6; + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_main, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1765, __pyx_L1_error) + + __pyx_t_1 = __pyx_t_7; + __pyx_L19_bool_binop_done:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_6 = __pyx_t_1; - if (__pyx_t_6) { + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __pyx_t_1; + + + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1767 * if f_unhandled.f_code.co_name in ("run", "main"): @@ -30084,9 +34074,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * if f_unhandled.f_code.co_name == "_exec": */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[4]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[4]; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1765 @@ -30105,14 +34101,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * force_only_unhandled_tracer = True * break */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1769, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1769, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1769, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (__pyx_t_6) { + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1769, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1769, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1769, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1770 * @@ -30158,8 +34155,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * return None, False * */ - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd_tracing, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1773, __pyx_L1_error) - if (__pyx_t_6) { + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_str_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd_tracing, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1773, __pyx_L1_error) + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1774 * @@ -30168,9 +34166,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * elif f_unhandled.f_back is None: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[4]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[4]; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1773 @@ -30189,11 +34193,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * break * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1776, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = (__pyx_t_2 == Py_None); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (__pyx_t_6) { + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1776, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = (__pyx_t_3 == Py_None); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1777 * @@ -30221,10 +34226,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * if thread is None: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1779, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF_SET(__pyx_v_f_unhandled, __pyx_t_2); - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1779, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF_SET(__pyx_v_f_unhandled, __pyx_t_3); + __pyx_t_3 = 0; } __pyx_L4_break:; @@ -30235,8 +34240,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # Important: don't call threadingCurrentThread if we're in the threading module * # to avoid creating dummy threads. */ - __pyx_t_6 = (__pyx_v_thread == Py_None); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_thread == Py_None); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1784 * # Important: don't call threadingCurrentThread if we're in the threading module @@ -30245,11 +34251,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * thread = py_db.threading_active.get(py_db.threading_get_ident()) * if thread is None: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_threading_get_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1784, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = (__pyx_t_2 != Py_None); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (__pyx_t_6) { + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_threading_get_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1784, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = (__pyx_t_3 != Py_None); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1785 * # to avoid creating dummy threads. @@ -30258,32 +34265,32 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if thread is None: * return None, False */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_threading_active); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1785, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = __pyx_t_3; - __Pyx_INCREF(__pyx_t_7); - __pyx_t_10 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_10); - __pyx_t_8 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_threading_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1785, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __pyx_t_2; + __Pyx_INCREF(__pyx_t_8); + __pyx_t_11 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_11); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_10, NULL}; - __pyx_t_9 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_threading_get_ident, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1785, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_11, NULL}; + __pyx_t_10 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_threading_get_ident, __pyx_callargs+__pyx_t_9, (1-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1785, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_8 = 0; + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_9}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1785, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_10}; + __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1785, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); } - __Pyx_DECREF_SET(__pyx_v_thread, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_thread, __pyx_t_3); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1786 * if py_db.threading_get_ident is not None: @@ -30292,8 +34299,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * return None, False * else: */ - __pyx_t_6 = (__pyx_v_thread == Py_None); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_thread == Py_None); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1787 * thread = py_db.threading_active.get(py_db.threading_get_ident()) @@ -30302,9 +34310,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * else: * # Jython does not have threading.get_ident(). */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[4]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[4]; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1786 @@ -30334,18 +34348,18 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if getattr(thread, "pydev_do_not_trace", None): */ /*else*/ { - __pyx_t_3 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = 0; + __pyx_t_2 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_2); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_threading_current_thread, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; + __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_threading_current_thread, __pyx_callargs+__pyx_t_9, (1-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1790, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); } - __Pyx_DECREF_SET(__pyx_v_thread, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_thread, __pyx_t_3); + __pyx_t_3 = 0; } __pyx_L23:; @@ -30365,11 +34379,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * py_db.disable_tracing() * return None, False */ - __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_pydev_do_not_trace, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1792, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1792, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (__pyx_t_6) { + __pyx_t_3 = __Pyx_GetAttr3(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_pydev_do_not_trace, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1792, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1792, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1793 * @@ -30378,17 +34393,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * return None, False * */ - __pyx_t_3 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_3); - __pyx_t_8 = 0; + __pyx_t_2 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_2); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_disable_tracing, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1793, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; + __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_disable_tracing, __pyx_callargs+__pyx_t_9, (1-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1793, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1794 * if getattr(thread, "pydev_do_not_trace", None): @@ -30397,9 +34412,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * try: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[4]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[4]; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1792 @@ -30421,10 +34442,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace { __Pyx_PyThreadState_declare __Pyx_PyThreadState_assign - __Pyx_ExceptionSave(&__pyx_t_11, &__pyx_t_12, &__pyx_t_13); - __Pyx_XGOTREF(__pyx_t_11); + __Pyx_ExceptionSave(&__pyx_t_12, &__pyx_t_13, &__pyx_t_14); __Pyx_XGOTREF(__pyx_t_12); __Pyx_XGOTREF(__pyx_t_13); + __Pyx_XGOTREF(__pyx_t_14); /*try:*/ { /* "_pydevd_bundle/pydevd_cython.pyx":1797 @@ -30434,10 +34455,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if additional_info is None: * raise AttributeError() */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __pyx_L26_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v_additional_info = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __pyx_L26_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_v_additional_info = __pyx_t_3; + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1798 * try: @@ -30446,8 +34467,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * raise AttributeError() * except: */ - __pyx_t_6 = (__pyx_v_additional_info == Py_None); - if (unlikely(__pyx_t_6)) { + __pyx_t_7 = (__pyx_v_additional_info == Py_None); + if (unlikely(__pyx_t_7)) { + /* "_pydevd_bundle/pydevd_cython.pyx":1799 * additional_info = thread.additional_info @@ -30456,17 +34478,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * except: * additional_info = py_db.set_additional_thread_info(thread) */ - __pyx_t_3 = NULL; - __pyx_t_8 = 1; + __pyx_t_2 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L26_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; + __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_9, (1-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1799, __pyx_L26_error) + __Pyx_GOTREF(__pyx_t_3); } - __Pyx_Raise(__pyx_t_2, 0, 0, 0); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_Raise(__pyx_t_3, 0, 0, 0); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __PYX_ERR(0, 1799, __pyx_L26_error) /* "_pydevd_bundle/pydevd_cython.pyx":1798 @@ -30486,16 +34508,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if additional_info is None: */ } - __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; + __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; goto __pyx_L31_try_end; __pyx_L26_error:; __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1800 * if additional_info is None: @@ -30506,10 +34529,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace */ /*except:*/ { __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.fix_top_level_trace_and_get_trace_func", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_9) < 0) __PYX_ERR(0, 1800, __pyx_L28_except_error) - __Pyx_XGOTREF(__pyx_t_2); + if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_10) < 0) __PYX_ERR(0, 1800, __pyx_L28_except_error) __Pyx_XGOTREF(__pyx_t_3); - __Pyx_XGOTREF(__pyx_t_9); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_10); /* "_pydevd_bundle/pydevd_cython.pyx":1801 * raise AttributeError() @@ -30518,21 +34541,21 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * # print('enter thread tracer', thread, get_current_thread_id(thread)) */ - __pyx_t_10 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_10); - __pyx_t_8 = 0; + __pyx_t_11 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_11); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_v_thread}; - __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_additional_thread_info, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1801, __pyx_L28_except_error) - __Pyx_GOTREF(__pyx_t_7); + PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_v_thread}; + __pyx_t_8 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_additional_thread_info, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1801, __pyx_L28_except_error) + __Pyx_GOTREF(__pyx_t_8); } - __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_7); - __pyx_t_7 = 0; - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_8); + __pyx_t_8 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; goto __pyx_L27_exception_handled; } @@ -30544,16 +34567,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if additional_info is None: */ __pyx_L28_except_error:; - __Pyx_XGIVEREF(__pyx_t_11); __Pyx_XGIVEREF(__pyx_t_12); __Pyx_XGIVEREF(__pyx_t_13); - __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13); + __Pyx_XGIVEREF(__pyx_t_14); + __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_13, __pyx_t_14); goto __pyx_L1_error; __pyx_L27_exception_handled:; - __Pyx_XGIVEREF(__pyx_t_11); __Pyx_XGIVEREF(__pyx_t_12); __Pyx_XGIVEREF(__pyx_t_13); - __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13); + __Pyx_XGIVEREF(__pyx_t_14); + __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_13, __pyx_t_14); __pyx_L31_try_end:; } @@ -30564,29 +34587,29 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * if f_unhandled is not None: */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_global_cache_skips); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1804, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_global_cache_frame_skips); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1804, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1804, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_global_cache_skips); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1804, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_global_cache_frame_skips); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1804, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1804, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_py_db); __Pyx_GIVEREF(__pyx_v_py_db); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_py_db) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_py_db) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); __Pyx_INCREF(__pyx_v_thread); __Pyx_GIVEREF(__pyx_v_thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_thread) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_thread) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); __Pyx_INCREF(__pyx_v_additional_info); __Pyx_GIVEREF(__pyx_v_additional_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_additional_info) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_9); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_t_9) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_t_3) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); - __pyx_t_9 = 0; - __pyx_t_3 = 0; - __pyx_v_args = ((PyObject*)__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_additional_info) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_10); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_t_10) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 4, __pyx_t_2) != (0)) __PYX_ERR(0, 1804, __pyx_L1_error); + __pyx_t_10 = 0; __pyx_t_2 = 0; + __pyx_v_args = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1806 * args = (py_db, thread, additional_info, global_cache_skips, global_cache_frame_skips) @@ -30595,8 +34618,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if f_unhandled.f_back is None and not force_only_unhandled_tracer: * # Happens when we attach to a running program (cannot reuse instance because it's mutable). */ - __pyx_t_6 = (__pyx_v_f_unhandled != Py_None); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_f_unhandled != Py_None); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1807 * @@ -30605,19 +34629,26 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # Happens when we attach to a running program (cannot reuse instance because it's mutable). * top_level_thread_tracer = TopLevelThreadTracerNoBackFrame(ThreadTracer(args), args) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1807, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = (__pyx_t_2 == Py_None); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1807, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = (__pyx_t_3 == Py_None); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_1) { + } else { - __pyx_t_6 = __pyx_t_1; + + __pyx_t_7 = __pyx_t_1; + goto __pyx_L37_bool_binop_done; } __pyx_t_1 = (!__pyx_v_force_only_unhandled_tracer); - __pyx_t_6 = __pyx_t_1; + + + __pyx_t_7 = __pyx_t_1; + __pyx_L37_bool_binop_done:; - if (__pyx_t_6) { + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1809 * if f_unhandled.f_back is None and not force_only_unhandled_tracer: @@ -30626,27 +34657,27 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * additional_info.top_level_thread_tracer_no_back_frames.append( * top_level_thread_tracer */ - __pyx_t_3 = NULL; - __pyx_t_7 = NULL; - __pyx_t_8 = 1; + __pyx_t_2 = NULL; + __pyx_t_8 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_args}; - __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1809, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_v_args}; + __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1809, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_10); } - __pyx_t_8 = 1; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_t_9), __pyx_v_args}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF((PyObject *)__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1809, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_2); + PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_t_10), __pyx_v_args}; + __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_callargs+__pyx_t_9, (3-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF((PyObject *)__pyx_t_10); __pyx_t_10 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1809, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_3); } - __pyx_v_top_level_thread_tracer = ((PyObject *)__pyx_t_2); - __pyx_t_2 = 0; + __pyx_v_top_level_thread_tracer = ((PyObject *)__pyx_t_3); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1810 * # Happens when we attach to a running program (cannot reuse instance because it's mutable). @@ -30655,8 +34686,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * top_level_thread_tracer * ) # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough). */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_top_level_thread_tracer_no_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1810, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_top_level_thread_tracer_no_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1810, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); /* "_pydevd_bundle/pydevd_cython.pyx":1811 * top_level_thread_tracer = TopLevelThreadTracerNoBackFrame(ThreadTracer(args), args) @@ -30665,8 +34696,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * ) # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough). * else: */ - __pyx_t_14 = __Pyx_PyObject_Append(__pyx_t_2, __pyx_v_top_level_thread_tracer); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 1810, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_15 = __Pyx_PyObject_Append(__pyx_t_3, __pyx_v_top_level_thread_tracer); if (unlikely(__pyx_t_15 == ((int)-1))) __PYX_ERR(0, 1810, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":1807 * @@ -30686,10 +34718,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # Stop in some internal place to report about unhandled exceptions */ /*else*/ { - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_top_level_thread_tracer_unhandle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v_top_level_thread_tracer = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_top_level_thread_tracer_unhandle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1814, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_v_top_level_thread_tracer = __pyx_t_3; + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1815 * else: @@ -30698,8 +34730,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # Stop in some internal place to report about unhandled exceptions * top_level_thread_tracer = TopLevelThreadTracerOnlyUnhandledExceptions(args) */ - __pyx_t_6 = (__pyx_v_top_level_thread_tracer == Py_None); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_top_level_thread_tracer == Py_None); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1817 * if top_level_thread_tracer is None: @@ -30708,17 +34741,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * additional_info.top_level_thread_tracer_unhandled = top_level_thread_tracer # Hack for cython to keep it alive while the thread is alive (just the method in the SetTrace is not enough). * */ - __pyx_t_9 = NULL; - __pyx_t_8 = 1; + __pyx_t_10 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_v_args}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1817, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_v_args}; + __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1817, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_3); } - __Pyx_DECREF_SET(__pyx_v_top_level_thread_tracer, ((PyObject *)__pyx_t_2)); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_top_level_thread_tracer, ((PyObject *)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1818 * # Stop in some internal place to report about unhandled exceptions @@ -30747,18 +34780,18 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __pyx_t_9 = __pyx_v_top_level_thread_tracer; - __Pyx_INCREF(__pyx_t_9); - __pyx_t_8 = 0; + __pyx_t_10 = __pyx_v_top_level_thread_tracer; + __Pyx_INCREF(__pyx_t_10); + __pyx_t_9 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_9, NULL}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_trace_dispatch_func, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1821, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_10, NULL}; + __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_trace_dispatch_func, __pyx_callargs+__pyx_t_9, (1-__pyx_t_9) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1821, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); } - __pyx_v_f_trace = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_v_f_trace = __pyx_t_3; + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1824 * # fmt: off @@ -30767,17 +34800,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # ENDIF * # fmt: on */ - __pyx_t_9 = NULL; - __pyx_t_8 = 1; + __pyx_t_10 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_v_f_trace}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1824, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_v_f_trace}; + __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1824, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_3); } - __Pyx_DECREF_SET(__pyx_v_f_trace, ((PyObject *)__pyx_t_2)); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_f_trace, ((PyObject *)__pyx_t_3)); + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1827 * # ENDIF @@ -30795,8 +34828,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * return f_trace, False * */ - __pyx_t_6 = (__pyx_v_frame == __pyx_v_f_unhandled); - if (__pyx_t_6) { + __pyx_t_7 = (__pyx_v_frame == __pyx_v_f_unhandled); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1830 * @@ -30805,17 +34839,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * * thread_tracer = additional_info.thread_tracer */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1830, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1830, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_f_trace); __Pyx_GIVEREF(__pyx_v_f_trace); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_f_trace) != (0)) __PYX_ERR(0, 1830, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_f_trace) != (0)) __PYX_ERR(0, 1830, __pyx_L1_error); __Pyx_INCREF(Py_False); __Pyx_GIVEREF(Py_False); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, Py_False) != (0)) __PYX_ERR(0, 1830, __pyx_L1_error); - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, Py_False) != (0)) __PYX_ERR(0, 1830, __pyx_L1_error); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_3 = 0; goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1829 @@ -30843,10 +34883,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * if thread_tracer is None or thread_tracer._args[0] is not py_db: * thread_tracer = ThreadTracer(args) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_thread_tracer); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1832, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v_thread_tracer = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_thread_tracer); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1832, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_v_thread_tracer = __pyx_t_3; + __pyx_t_3 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1833 * @@ -30857,20 +34897,26 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace */ __pyx_t_1 = (__pyx_v_thread_tracer == Py_None); if (!__pyx_t_1) { + } else { - __pyx_t_6 = __pyx_t_1; + + __pyx_t_7 = __pyx_t_1; + goto __pyx_L42_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_tracer, __pyx_mstate_global->__pyx_n_u_args_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1833, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_9 = __Pyx_GetItemInt(__pyx_t_2, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1833, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_1 = (__pyx_t_9 != __pyx_v_py_db); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_6 = __pyx_t_1; + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_tracer, __pyx_mstate_global->__pyx_n_u_args_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1833, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_10 = __Pyx_GetItemInt(__pyx_t_3, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1833, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = (__pyx_t_10 != __pyx_v_py_db); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + + __pyx_t_7 = __pyx_t_1; + __pyx_L42_bool_binop_done:; - if (__pyx_t_6) { + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1834 * thread_tracer = additional_info.thread_tracer @@ -30879,17 +34925,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * additional_info.thread_tracer = thread_tracer * */ - __pyx_t_2 = NULL; - __pyx_t_8 = 1; + __pyx_t_3 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_args}; - __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1834, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_args}; + __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1834, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_10); } - __Pyx_DECREF_SET(__pyx_v_thread_tracer, ((PyObject *)__pyx_t_9)); - __pyx_t_9 = 0; + __Pyx_DECREF_SET(__pyx_v_thread_tracer, ((PyObject *)__pyx_t_10)); + __pyx_t_10 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1835 * if thread_tracer is None or thread_tracer._args[0] is not py_db: @@ -30916,26 +34962,32 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace * # ELSE * # return thread_tracer, True */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = NULL; - __pyx_t_8 = 1; + __pyx_t_3 = NULL; + __pyx_t_9 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_thread_tracer}; - __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1839, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_thread_tracer}; + __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1839, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_10); } - __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_GIVEREF((PyObject *)__pyx_t_9); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_t_9)) != (0)) __PYX_ERR(0, 1839, __pyx_L1_error); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1839, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF((PyObject *)__pyx_t_10); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_t_10)) != (0)) __PYX_ERR(0, 1839, __pyx_L1_error); __Pyx_INCREF(Py_True); __Pyx_GIVEREF(Py_True); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, Py_True) != (0)) __PYX_ERR(0, 1839, __pyx_L1_error); - __pyx_t_9 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, Py_True) != (0)) __PYX_ERR(0, 1839, __pyx_L1_error); + __pyx_t_10 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_3 = 0; goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1710 @@ -30950,9 +35002,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); - __Pyx_XDECREF(__pyx_t_7); - __Pyx_XDECREF(__pyx_t_9); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_8); __Pyx_XDECREF(__pyx_t_10); + __Pyx_XDECREF(__pyx_t_11); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.fix_top_level_trace_and_get_trace_func", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -30960,7 +35013,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace __Pyx_XDECREF(__pyx_v_args); __Pyx_XDECREF(__pyx_v_thread); __Pyx_XDECREF(__pyx_v_f_unhandled); + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XDECREF(__pyx_v_t); __Pyx_XDECREF(__pyx_v_additional_info); __Pyx_XDECREF(__pyx_v_top_level_thread_tracer); @@ -30981,7 +35036,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_18fix_top_level_trace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_21trace_dispatch(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30989,7 +35044,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_21trace_dispatch = {"trace_dispatch", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_21trace_dispatch, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_21trace_dispatch(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30999,7 +35054,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -31010,7 +35065,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("trace_dispatch (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -31021,7 +35076,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1846, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1846, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 4: @@ -31137,10 +35192,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_4); } else { - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); } @@ -31187,6 +35242,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH __pyx_t_7 = (__pyx_v_thread_trace_func == Py_None); if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1849 * thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame) * if thread_trace_func is None: @@ -31194,8 +35250,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH * if apply_to_settrace: * py_db.enable_tracing(thread_trace_func) */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1849, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1849, __pyx_L1_error) if (__pyx_t_7) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -31205,7 +35260,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH __pyx_t_1 = __pyx_t_4; __pyx_t_4 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -31228,6 +35291,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_apply_to_settrace); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1850, __pyx_L1_error) if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":1851 * return None if event == "call" else NO_FTRACE * if apply_to_settrace: @@ -31263,7 +35327,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_4 = NULL; __Pyx_INCREF(__pyx_v_thread_trace_func); __pyx_t_2 = __pyx_v_thread_trace_func; @@ -31287,7 +35350,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1852, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -31324,10 +35394,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_20trace_dispatch(CYTH */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_args = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; @@ -31336,20 +35420,22 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_args,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1859, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1859, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1859, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; @@ -31363,7 +35449,7 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1859, __pyx_L3_error) } __pyx_v_args = ((PyObject*)values[0]); @@ -31416,8 +35502,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU __Pyx_INCREF(__pyx_v_args); __Pyx_GIVEREF(__pyx_v_args); __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = __pyx_v_args; + __Pyx_DECREF_SET(__pyx_v_self->_args, __pyx_v_args); /* "_pydevd_bundle/pydevd_cython.pyx":1859 * cdef class TopLevelThreadTracerOnlyUnhandledExceptions: @@ -31429,6 +35514,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31443,7 +35529,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -31451,7 +35537,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions = {"trace_unhandled_exceptions", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -31460,7 +35546,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds CYTHON_UNUSED PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -31471,7 +35557,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("trace_unhandled_exceptions (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -31482,7 +35568,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1869, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1869, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -31567,17 +35653,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * py_db, t, additional_info = self._args[0:3] * if arg is not None: */ - __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1872, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1872, __pyx_L1_error) if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L4_bool_binop_done; } __pyx_t_2 = (__pyx_v_arg != Py_None); + __pyx_t_1 = __pyx_t_2; + __pyx_L4_bool_binop_done:; if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1873 * # print('trace_unhandled_exceptions', event, frame.f_code.co_name, frame.f_code.co_filename, frame.f_code.co_firstlineno) * if event == "exception" and arg is not None: @@ -31586,7 +35678,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * if not additional_info.suspended_at_unhandled: */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1873, __pyx_L1_error) } __pyx_t_3 = __Pyx_PyTuple_GetSlice(__pyx_v_self->_args, 0, 3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1873, __pyx_L1_error) @@ -31633,6 +35725,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace __pyx_t_1 = (__pyx_v_arg != Py_None); if (__pyx_t_1) { + /* "_pydevd_bundle/pydevd_cython.pyx":1875 * py_db, t, additional_info = self._args[0:3] * if arg is not None: @@ -31645,8 +35738,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1875, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_2 = (!__pyx_t_1); + + if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1876 * if arg is not None: * if not additional_info.suspended_at_unhandled: @@ -31709,10 +35805,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * * def get_trace_dispatch_func(self): */ - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_unhandled_exceptions); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1881, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_r = __pyx_t_3; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_3 = 0; goto __pyx_L0; @@ -31751,7 +35853,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -31759,20 +35861,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func = {"get_trace_dispatch_func", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_trace_dispatch_func (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -31807,10 +35909,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * * # fmt: off */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_unhandled_exceptions); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -31859,11 +35967,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5_args___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_args); - __pyx_r = __pyx_v_self->_args; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_args); + __pyx_r = __pyx_v_self->_args; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -31891,27 +36027,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(0, 1858, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyTuple_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_2))) __PYX_ERR(0, 1858, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerOnlyUnhandledExceptions._args.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31934,15 +36092,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5_args_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -31955,7 +36130,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyU /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -31963,20 +36138,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -32002,9 +36177,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; + PyObject *__pyx_t_2 = NULL; int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; + int __pyx_t_4; PyObject *__pyx_t_5 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -32014,67 +36189,109 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self._args,) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_v_self->_args); - __Pyx_GIVEREF(__pyx_v_self->_args); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_v_state = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self._args,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_v_self->_args); + __Pyx_GIVEREF(__pyx_v_self->_args); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_v_state = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v__dict = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v__dict = __pyx_t_2; + __pyx_t_2 = 0; + } - /* "(tree fragment)":7 - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_3 = (__pyx_v__dict != Py_None); - if (__pyx_t_3) { + __pyx_t_4 = (__pyx_v__dict != Py_None); + if (__pyx_t_4) { + } else { - __pyx_t_2 = __pyx_t_3; - goto __pyx_L4_bool_binop_done; + + __pyx_t_3 = __pyx_t_4; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_2 = __pyx_t_3; - __pyx_L4_bool_binop_done:; - if (__pyx_t_2) { + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_3 = __pyx_t_4; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_3) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -32083,17 +36300,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self._args is not None # <<<<<<<<<<<<<< @@ -32101,12 +36318,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, None), state */ /*else*/ { - __pyx_t_2 = (__pyx_v_self->_args != ((PyObject*)Py_None)); - __pyx_v_use_setstate = __pyx_t_2; + __pyx_t_3 = (__pyx_v_self->_args != ((PyObject*)Py_None)); + __pyx_v_use_setstate = __pyx_t_3; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -32115,43 +36332,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self._args is not None * if use_setstate: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_18997755); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_18997755); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -32160,7 +36383,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, None), state * else: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) # <<<<<<<<<<<<<< @@ -32168,30 +36391,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_18997755); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_18997755); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_5 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L0; } @@ -32204,19 +36433,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerOnlyUnhandledExceptions.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -32225,7 +36455,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -32233,14 +36463,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -32251,7 +36481,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -32262,32 +36492,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -32318,24 +36548,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -32365,11 +36595,25 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTrace */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_frame_trace_dispatch = 0; PyObject *__pyx_v_args = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[2] = {0,0}; int __pyx_lineno = 0; @@ -32378,24 +36622,26 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame_trace_dispatch,&__pyx_mstate_global->__pyx_n_u_args,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1895, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1895, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1895, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1895, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; @@ -32409,9 +36655,9 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1895, __pyx_L3_error) - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1895, __pyx_L3_error) } __pyx_v_frame_trace_dispatch = values[0]; @@ -32469,8 +36715,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_INCREF(__pyx_v_frame_trace_dispatch); __Pyx_GIVEREF(__pyx_v_frame_trace_dispatch); __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); - __Pyx_DECREF(__pyx_v_self->_frame_trace_dispatch); - __pyx_v_self->_frame_trace_dispatch = __pyx_v_frame_trace_dispatch; + __Pyx_DECREF_SET(__pyx_v_self->_frame_trace_dispatch, __pyx_v_frame_trace_dispatch); /* "_pydevd_bundle/pydevd_cython.pyx":1897 * def __init__(self, frame_trace_dispatch, tuple args): @@ -32482,8 +36727,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_INCREF(__pyx_v_args); __Pyx_GIVEREF(__pyx_v_args); __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = __pyx_v_args; + __Pyx_DECREF_SET(__pyx_v_self->_args, __pyx_v_args); /* "_pydevd_bundle/pydevd_cython.pyx":1898 * self._frame_trace_dispatch = frame_trace_dispatch @@ -32495,8 +36739,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":1899 * self._args = args @@ -32508,8 +36751,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, Py_None); /* "_pydevd_bundle/pydevd_cython.pyx":1900 * self.try_except_infos = None @@ -32522,8 +36764,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->_raise_lines); - __Pyx_DECREF(__pyx_v_self->_raise_lines); - __pyx_v_self->_raise_lines = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v_self->_raise_lines, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1901 @@ -32551,6 +36792,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -32565,7 +36807,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -32573,7 +36815,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions = {"trace_dispatch_and_unhandled_exceptions", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -32582,7 +36824,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -32593,7 +36835,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("trace_dispatch_and_unhandled_exceptions (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -32604,7 +36846,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1927, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1927, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -32716,6 +36958,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __pyx_t_2 = (__pyx_v_frame_trace_dispatch != Py_None); if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1932 * frame_trace_dispatch = self._frame_trace_dispatch * if frame_trace_dispatch is not None: @@ -32748,8 +36991,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace } __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); - __Pyx_DECREF(__pyx_v_self->_frame_trace_dispatch); - __pyx_v_self->_frame_trace_dispatch = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v_self->_frame_trace_dispatch, __pyx_t_1); __pyx_t_1 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1931 @@ -32768,9 +37010,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * self._last_exc_arg = arg * self._raise_lines.add(frame.f_lineno) */ - __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1934, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_exception, Py_EQ); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1934, __pyx_L1_error) if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1935 * * if event == "exception": @@ -32781,8 +37024,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __Pyx_INCREF(__pyx_v_arg); __Pyx_GIVEREF(__pyx_v_arg); __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = __pyx_v_arg; + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, __pyx_v_arg); /* "_pydevd_bundle/pydevd_cython.pyx":1936 * if event == "exception": @@ -32792,7 +37034,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * */ if (unlikely(__pyx_v_self->_raise_lines == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "add"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "add"); __PYX_ERR(0, 1936, __pyx_L1_error) } __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1936, __pyx_L1_error) @@ -32800,6 +37042,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __pyx_t_6 = PySet_Add(__pyx_v_self->_raise_lines, __pyx_t_1); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + /* "_pydevd_bundle/pydevd_cython.pyx":1937 * self._last_exc_arg = arg * self._raise_lines.add(frame.f_lineno) @@ -32830,17 +37073,23 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * # For unhandled exceptions we actually track the return when at the topmost level. * try: */ - __pyx_t_8 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1939, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_return, Py_EQ); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1939, __pyx_L1_error) if (__pyx_t_8) { + } else { + __pyx_t_2 = __pyx_t_8; + goto __pyx_L5_bool_binop_done; } __pyx_t_8 = (__pyx_v_self->_last_exc_arg != Py_None); + __pyx_t_2 = __pyx_t_8; + __pyx_L5_bool_binop_done:; if (__pyx_t_2) { + /* "_pydevd_bundle/pydevd_cython.pyx":1941 * elif event == "return" and self._last_exc_arg is not None: * # For unhandled exceptions we actually track the return when at the topmost level. @@ -32858,7 +37107,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * if is_unhandled_exception(self, py_db, frame, self._last_raise_line, self._raise_lines): */ if (unlikely(__pyx_v_self->_args == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 1942, __pyx_L8_error) } __pyx_t_1 = __Pyx_PyTuple_GetSlice(__pyx_v_self->_args, 0, 3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1942, __pyx_L8_error) @@ -32907,8 +37156,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1943, __pyx_L8_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = (!__pyx_t_2); + + if (__pyx_t_8) { + /* "_pydevd_bundle/pydevd_cython.pyx":1944 * py_db, t, additional_info = self._args[0:3] * if not additional_info.suspended_at_unhandled: # Note: only check it here, don't set. @@ -32946,6 +37198,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_8) { + /* "_pydevd_bundle/pydevd_cython.pyx":1945 * if not additional_info.suspended_at_unhandled: # Note: only check it here, don't set. * if is_unhandled_exception(self, py_db, frame, self._last_raise_line, self._raise_lines): @@ -32996,8 +37249,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, Py_None); goto __pyx_L9; } __pyx_L8_error:; @@ -33022,8 +37274,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, Py_None); } __Pyx_XGIVEREF(__pyx_t_15); __Pyx_XGIVEREF(__pyx_t_16); @@ -33088,9 +37339,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * * def get_trace_dispatch_func(self): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_ret); - __pyx_r = __pyx_v_ret; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_ret); + __pyx_r = __pyx_v_ret; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_bundle/pydevd_cython.pyx":1927 @@ -33130,7 +37387,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -33138,20 +37395,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func = {"get_trace_dispatch_func", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_trace_dispatch_func (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -33186,10 +37443,16 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trace_dispatch_and_unhandled_exc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -33238,11 +37501,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_21_frame_trace_dispatch___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_frame_trace_dispatch); - __pyx_r = __pyx_v_self->_frame_trace_dispatch; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_frame_trace_dispatch); + __pyx_r = __pyx_v_self->_frame_trace_dispatch; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -33269,15 +37560,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_21_frame_trace_dispatch_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); - __Pyx_DECREF(__pyx_v_self->_frame_trace_dispatch); - __pyx_v_self->_frame_trace_dispatch = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); + __Pyx_DECREF_SET(__pyx_v_self->_frame_trace_dispatch, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33300,15 +37608,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_21_frame_trace_dispatch_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); - __Pyx_DECREF(__pyx_v_self->_frame_trace_dispatch); - __pyx_v_self->_frame_trace_dispatch = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_frame_trace_dispatch); + __Pyx_DECREF_SET(__pyx_v_self->_frame_trace_dispatch, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33339,11 +37664,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5_args___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_args); - __pyx_r = __pyx_v_self->_args; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_args); + __pyx_r = __pyx_v_self->_args; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -33371,27 +37724,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(0, 1890, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyTuple_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_2))) __PYX_ERR(0, 1890, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame._args.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33414,15 +37789,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5_args_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33453,11 +37845,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_16try_except_infos___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->try_except_infos); - __pyx_r = __pyx_v_self->try_except_infos; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->try_except_infos); + __pyx_r = __pyx_v_self->try_except_infos; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -33484,15 +37904,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_16try_except_infos_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->try_except_infos); + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33515,15 +37952,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_16try_except_infos_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->try_except_infos); + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33554,11 +38008,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_13_last_exc_arg___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_last_exc_arg); - __pyx_r = __pyx_v_self->_last_exc_arg; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_last_exc_arg); + __pyx_r = __pyx_v_self->_last_exc_arg; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -33585,15 +38067,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_13_last_exc_arg_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__set__", 0); - __Pyx_INCREF(__pyx_v_value); - __Pyx_GIVEREF(__pyx_v_value); - __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = __pyx_v_value; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(__pyx_v_value); + __Pyx_GIVEREF(__pyx_v_value); + __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, __pyx_v_value); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33616,15 +38115,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_13_last_exc_arg_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); - __Pyx_DECREF(__pyx_v_self->_last_exc_arg); - __pyx_v_self->_last_exc_arg = Py_None; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_last_exc_arg); + __Pyx_DECREF_SET(__pyx_v_self->_last_exc_arg, Py_None); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33655,11 +38171,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_12_raise_lines___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_raise_lines); - __pyx_r = __pyx_v_self->_raise_lines; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_raise_lines); + __pyx_r = __pyx_v_self->_raise_lines; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -33687,27 +38231,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PySet_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("set", __pyx_t_1))) __PYX_ERR(0, 1893, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->_raise_lines); - __Pyx_DECREF(__pyx_v_self->_raise_lines); - __pyx_v_self->_raise_lines = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PySet_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("set", __pyx_t_2))) __PYX_ERR(0, 1893, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->_raise_lines); + __Pyx_DECREF_SET(__pyx_v_self->_raise_lines, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame._raise_lines.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33730,15 +38296,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_12_raise_lines_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_raise_lines); - __Pyx_DECREF(__pyx_v_self->_raise_lines); - __pyx_v_self->_raise_lines = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_raise_lines); + __Pyx_DECREF_SET(__pyx_v_self->_raise_lines, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33770,20 +38353,53 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->_last_raise_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1894, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; - __pyx_t_1 = 0; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->_last_raise_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1894, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_3 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame._last_raise_line.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; @@ -33809,20 +38425,46 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_16_last_raise_line_2__set__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *__pyx_v_self, PyObject *__pyx_v_value) { int __pyx_r; - int __pyx_t_1; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1894, __pyx_L1_error) - __pyx_v_self->_last_raise_line = __pyx_t_1; + __Pyx_RefNannySetupContext("__set__", 0); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1894, __pyx_L4_error) + __pyx_v_self->_last_raise_line = __pyx_t_2; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame._last_raise_line.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -33834,7 +38476,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBac /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -33842,20 +38484,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -33882,9 +38524,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; - int __pyx_t_3; + PyObject *__pyx_t_3 = NULL; int __pyx_t_4; - PyObject *__pyx_t_5 = NULL; + int __pyx_t_5; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -33893,84 +38535,126 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->_last_raise_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(6); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_INCREF(__pyx_v_self->_args); - __Pyx_GIVEREF(__pyx_v_self->_args); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->_frame_trace_dispatch); - __Pyx_GIVEREF(__pyx_v_self->_frame_trace_dispatch); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_self->_frame_trace_dispatch) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->_last_exc_arg); - __Pyx_GIVEREF(__pyx_v_self->_last_exc_arg); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_self->_last_exc_arg) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_t_1) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->_raise_lines); - __Pyx_GIVEREF(__pyx_v_self->_raise_lines); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_self->_raise_lines) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->try_except_infos); - __Pyx_GIVEREF(__pyx_v_self->try_except_infos); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 5, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->_last_raise_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(6); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF(__pyx_v_self->_args); + __Pyx_GIVEREF(__pyx_v_self->_args); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->_frame_trace_dispatch); + __Pyx_GIVEREF(__pyx_v_self->_frame_trace_dispatch); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_self->_frame_trace_dispatch) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->_last_exc_arg); + __Pyx_GIVEREF(__pyx_v_self->_last_exc_arg); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_self->_last_exc_arg) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_t_2) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->_raise_lines); + __Pyx_GIVEREF(__pyx_v_self->_raise_lines); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 4, __pyx_v_self->_raise_lines) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->try_except_infos); + __Pyx_GIVEREF(__pyx_v_self->try_except_infos); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 5, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_v__dict = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_v__dict = __pyx_t_3; + __pyx_t_3 = 0; + } - /* "(tree fragment)":7 - * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_4 = (__pyx_v__dict != Py_None); - if (__pyx_t_4) { + __pyx_t_5 = (__pyx_v__dict != Py_None); + if (__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L4_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_3 = __pyx_t_4; - __pyx_L4_bool_binop_done:; - if (__pyx_t_3) { + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_4 = __pyx_t_5; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_4) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_1 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_1)); - __pyx_t_1 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -33979,17 +38663,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self._args, self._frame_trace_dispatch, self._last_exc_arg, self._last_raise_line, self._raise_lines, self.try_except_infos) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self._args is not None or self._frame_trace_dispatch is not None or self._last_exc_arg is not None or self._raise_lines is not None or self.try_except_infos is not None # <<<<<<<<<<<<<< @@ -33997,38 +38681,52 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, None), state */ /*else*/ { - __pyx_t_4 = (__pyx_v_self->_args != ((PyObject*)Py_None)); - if (!__pyx_t_4) { + __pyx_t_5 = (__pyx_v_self->_args != ((PyObject*)Py_None)); + if (!__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L6_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_4 = (__pyx_v_self->_frame_trace_dispatch != Py_None); - if (!__pyx_t_4) { + __pyx_t_5 = (__pyx_v_self->_frame_trace_dispatch != Py_None); + if (!__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L6_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_4 = (__pyx_v_self->_last_exc_arg != Py_None); - if (!__pyx_t_4) { + __pyx_t_5 = (__pyx_v_self->_last_exc_arg != Py_None); + if (!__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L6_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_4 = (__pyx_v_self->_raise_lines != ((PyObject*)Py_None)); - if (!__pyx_t_4) { + __pyx_t_5 = (__pyx_v_self->_raise_lines != ((PyObject*)Py_None)); + if (!__pyx_t_5) { + } else { - __pyx_t_3 = __pyx_t_4; - goto __pyx_L6_bool_binop_done; + + __pyx_t_4 = __pyx_t_5; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_4 = (__pyx_v_self->try_except_infos != Py_None); - __pyx_t_3 = __pyx_t_4; - __pyx_L6_bool_binop_done:; - __pyx_v_use_setstate = __pyx_t_3; + __pyx_t_5 = (__pyx_v_self->try_except_infos != Py_None); + + __pyx_t_4 = __pyx_t_5; + + __pyx_L9_bool_binop_done:; + __pyx_v_use_setstate = __pyx_t_4; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None or self._frame_trace_dispatch is not None or self._last_exc_arg is not None or self._raise_lines is not None or self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -34037,43 +38735,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self._args is not None or self._frame_trace_dispatch is not None or self._last_exc_arg is not None or self._raise_lines is not None or self.try_except_infos is not None * if use_setstate: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_66451433); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_66451433); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_mstate_global->__pyx_int_66451433) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_66451433) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_3 = 0; __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; - __pyx_r = __pyx_t_5; - __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None or self._frame_trace_dispatch is not None or self._last_exc_arg is not None or self._raise_lines is not None or self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -34082,7 +38786,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, None), state * else: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) # <<<<<<<<<<<<<< @@ -34090,30 +38794,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_66451433); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_66451433); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_mstate_global->__pyx_int_66451433) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_66451433) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_2) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_5 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_2 = 0; - __pyx_r = __pyx_t_1; __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_3 = 0; goto __pyx_L0; } @@ -34127,18 +38837,19 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_2); - __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_3); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -34147,7 +38858,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -34155,14 +38866,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -34173,7 +38884,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -34184,32 +38895,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -34240,24 +38951,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -34287,10 +38998,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTrace */ /* Python wrapper */ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_args = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; @@ -34299,20 +39024,22 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(Py int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_args,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1970, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1970, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1970, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; @@ -34326,7 +39053,7 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(Py } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1970, __pyx_L3_error) } __pyx_v_args = ((PyObject*)values[0]); @@ -34379,8 +39106,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer___init__(str __Pyx_INCREF(__pyx_v_args); __Pyx_GIVEREF(__pyx_v_args); __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = __pyx_v_args; + __Pyx_DECREF_SET(__pyx_v_self->_args, __pyx_v_args); /* "_pydevd_bundle/pydevd_cython.pyx":1970 * cdef class ThreadTracer: @@ -34392,6 +39118,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer___init__(str /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -34432,7 +39159,7 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_3__cal { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1980, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1980, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -34596,8 +39323,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * */ __pyx_t_7 = (__pyx_v_additional_info->is_tracing != 0); + if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":2010 * py_db, t, additional_info, cache_skips, frame_skips_cache = self._args * if additional_info.is_tracing: @@ -34605,8 +39334,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * additional_info.is_tracing += 1 */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2010, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2010, __pyx_L1_error) if (__pyx_t_7) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -34616,7 +39344,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_6; __pyx_t_6 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -34663,6 +39399,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * if py_db.pydb_disposed: */ __pyx_t_11 = __pyx_v_additional_info->pydev_step_cmd; + __pyx_v_pydev_step_cmd = __pyx_t_11; /* "_pydevd_bundle/pydevd_cython.pyx":2015 @@ -34687,6 +39424,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_7) { + /* "_pydevd_bundle/pydevd_cython.pyx":2017 * is_stepping = pydev_step_cmd != -1 * if py_db.pydb_disposed: @@ -34694,8 +39432,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * # if thread is not alive, cancel trace_dispatch processing */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2017, __pyx_L7_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2017, __pyx_L7_error) if (__pyx_t_7) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -34705,7 +39442,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_6; __pyx_t_6 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -34751,8 +39496,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2020, __pyx_L7_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_13 = (!__pyx_t_7); + + if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2021 * # if thread is not alive, cancel trace_dispatch processing * if not is_thread_alive(t): @@ -34803,8 +39551,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * # Note: it's important that the context name is also given because we may hit something once */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_13 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2022, __pyx_L7_error) + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2022, __pyx_L7_error) if (__pyx_t_13) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -34814,7 +39561,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_6; __pyx_t_6 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -34847,12 +39602,13 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * # if DEBUG: print('skipped: trace_dispatch (cache hit)', frame_cache_key, frame.f_lineno, event, frame.f_code.co_name) */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); __PYX_ERR(0, 2027, __pyx_L7_error) } __pyx_t_13 = (__Pyx_PyDict_ContainsTF(__pyx_v_frame_cache_key, __pyx_v_cache_skips, Py_EQ)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2027, __pyx_L7_error) if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2028 * frame_cache_key = frame.f_code * if frame_cache_key in cache_skips: @@ -34861,8 +39617,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * return None if event == "call" else NO_FTRACE */ __pyx_t_13 = (!__pyx_v_is_stepping); + if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2030 * if not is_stepping: * # if DEBUG: print('skipped: trace_dispatch (cache hit)', frame_cache_key, frame.f_lineno, event, frame.f_code.co_name) @@ -34870,8 +39628,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * else: * # When stepping we can't take into account caching based on the breakpoints (only global filtering). */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_13 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2030, __pyx_L7_error) + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2030, __pyx_L7_error) if (__pyx_t_13) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -34881,7 +39638,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_6; __pyx_t_6 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -34903,7 +39668,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ /*else*/ { if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 2033, __pyx_L7_error) } __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_cache_skips, __pyx_v_frame_cache_key, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2033, __pyx_L7_error) @@ -34912,6 +39677,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2035 * if cache_skips.get(frame_cache_key) == 1: * if ( @@ -34929,9 +39695,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal break; } __pyx_t_14 = __pyx_t_7; + + if (__pyx_t_14) { + } else { + __pyx_t_13 = __pyx_t_14; + goto __pyx_L19_bool_binop_done; } @@ -34942,9 +39713,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * ): * notify_skipped_step_in_because_of_filters(py_db, frame) */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2036, __pyx_L7_error) + if (__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in == Py_None) __pyx_t_14 = 0; + else + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 2036, __pyx_L7_error) + __pyx_t_14 = (__pyx_temp != 0); + } + __pyx_t_7 = (!__pyx_t_14); + + + __pyx_t_13 = __pyx_t_7; + __pyx_L19_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":2034 @@ -34956,6 +39738,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2038 * and not _global_notify_skipped_step_in * ): @@ -35018,8 +39801,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ __pyx_t_7 = (__pyx_v_back_frame != Py_None); if (__pyx_t_7) { + } else { + __pyx_t_13 = __pyx_t_7; + goto __pyx_L22_bool_binop_done; } switch (__pyx_v_pydev_step_cmd) { @@ -35066,10 +39852,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal break; } __pyx_t_14 = __pyx_t_7; + + + __pyx_t_13 = __pyx_t_14; + __pyx_L22_bool_binop_done:; if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2047 * 160, * ): @@ -35090,7 +39881,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * return None if event == "call" else NO_FTRACE */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); __PYX_ERR(0, 2048, __pyx_L7_error) } __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_cache_skips, __pyx_v_back_frame_cache_key, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2048, __pyx_L7_error) @@ -35099,6 +39890,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2050 * if cache_skips.get(back_frame_cache_key) == 1: * # if DEBUG: print('skipped: trace_dispatch (cache hit: 1)', frame_cache_key, frame.f_lineno, event, frame.f_code.co_name) @@ -35106,8 +39898,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * else: * # if DEBUG: print('skipped: trace_dispatch (cache hit: 2)', frame_cache_key, frame.f_lineno, event, frame.f_code.co_name) */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_13 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2050, __pyx_L7_error) + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2050, __pyx_L7_error) if (__pyx_t_13) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35117,7 +39908,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_5; __pyx_t_5 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -35148,8 +39947,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * try: */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __pyx_t_13 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2053, __pyx_L7_error) + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2053, __pyx_L7_error) if (__pyx_t_13) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35159,7 +39957,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_5; __pyx_t_5 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; } @@ -35354,6 +40160,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_13 = (__pyx_v_file_type != Py_None); if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2066 * * if file_type is not None: @@ -35364,6 +40171,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_13 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_file_type, __pyx_mstate_global->__pyx_int_1, 1, 0)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2066, __pyx_L7_error) if (__pyx_t_13) { + /* "_pydevd_bundle/pydevd_cython.pyx":2067 * if file_type is not None: * if file_type == 1: # inlining LIB_FILE = 1 @@ -35374,10 +40182,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_6 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_6); if (unlikely(__pyx_v_abs_path_canonical_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2067, __pyx_L7_error) } - __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2067, __pyx_L7_error) + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2067, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_12 = 0; { @@ -35391,8 +40199,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 2067, __pyx_L7_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_14 = (!__pyx_t_13); + + if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2069 * if not py_db.in_project_scope(frame, abs_path_canonical_path_and_base[0]): * # if DEBUG: print('skipped: trace_dispatch (not in scope)', abs_path_canonical_path_and_base[2], frame.f_lineno, event, frame.f_code.co_name, file_type) @@ -35401,7 +40212,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * else: */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2069, __pyx_L7_error) } if (unlikely((PyDict_SetItem(__pyx_v_cache_skips, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 2069, __pyx_L7_error) @@ -35413,8 +40224,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * else: * # if DEBUG: print('skipped: trace_dispatch', abs_path_canonical_path_and_base[2], frame.f_lineno, event, frame.f_code.co_name, file_type) */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2070, __pyx_L7_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2070, __pyx_L7_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35424,7 +40234,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_5; __pyx_t_5 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -35456,7 +40274,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ /*else*/ { if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2073, __pyx_L7_error) } if (unlikely((PyDict_SetItem(__pyx_v_cache_skips, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 2073, __pyx_L7_error) @@ -35468,8 +40286,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * if py_db.is_files_filter_enabled: */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2074, __pyx_L7_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2074, __pyx_L7_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35479,7 +40296,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_5; __pyx_t_5 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; } @@ -35507,6 +40332,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2077 * * if py_db.is_files_filter_enabled: @@ -35517,10 +40343,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_5 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_5); if (unlikely(__pyx_v_abs_path_canonical_path_and_base == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2077, __pyx_L7_error) } - __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2077, __pyx_L7_error) + __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v_abs_path_canonical_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2077, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_12 = 0; { @@ -35535,6 +40361,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2078 * if py_db.is_files_filter_enabled: * if py_db.apply_files_filter(frame, abs_path_canonical_path_and_base[0], False): @@ -35543,7 +40370,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * if ( */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2078, __pyx_L7_error) } if (unlikely((PyDict_SetItem(__pyx_v_cache_skips, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 2078, __pyx_L7_error) @@ -35557,6 +40384,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ if (__pyx_v_is_stepping) { } else { + __pyx_t_14 = __pyx_v_is_stepping; goto __pyx_L39_bool_binop_done; } @@ -35578,9 +40406,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal break; } __pyx_t_7 = __pyx_t_13; + + if (__pyx_t_7) { + } else { + __pyx_t_14 = __pyx_t_7; + goto __pyx_L39_bool_binop_done; } @@ -35591,9 +40424,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * ): * notify_skipped_step_in_because_of_filters(py_db, frame) */ - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2083, __pyx_L7_error) + if (__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in == Py_None) __pyx_t_7 = 0; + else + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_14_pydevd_bundle_13pydevd_cython__global_notify_skipped_step_in); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 2083, __pyx_L7_error) + __pyx_t_7 = (__pyx_temp != 0); + } + __pyx_t_13 = (!__pyx_t_7); + + + __pyx_t_14 = __pyx_t_13; + __pyx_L39_bool_binop_done:; /* "_pydevd_bundle/pydevd_cython.pyx":2080 @@ -35605,6 +40449,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2085 * and not _global_notify_skipped_step_in * ): @@ -35667,8 +40512,11 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal */ __pyx_t_13 = (__pyx_v_back_frame != Py_None); if (__pyx_t_13) { + } else { + __pyx_t_14 = __pyx_t_13; + goto __pyx_L43_bool_binop_done; } switch (__pyx_v_pydev_step_cmd) { @@ -35715,10 +40563,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal break; } __pyx_t_7 = __pyx_t_13; + + + __pyx_t_14 = __pyx_t_7; + __pyx_L43_bool_binop_done:; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2097 * 160, * ): @@ -35746,6 +40599,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2098 * ): * if py_db.apply_files_filter(back_frame, back_frame.f_code.co_filename, False): @@ -35766,7 +40620,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * return None if event == "call" else NO_FTRACE */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2099, __pyx_L7_error) } if (unlikely((PyDict_SetItem(__pyx_v_cache_skips, __pyx_v_back_frame_cache_key, __pyx_mstate_global->__pyx_int_1) < 0))) __PYX_ERR(0, 2099, __pyx_L7_error) @@ -35778,8 +40632,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * else: * # if DEBUG: print('skipped: trace_dispatch (filtered out: 2)', frame_cache_key, frame.f_lineno, event, frame.f_code.co_name) */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2101, __pyx_L7_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2101, __pyx_L7_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35789,7 +40642,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_3; __pyx_t_3 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; @@ -35820,8 +40681,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * # if DEBUG: print('trace_dispatch', filename, frame.f_lineno, event, frame.f_code.co_name, file_type) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2104, __pyx_L7_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2104, __pyx_L7_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_1 = Py_None; @@ -35831,7 +40691,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_1 = __pyx_t_3; __pyx_t_3 = 0; } - __pyx_r = __pyx_t_1; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L11_try_return; } @@ -35928,6 +40796,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_14 = (__pyx_v_ret == Py_None); if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2123 * # 1 means skipped because of filters. * # 2 means skipped because no breakpoints were hit. @@ -35936,7 +40805,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * */ if (unlikely(__pyx_v_cache_skips == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); __PYX_ERR(0, 2123, __pyx_L7_error) } if (unlikely((PyDict_SetItem(__pyx_v_cache_skips, __pyx_v_frame_cache_key, __pyx_mstate_global->__pyx_int_2) < 0))) __PYX_ERR(0, 2123, __pyx_L7_error) @@ -35948,8 +40817,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * # fmt: off */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2124, __pyx_L7_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2124, __pyx_L7_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_3 = Py_None; @@ -35959,7 +40827,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_3 = __pyx_t_5; __pyx_t_5 = 0; } - __pyx_r = __pyx_t_3; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_3 = 0; goto __pyx_L11_try_return; @@ -35998,9 +40874,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * except SystemExit: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_ret); - __pyx_r = __pyx_v_ret; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_ret); + __pyx_r = __pyx_v_ret; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L11_try_return; /* "_pydevd_bundle/pydevd_cython.pyx":2013 @@ -36041,8 +40923,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * * except Exception: */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2136, __pyx_L9_except_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2136, __pyx_L9_except_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_6 = Py_None; @@ -36052,7 +40933,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_6 = __pyx_t_2; __pyx_t_2 = 0; } - __pyx_r = __pyx_t_6; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -36088,6 +40977,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2140 * except Exception: * if py_db.pydb_disposed: @@ -36095,8 +40985,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * # Log it * try: */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2140, __pyx_L9_except_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2140, __pyx_L9_except_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_6 = Py_None; @@ -36106,7 +40995,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_6 = __pyx_t_2; __pyx_t_2 = 0; } - __pyx_r = __pyx_t_6; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -36151,6 +41048,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_14) { + /* "_pydevd_bundle/pydevd_cython.pyx":2145 * if pydev_log_exception is not None: * # This can actually happen during the interpreter shutdown in Python 2.7 @@ -36235,8 +41133,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal * finally: * additional_info.is_tracing -= 1 */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_14 = (__Pyx_PyUnicode_Equals(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2150, __pyx_L9_except_error) + __pyx_t_14 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_event, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 2150, __pyx_L9_except_error) if (__pyx_t_14) { __Pyx_INCREF(Py_None); __pyx_t_6 = Py_None; @@ -36246,7 +41143,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __pyx_t_6 = __pyx_t_4; __pyx_t_4 = 0; } - __pyx_r = __pyx_t_6; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -36355,8 +41260,10 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__cal __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.ThreadTracer.__call__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_frame_cache_key); __Pyx_XDECREF(__pyx_v_cache_skips); + __Pyx_XDECREF(__pyx_v_abs_path_canonical_path_and_base); __Pyx_XDECREF((PyObject *)__pyx_v_additional_info); __Pyx_XDECREF(__pyx_v_py_db); @@ -36397,11 +41304,39 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args___get__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *__pyx_v_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; __Pyx_RefNannySetupContext("__get__", 0); - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_self->_args); - __pyx_r = __pyx_v_self->_args; - goto __pyx_L0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_self->_args); + __pyx_r = __pyx_v_self->_args; + } + __Pyx_XDECREF(__pyx_temp); + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L3_return; + } + /*finally:*/ { + __pyx_L3_return: { + __pyx_t_2 = __pyx_r; + __pyx_r = 0; + __Pyx_PyCriticalSection_End(&__pyx_cs); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_L0:; @@ -36429,27 +41364,49 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args_2__se int __pyx_r; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__set__", 0); - __pyx_t_1 = __pyx_v_value; - __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(0, 1969, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_1); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __pyx_t_2 = __pyx_v_value; + __Pyx_INCREF(__pyx_t_2); + if (!(likely(PyTuple_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_2))) __PYX_ERR(0, 1969, __pyx_L4_error) + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.ThreadTracer._args.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36472,15 +41429,32 @@ static int __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args_5__de static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args_4__del__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *__pyx_v_self) { int __pyx_r; __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; __Pyx_RefNannySetupContext("__del__", 0); - __Pyx_INCREF(Py_None); - __Pyx_GIVEREF(Py_None); - __Pyx_GOTREF(__pyx_v_self->_args); - __Pyx_DECREF(__pyx_v_self->_args); - __pyx_v_self->_args = ((PyObject*)Py_None); + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_GOTREF(__pyx_v_self->_args); + __Pyx_DECREF_SET(__pyx_v_self->_args, ((PyObject*)Py_None)); + } + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -36493,7 +41467,7 @@ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5_args_4__de /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -36501,20 +41475,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -36540,9 +41514,9 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; + PyObject *__pyx_t_2 = NULL; int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; + int __pyx_t_4; PyObject *__pyx_t_5 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -36552,67 +41526,109 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self._args,) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_v_self->_args); - __Pyx_GIVEREF(__pyx_v_self->_args); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 5, __pyx_L1_error); - __pyx_v_state = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self._args,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_v_self->_args); + __Pyx_GIVEREF(__pyx_v_self->_args); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->_args) != (0)) __PYX_ERR(2, 6, __pyx_L4_error); + __pyx_v_state = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v__dict = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v__dict = __pyx_t_2; + __pyx_t_2 = 0; + } - /* "(tree fragment)":7 - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_3 = (__pyx_v__dict != Py_None); - if (__pyx_t_3) { + __pyx_t_4 = (__pyx_v__dict != Py_None); + if (__pyx_t_4) { + } else { - __pyx_t_2 = __pyx_t_3; - goto __pyx_L4_bool_binop_done; + + __pyx_t_3 = __pyx_t_4; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(2, 7, __pyx_L1_error) - __pyx_t_2 = __pyx_t_3; - __pyx_L4_bool_binop_done:; - if (__pyx_t_2) { + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(2, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_3 = __pyx_t_4; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_3) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 8, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(2, 9, __pyx_L1_error); + __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -36621,17 +41637,17 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self._args,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self._args,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self._args is not None # <<<<<<<<<<<<<< @@ -36639,12 +41655,12 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, None), state */ /*else*/ { - __pyx_t_2 = (__pyx_v_self->_args != ((PyObject*)Py_None)); - __pyx_v_use_setstate = __pyx_t_2; + __pyx_t_3 = (__pyx_v_self->_args != ((PyObject*)Py_None)); + __pyx_v_use_setstate = __pyx_t_3; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -36653,43 +41669,49 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self._args is not None * if use_setstate: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadTracer); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadTracer); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_18997755); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_18997755); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 13, __pyx_L1_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 14, __pyx_L1_error); + __pyx_t_2 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self._args is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -36698,7 +41720,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, None), state * else: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) # <<<<<<<<<<<<<< @@ -36706,30 +41728,36 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red * __pyx_unpickle_ThreadTracer__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadTracer); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadTracer); if (unlikely(!__pyx_t_5)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 15, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_18997755); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_18997755); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_18997755) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(2, 16, __pyx_L1_error); __pyx_t_5 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L0; } @@ -36742,19 +41770,20 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("_pydevd_bundle.pydevd_cython.ThreadTracer.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -36763,7 +41792,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_4__red /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -36771,14 +41800,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -36789,7 +41818,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -36800,32 +41829,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(2, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(2, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(2, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(2, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -36856,24 +41885,24 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_6__set int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadTracer__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(2, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(2, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadTracer__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadTracer__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -36904,7 +41933,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_6__set /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_23__call__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -36912,7 +41941,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_23__call__ = {"__call__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_23__call__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_23__call__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -36922,7 +41951,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -36933,7 +41962,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__call__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -36944,7 +41973,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2167, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 2167, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 4: @@ -37034,7 +42063,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22__call__(CYTHON_UNU __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_args_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_GetItemInt(__pyx_t_2, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2168, __pyx_L1_error) + __pyx_t_3 = __Pyx_GetItemInt(__pyx_t_2, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ident_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2168, __pyx_L1_error) @@ -37051,7 +42080,6 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22__call__(CYTHON_UNU * * ThreadTracer.__call__ = __call__ */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_original_call); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2169, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -37075,7 +42103,14 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_22__call__(CYTHON_UNU if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2169, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; @@ -37127,7 +42162,7 @@ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_25fix_top_level_trace const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return NULL; if (__pyx_kwds_len > 0) { - if (unlikely(__Pyx_CheckKeywordStrings("fix_top_level_trace_and_get_trace_func", __pyx_kwds) == -1)) return NULL; + if (unlikely(__Pyx_CheckKeywordStrings(__pyx_kwds) == -1)) return NULL; } __Pyx_INCREF(__pyx_args); __pyx_v_args = __pyx_args; @@ -37197,7 +42232,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_24fix_top_level_trace /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37205,7 +42240,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo = {"__pyx_unpickle_PyDBAdditionalThreadInfo", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37214,7 +42249,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -37225,7 +42260,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_PyDBAdditionalThreadInfo (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -37236,7 +42271,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -37302,6 +42337,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37329,6 +42365,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_26__pyx_unpickle_PyDB */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0xd33aa14, 0x024feed, 0x4342dfb, __pyx_k_conditional_breakpoint_exception); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0xd33aa14, 0x024feed, 0x4342dfb, b'conditional_breakpoint_exception, is_in_wait_loop, is_tracing, pydev_call_from_jinja2, pydev_call_inside_jinja2, pydev_django_resolve_frame, pydev_func_name, pydev_message, pydev_next_line, pydev_notify_kill, pydev_original_step_cmd, pydev_smart_child_offset, pydev_smart_parent_offset, pydev_smart_step_into_variants, pydev_smart_step_stop, pydev_state, pydev_step_cmd, pydev_step_stop, pydev_use_scoped_step_frame, step_in_initial_location, suspend_type, suspended_at_unhandled, target_id_to_smart_step_into_variant, thread_tracer, top_level_thread_tracer_no_back_frames, top_level_thread_tracer_unhandled, trace_suspend_type, weak_thread') @@ -37359,6 +42396,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_26__pyx_unpickle_PyDB __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = PyDBAdditionalThreadInfo.__new__(__pyx_type) * if __pyx_state is not None: @@ -37367,7 +42405,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_26__pyx_unpickle_PyDB * cdef __pyx_unpickle_PyDBAdditionalThreadInfo__set_state(PyDBAdditionalThreadInfo __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdditionalThreadInfo__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -37390,9 +42428,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_26__pyx_unpickle_PyDB * cdef __pyx_unpickle_PyDBAdditionalThreadInfo__set_state(PyDBAdditionalThreadInfo __pyx_result, __pyx_state: tuple): * __pyx_result.conditional_breakpoint_exception = __pyx_state[0]; __pyx_result.is_in_wait_loop = __pyx_state[1]; __pyx_result.is_tracing = __pyx_state[2]; __pyx_result.pydev_call_from_jinja2 = __pyx_state[3]; __pyx_result.pydev_call_inside_jinja2 = __pyx_state[4]; __pyx_result.pydev_django_resolve_frame = __pyx_state[5]; __pyx_result.pydev_func_name = __pyx_state[6]; __pyx_result.pydev_message = __pyx_state[7]; __pyx_result.pydev_next_line = __pyx_state[8]; __pyx_result.pydev_notify_kill = __pyx_state[9]; __pyx_result.pydev_original_step_cmd = __pyx_state[10]; __pyx_result.pydev_smart_child_offset = __pyx_state[11]; __pyx_result.pydev_smart_parent_offset = __pyx_state[12]; __pyx_result.pydev_smart_step_into_variants = __pyx_state[13]; __pyx_result.pydev_smart_step_stop = __pyx_state[14]; __pyx_result.pydev_state = __pyx_state[15]; __pyx_result.pydev_step_cmd = __pyx_state[16]; __pyx_result.pydev_step_stop = __pyx_state[17]; __pyx_result.pydev_use_scoped_step_frame = __pyx_state[18]; __pyx_result.step_in_initial_location = __pyx_state[19]; __pyx_result.suspend_type = __pyx_state[20]; __pyx_result.suspended_at_unhandled = __pyx_state[21]; __pyx_result.target_id_to_smart_step_into_variant = __pyx_state[22]; __pyx_result.thread_tracer = __pyx_state[23]; __pyx_result.top_level_thread_tracer_no_back_frames = __pyx_state[24]; __pyx_result.top_level_thread_tracer_unhandled = __pyx_state[25]; __pyx_result.trace_suspend_type = __pyx_state[26]; __pyx_result.weak_thread = __pyx_state[27] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -37441,181 +42485,166 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdd * __pyx_result.conditional_breakpoint_exception = __pyx_state[0]; __pyx_result.is_in_wait_loop = __pyx_state[1]; __pyx_result.is_tracing = __pyx_state[2]; __pyx_result.pydev_call_from_jinja2 = __pyx_state[3]; __pyx_result.pydev_call_inside_jinja2 = __pyx_state[4]; __pyx_result.pydev_django_resolve_frame = __pyx_state[5]; __pyx_result.pydev_func_name = __pyx_state[6]; __pyx_result.pydev_message = __pyx_state[7]; __pyx_result.pydev_next_line = __pyx_state[8]; __pyx_result.pydev_notify_kill = __pyx_state[9]; __pyx_result.pydev_original_step_cmd = __pyx_state[10]; __pyx_result.pydev_smart_child_offset = __pyx_state[11]; __pyx_result.pydev_smart_parent_offset = __pyx_state[12]; __pyx_result.pydev_smart_step_into_variants = __pyx_state[13]; __pyx_result.pydev_smart_step_stop = __pyx_state[14]; __pyx_result.pydev_state = __pyx_state[15]; __pyx_result.pydev_step_cmd = __pyx_state[16]; __pyx_result.pydev_step_stop = __pyx_state[17]; __pyx_result.pydev_use_scoped_step_frame = __pyx_state[18]; __pyx_result.step_in_initial_location = __pyx_state[19]; __pyx_result.suspend_type = __pyx_state[20]; __pyx_result.suspended_at_unhandled = __pyx_state[21]; __pyx_result.target_id_to_smart_step_into_variant = __pyx_state[22]; __pyx_result.thread_tracer = __pyx_state[23]; __pyx_result.top_level_thread_tracer_no_back_frames = __pyx_state[24]; __pyx_result.top_level_thread_tracer_unhandled = __pyx_state[25]; __pyx_result.trace_suspend_type = __pyx_state[26]; __pyx_result.weak_thread = __pyx_state[27] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 28) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->conditional_breakpoint_exception); - __Pyx_DECREF(__pyx_v___pyx_result->conditional_breakpoint_exception); - __pyx_v___pyx_result->conditional_breakpoint_exception = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->conditional_breakpoint_exception, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->is_in_wait_loop = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->is_tracing = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_call_from_jinja2); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_call_from_jinja2); - __pyx_v___pyx_result->pydev_call_from_jinja2 = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_call_from_jinja2, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_call_inside_jinja2); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_call_inside_jinja2); - __pyx_v___pyx_result->pydev_call_inside_jinja2 = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_call_inside_jinja2, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_django_resolve_frame = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_func_name); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_func_name); - __pyx_v___pyx_result->pydev_func_name = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_func_name, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_message); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_message); - __pyx_v___pyx_result->pydev_message = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_message, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_next_line = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_notify_kill = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_original_step_cmd = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_smart_child_offset = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_smart_parent_offset = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_smart_step_into_variants); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_smart_step_into_variants); - __pyx_v___pyx_result->pydev_smart_step_into_variants = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_smart_step_into_variants, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_smart_step_stop); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_smart_step_stop); - __pyx_v___pyx_result->pydev_smart_step_stop = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_smart_step_stop, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_state = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_step_cmd = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->pydev_step_stop); - __Pyx_DECREF(__pyx_v___pyx_result->pydev_step_stop); - __pyx_v___pyx_result->pydev_step_stop = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->pydev_step_stop, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydev_use_scoped_step_frame = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 19, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 19, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->step_in_initial_location); - __Pyx_DECREF(__pyx_v___pyx_result->step_in_initial_location); - __pyx_v___pyx_result->step_in_initial_location = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->step_in_initial_location, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 20, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 20, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->suspend_type = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 21, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 21, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->suspended_at_unhandled = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 22, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 22, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->target_id_to_smart_step_into_variant); - __Pyx_DECREF(__pyx_v___pyx_result->target_id_to_smart_step_into_variant); - __pyx_v___pyx_result->target_id_to_smart_step_into_variant = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->target_id_to_smart_step_into_variant, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 23, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 23, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->thread_tracer); - __Pyx_DECREF(__pyx_v___pyx_result->thread_tracer); - __pyx_v___pyx_result->thread_tracer = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->thread_tracer, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 24, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 24, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->top_level_thread_tracer_no_back_frames); - __Pyx_DECREF(__pyx_v___pyx_result->top_level_thread_tracer_no_back_frames); - __pyx_v___pyx_result->top_level_thread_tracer_no_back_frames = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->top_level_thread_tracer_no_back_frames, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 25, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 25, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->top_level_thread_tracer_unhandled); - __Pyx_DECREF(__pyx_v___pyx_result->top_level_thread_tracer_unhandled); - __pyx_v___pyx_result->top_level_thread_tracer_unhandled = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->top_level_thread_tracer_unhandled, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 26, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 26, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->trace_suspend_type); - __Pyx_DECREF(__pyx_v___pyx_result->trace_suspend_type); - __pyx_v___pyx_result->trace_suspend_type = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->trace_suspend_type, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 27, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 27, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->weak_thread); - __Pyx_DECREF(__pyx_v___pyx_result->weak_thread); - __pyx_v___pyx_result->weak_thread = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->weak_thread, __pyx_t_1); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -37625,6 +42654,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdd */ __pyx_t_3 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 28); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_PyDBAdditionalThreadInfo__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -37656,7 +42686,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBAdd /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37664,7 +42694,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj = {"__pyx_unpickle__TryExceptContainerObj", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37673,7 +42703,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -37684,7 +42714,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle__TryExceptContainerObj (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -37695,7 +42725,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -37761,6 +42791,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -37788,6 +42819,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_28__pyx_unpickle__Try */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0xdbf5e44, 0xde17cd3, 0xc8b6eb1, __pyx_k_try_except_infos); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0xdbf5e44, 0xde17cd3, 0xc8b6eb1, b'try_except_infos') @@ -37818,6 +42850,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_28__pyx_unpickle__Try __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = _TryExceptContainerObj.__new__(__pyx_type) * if __pyx_state is not None: @@ -37826,7 +42859,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_28__pyx_unpickle__Try * cdef __pyx_unpickle__TryExceptContainerObj__set_state(_TryExceptContainerObj __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExceptContainerObj__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -37849,9 +42882,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_28__pyx_unpickle__Try * cdef __pyx_unpickle__TryExceptContainerObj__set_state(_TryExceptContainerObj __pyx_result, __pyx_state: tuple): * __pyx_result.try_except_infos = __pyx_state[0] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -37899,13 +42938,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExc * __pyx_result.try_except_infos = __pyx_state[0] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 1) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->try_except_infos); - __Pyx_DECREF(__pyx_v___pyx_result->try_except_infos); - __pyx_v___pyx_result->try_except_infos = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->try_except_infos, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -37915,6 +42953,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExc */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle__TryExceptContainerObj__set_state(<_TryExceptContainerObj> __pyx_result, __pyx_state) * return __pyx_result @@ -37946,7 +42985,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle__TryExc /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37954,7 +42993,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame = {"__pyx_unpickle_PyDBFrame", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -37963,7 +43002,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -37974,7 +43013,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_PyDBFrame (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -37985,7 +43024,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -38051,6 +43090,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38078,6 +43118,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_30__pyx_unpickle_PyDB */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x3a8c26e, 0xb793695, 0x506e682, __pyx_k_args_exc_info_should_skip); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x3a8c26e, 0xb793695, 0x506e682, b'_args, exc_info, should_skip') @@ -38108,6 +43149,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_30__pyx_unpickle_PyDB __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = PyDBFrame.__new__(__pyx_type) * if __pyx_state is not None: @@ -38116,7 +43158,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_30__pyx_unpickle_PyDB * cdef __pyx_unpickle_PyDBFrame__set_state(PyDBFrame __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFrame__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -38139,9 +43181,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_30__pyx_unpickle_PyDB * cdef __pyx_unpickle_PyDBFrame__set_state(PyDBFrame __pyx_result, __pyx_state: tuple): * __pyx_result._args = __pyx_state[0]; __pyx_result.exc_info = __pyx_state[1]; __pyx_result.should_skip = __pyx_state[2] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -38189,22 +43237,20 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFra * __pyx_result._args = __pyx_state[0]; __pyx_result.exc_info = __pyx_state[1]; __pyx_result.should_skip = __pyx_state[2] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 3) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_args); - __Pyx_DECREF(__pyx_v___pyx_result->_args); - __pyx_v___pyx_result->_args = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->_args, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->exc_info); - __Pyx_DECREF(__pyx_v___pyx_result->exc_info); - __pyx_v___pyx_result->exc_info = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->exc_info, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -38217,6 +43263,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFra */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 3); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_PyDBFrame__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -38248,7 +43295,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_PyDBFra /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38256,7 +43303,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper = {"__pyx_unpickle_SafeCallWrapper", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38265,7 +43312,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -38276,7 +43323,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_SafeCallWrapper (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -38287,7 +43334,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -38353,6 +43400,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38380,6 +43428,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_32__pyx_unpickle_Safe */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0xa14289b, 0x3cc10aa, 0x77c077b, __pyx_k_method_object); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0xa14289b, 0x3cc10aa, 0x77c077b, b'method_object') @@ -38410,6 +43459,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_32__pyx_unpickle_Safe __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = SafeCallWrapper.__new__(__pyx_type) * if __pyx_state is not None: @@ -38418,7 +43468,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_32__pyx_unpickle_Safe * cdef __pyx_unpickle_SafeCallWrapper__set_state(SafeCallWrapper __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCallWrapper__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -38441,9 +43491,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_32__pyx_unpickle_Safe * cdef __pyx_unpickle_SafeCallWrapper__set_state(SafeCallWrapper __pyx_result, __pyx_state: tuple): * __pyx_result.method_object = __pyx_state[0] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -38491,12 +43547,11 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCal * __pyx_result.method_object = __pyx_state[0] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 1) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->method_object); - __Pyx_DECREF(__pyx_v___pyx_result->method_object); - __pyx_v___pyx_result->method_object = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->method_object, __pyx_t_1); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -38506,6 +43561,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCal */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_SafeCallWrapper__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -38537,7 +43593,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_SafeCal /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38545,7 +43601,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions = {"__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38554,7 +43610,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -38565,7 +43621,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -38576,7 +43632,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -38642,6 +43698,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38669,6 +43726,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_34__pyx_unpickle_TopL */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x121e1fb, 0xf3a61b1, 0x3d7902a, __pyx_k_args_2); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x121e1fb, 0xf3a61b1, 0x3d7902a, b'_args') @@ -38699,6 +43757,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_34__pyx_unpickle_TopL __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = TopLevelThreadTracerOnlyUnhandledExceptions.__new__(__pyx_type) * if __pyx_state is not None: @@ -38707,7 +43766,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_34__pyx_unpickle_TopL * cdef __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(TopLevelThreadTracerOnlyUnhandledExceptions __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -38730,9 +43789,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_34__pyx_unpickle_TopL * cdef __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(TopLevelThreadTracerOnlyUnhandledExceptions __pyx_result, __pyx_state: tuple): * __pyx_result._args = __pyx_state[0] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -38780,13 +43845,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve * __pyx_result._args = __pyx_state[0] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 1) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_args); - __Pyx_DECREF(__pyx_v___pyx_result->_args); - __pyx_v___pyx_result->_args = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->_args, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -38796,6 +43860,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -38827,7 +43892,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38835,7 +43900,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame = {"__pyx_unpickle_TopLevelThreadTracerNoBackFrame", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -38844,7 +43909,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -38855,7 +43920,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_TopLevelThreadTracerNoBackFrame (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -38866,7 +43931,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -38932,6 +43997,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -38959,6 +44025,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_36__pyx_unpickle_TopL */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x3f5f7e9, 0x0ff9c96, 0xa3a9ec1, __pyx_k_args__frame_trace_dispatch__las); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x3f5f7e9, 0x0ff9c96, 0xa3a9ec1, b'_args, _frame_trace_dispatch, _last_exc_arg, _last_raise_line, _raise_lines, try_except_infos') @@ -38989,6 +44056,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_36__pyx_unpickle_TopL __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = TopLevelThreadTracerNoBackFrame.__new__(__pyx_type) * if __pyx_state is not None: @@ -38997,7 +44065,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_36__pyx_unpickle_TopL * cdef __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(TopLevelThreadTracerNoBackFrame __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -39020,9 +44088,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_36__pyx_unpickle_TopL * cdef __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(TopLevelThreadTracerNoBackFrame __pyx_result, __pyx_state: tuple): * __pyx_result._args = __pyx_state[0]; __pyx_result._frame_trace_dispatch = __pyx_state[1]; __pyx_result._last_exc_arg = __pyx_state[2]; __pyx_result._last_raise_line = __pyx_state[3]; __pyx_result._raise_lines = __pyx_state[4]; __pyx_result.try_except_infos = __pyx_state[5] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -39070,47 +44144,42 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve * __pyx_result._args = __pyx_state[0]; __pyx_result._frame_trace_dispatch = __pyx_state[1]; __pyx_result._last_exc_arg = __pyx_state[2]; __pyx_result._last_raise_line = __pyx_state[3]; __pyx_result._raise_lines = __pyx_state[4]; __pyx_result.try_except_infos = __pyx_state[5] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 6) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_args); - __Pyx_DECREF(__pyx_v___pyx_result->_args); - __pyx_v___pyx_result->_args = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->_args, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_frame_trace_dispatch); - __Pyx_DECREF(__pyx_v___pyx_result->_frame_trace_dispatch); - __pyx_v___pyx_result->_frame_trace_dispatch = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->_frame_trace_dispatch, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_last_exc_arg); - __Pyx_DECREF(__pyx_v___pyx_result->_last_exc_arg); - __pyx_v___pyx_result->_last_exc_arg = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->_last_exc_arg, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->_last_raise_line = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PySet_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("set", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_raise_lines); - __Pyx_DECREF(__pyx_v___pyx_result->_raise_lines); - __pyx_v___pyx_result->_raise_lines = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->_raise_lines, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->try_except_infos); - __Pyx_DECREF(__pyx_v___pyx_result->try_except_infos); - __pyx_v___pyx_result->try_except_infos = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->try_except_infos, __pyx_t_1); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -39120,6 +44189,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 6); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -39151,7 +44221,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_TopLeve /* Python wrapper */ static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -39159,7 +44229,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer = {"__pyx_unpickle_ThreadTracer", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -39168,7 +44238,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -39179,7 +44249,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadTracer (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -39190,7 +44260,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(2, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(2, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -39256,6 +44326,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -39283,6 +44354,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_38__pyx_unpickle_Thre */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x121e1fb, 0xf3a61b1, 0x3d7902a, __pyx_k_args_2); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x121e1fb, 0xf3a61b1, 0x3d7902a, b'_args') @@ -39313,6 +44385,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_38__pyx_unpickle_Thre __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = ThreadTracer.__new__(__pyx_type) * if __pyx_state is not None: @@ -39321,7 +44394,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_38__pyx_unpickle_Thre * cdef __pyx_unpickle_ThreadTracer__set_state(ThreadTracer __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(2, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadTracer__set_state(((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 9, __pyx_L1_error) @@ -39344,9 +44417,15 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_38__pyx_unpickle_Thre * cdef __pyx_unpickle_ThreadTracer__set_state(ThreadTracer __pyx_result, __pyx_state: tuple): * __pyx_result._args = __pyx_state[0] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -39394,13 +44473,12 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadT * __pyx_result._args = __pyx_state[0] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 1) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(2, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->_args); - __Pyx_DECREF(__pyx_v___pyx_result->_args); - __pyx_v___pyx_result->_args = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->_args, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -39410,6 +44488,7 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadT */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(2, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_ThreadTracer__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -39433,12 +44512,14 @@ static PyObject *__pyx_f_14_pydevd_bundle_13pydevd_cython___pyx_unpickle_ThreadT /* #### Code section: module_exttypes ### */ static struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *p; - PyObject *o; - o = __Pyx_AllocateExtensionType(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)o); +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)o); p->__pyx_vtab = __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; p->pydev_step_stop = Py_None; Py_INCREF(Py_None); p->pydev_smart_step_stop = Py_None; Py_INCREF(Py_None); @@ -39458,6 +44539,54 @@ static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThr return o; } +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { + PyObject *o; + o = __Pyx_AllocateExtensionType(t, 0); + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } + return o; +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__, o, args, kwds); +} +#endif + static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)o; #if CYTHON_USE_TP_FINALIZE @@ -40007,15 +45136,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThr {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, {Py_tp_getset, (void *)__pyx_getsets_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo_spec = { "_pydevd_bundle.pydevd_cython.PyDBAdditionalThreadInfo", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo_slots, }; #else @@ -40040,7 +45174,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalTh 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, /*tp_clear*/ @@ -40058,7 +45192,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalTh #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, /*tp_new*/ 0, /*tp_free*/ @@ -40075,8 +45209,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalTh #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -40087,21 +45225,71 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalTh #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *p; +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *)o); + p->try_except_infos = ((PyObject*)Py_None); Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *)o); - p->try_except_infos = ((PyObject*)Py_None); Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj *)o; @@ -40180,15 +45368,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContain {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, {Py_tp_getset, (void *)__pyx_getsets_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj_spec = { "_pydevd_bundle.pydevd_cython._TryExceptContainerObj", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj_slots, }; #else @@ -40213,7 +45406,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContai 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, /*tp_clear*/ @@ -40231,7 +45424,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContai #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, /*tp_new*/ 0, /*tp_free*/ @@ -40248,8 +45441,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContai #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -40260,25 +45457,75 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContai #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif static struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBFrame __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBFrame; -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *p; - PyObject *o; - o = __Pyx_AllocateExtensionType(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)o); +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)o); p->__pyx_vtab = __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBFrame; p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); p->exc_info = Py_None; Py_INCREF(Py_None); return o; } +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { + PyObject *o; + o = __Pyx_AllocateExtensionType(t, 0); + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_PyDBFrame(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } + return o; +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__, o, args, kwds); +} +#endif + static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_PyDBFrame(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *)o; #if CYTHON_USE_TP_FINALIZE @@ -40348,15 +45595,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame_slots[] {Py_tp_traverse, (void *)__pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame_spec = { "_pydevd_bundle.pydevd_cython.PyDBFrame", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame_slots, }; #else @@ -40381,7 +45633,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_PyDBFrame, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_PyDBFrame, /*tp_clear*/ @@ -40399,7 +45651,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame = { #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_PyDBFrame, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_PyDBFrame, /*tp_new*/ 0, /*tp_free*/ @@ -40416,8 +45668,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame = { #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_PyDBFrame, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -40428,21 +45684,71 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame = { #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *p; +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *)o); + p->method_object = Py_None; Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *)o); - p->method_object = Py_None; Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *)o; @@ -40504,15 +45810,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper_s {Py_tp_traverse, (void *)__pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper_spec = { "_pydevd_bundle.pydevd_cython.SafeCallWrapper", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper_slots, }; #else @@ -40537,7 +45848,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, /*tp_clear*/ @@ -40555,7 +45866,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, /*tp_new*/ 0, /*tp_free*/ @@ -40572,8 +45883,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -40584,21 +45899,71 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *p; +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *)o); + p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *)o); - p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions *)o; @@ -40679,15 +46044,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTra {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, {Py_tp_getset, (void *)__pyx_getsets_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions_spec = { "_pydevd_bundle.pydevd_cython.TopLevelThreadTracerOnlyUnhandledExceptions", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions_slots, }; #else @@ -40712,7 +46082,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, /*tp_clear*/ @@ -40730,7 +46100,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, /*tp_new*/ 0, /*tp_free*/ @@ -40747,8 +46117,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -40759,18 +46133,20 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *p; - PyObject *o; - o = __Pyx_AllocateExtensionType(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *)o); +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *)o); p->_frame_trace_dispatch = Py_None; Py_INCREF(Py_None); p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); p->try_except_infos = Py_None; Py_INCREF(Py_None); @@ -40779,6 +46155,54 @@ static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTra return o; } +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { + PyObject *o; + o = __Pyx_AllocateExtensionType(t, 0); + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } + return o; +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__, o, args, kwds); +} +#endif + static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame *)o; #if CYTHON_USE_TP_FINALIZE @@ -40957,15 +46381,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTra {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, {Py_tp_getset, (void *)__pyx_getsets_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame_spec = { "_pydevd_bundle.pydevd_cython.TopLevelThreadTracerNoBackFrame", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame_slots, }; #else @@ -40990,7 +46419,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, /*tp_clear*/ @@ -41008,7 +46437,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, /*tp_new*/ 0, /*tp_free*/ @@ -41025,8 +46454,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -41037,21 +46470,71 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTr #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *p; +static PyObject *__pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *)o); + p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *)o); - p->_args = ((PyObject*)Py_None); Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_14_pydevd_bundle_13pydevd_cython_ThreadTracer(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_14_pydevd_bundle_13pydevd_cython_ThreadTracer(PyObject *o) { struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *p = (struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer *)o; @@ -41131,15 +46614,20 @@ static PyType_Slot __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer_slot {Py_tp_clear, (void *)__pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, {Py_tp_methods, (void *)__pyx_methods_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, {Py_tp_getset, (void *)__pyx_getsets_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, - {Py_tp_init, (void *)__pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, {Py_tp_new, (void *)__pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer_spec = { "_pydevd_bundle.pydevd_cython.ThreadTracer", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer_slots, }; #else @@ -41164,7 +46652,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_14_pydevd_bundle_13pydevd_cython_ThreadTracer, /*tp_traverse*/ __pyx_tp_clear_14_pydevd_bundle_13pydevd_cython_ThreadTracer, /*tp_clear*/ @@ -41182,7 +46670,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer = { #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_1__init__, /*tp_init*/ + __pyx_tp_init_14_pydevd_bundle_13pydevd_cython_ThreadTracer, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_14_pydevd_bundle_13pydevd_cython_ThreadTracer, /*tp_new*/ 0, /*tp_free*/ @@ -41199,8 +46687,12 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer = { #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_14_pydevd_bundle_13pydevd_cython_ThreadTracer, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -41211,7 +46703,7 @@ static PyTypeObject __pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer = { #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -41224,21 +46716,28 @@ static PyMethodDef __pyx_methods[] = { static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_InitAfterSharedUtility(void); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate); /*proto*/ /* #### Code section: init_module ### */ -static int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Global_init_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Global_init_code", 0); /*--- Global init code ---*/ __pyx_v_14_pydevd_bundle_13pydevd_cython__all_infos = ((PyObject*)Py_None); Py_INCREF(Py_None); __pyx_v_14_pydevd_bundle_13pydevd_cython__infos_stepping = ((PyObject*)Py_None); Py_INCREF(Py_None); @@ -41248,23 +46747,23 @@ static int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate) { return 0; } -static int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Variable_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Variable_export_code", 0); /*--- Variable export code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Function_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0); + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Function_export_code", 0); /*--- Function export code ---*/ { __pyx_t_1 = __Pyx_ApiExport_GetApiDict(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error) @@ -41294,14 +46793,14 @@ static int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate) { return -1; } -static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); - /*--- Type init code ---*/ + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo ---*/ __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = &__pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo.get_topmost_frame = (PyObject *(*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, PyObject *, int __pyx_skip_dispatch))__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_get_topmost_frame; __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo.update_stepping_info = (PyObject *(*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, int __pyx_skip_dispatch))__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_update_stepping_info; @@ -41309,7 +46808,6 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo._is_stepping = (int (*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, int __pyx_skip_dispatch))__pyx_f_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo__is_stepping; #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo)) __PYX_ERR(0, 30, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) < (0)) __PYX_ERR(0, 30, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = &__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; #endif @@ -41327,12 +46825,25 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { } #endif if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) < (0)) __PYX_ERR(0, 30, __pyx_L1_error) - if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) < (0)) __PYX_ERR(0, 30, __pyx_L1_error) if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_PyDBAdditionalThreadInfo, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) < (0)) __PYX_ERR(0, 30, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) < (0)) __PYX_ERR(0, 30, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj ---*/ #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj)) __PYX_ERR(0, 437, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 437, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj = &__pyx_type_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj; #endif @@ -41351,6 +46862,21 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { #endif if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 437, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 437, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame ---*/ __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBFrame = &__pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBFrame; __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBFrame.get_func_name = (PyObject *(*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *, PyObject *))__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_get_func_name; __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBFrame._show_return_values = (PyObject *(*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *, PyObject *, PyObject *))__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame__show_return_values; @@ -41360,7 +46886,6 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_vtable_14_pydevd_bundle_13pydevd_cython_PyDBFrame.trace_dispatch = (PyObject *(*)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch))__pyx_f_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_trace_dispatch; #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame)) __PYX_ERR(0, 458, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame) < (0)) __PYX_ERR(0, 458, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame = &__pyx_type_14_pydevd_bundle_13pydevd_cython_PyDBFrame; #endif @@ -41378,12 +46903,25 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { } #endif if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame, __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBFrame) < (0)) __PYX_ERR(0, 458, __pyx_L1_error) - if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame) < (0)) __PYX_ERR(0, 458, __pyx_L1_error) if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_PyDBFrame, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame) < (0)) __PYX_ERR(0, 458, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame) < (0)) __PYX_ERR(0, 458, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper ---*/ #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper)) __PYX_ERR(0, 1691, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper) < (0)) __PYX_ERR(0, 1691, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper = &__pyx_type_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper; #endif @@ -41402,9 +46940,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { #endif if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_SafeCallWrapper, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper) < (0)) __PYX_ERR(0, 1691, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper) < (0)) __PYX_ERR(0, 1691, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions ---*/ #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions)) __PYX_ERR(0, 1857, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions) < (0)) __PYX_ERR(0, 1857, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions = &__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions; #endif @@ -41423,9 +46975,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { #endif if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerOnlyUnhandle, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions) < (0)) __PYX_ERR(0, 1857, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions) < (0)) __PYX_ERR(0, 1857, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame ---*/ #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame)) __PYX_ERR(0, 1888, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame) < (0)) __PYX_ERR(0, 1888, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame = &__pyx_type_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame; #endif @@ -41444,9 +47010,23 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { #endif if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerNoBackFrame, (PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame) < (0)) __PYX_ERR(0, 1888, __pyx_L1_error) if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame) < (0)) __PYX_ERR(0, 1888, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer", 0); + /*--- Exttype __pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer ---*/ #if CYTHON_USE_TYPE_SPECS __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer)) __PYX_ERR(0, 1968, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer_spec, __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer) < (0)) __PYX_ERR(0, 1968, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer = &__pyx_type_14_pydevd_bundle_13pydevd_cython_ThreadTracer; #endif @@ -41466,7 +47046,7 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { #if CYTHON_UPDATE_DESCRIPTOR_DOC { PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, "__call__"); if (unlikely(!wrapper)) __PYX_ERR(0, 1968, __pyx_L1_error) - if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) { + if (Py_IS_TYPE(wrapper, &PyWrapperDescr_Type)) { __pyx_wrapperbase_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__call__ = *((PyWrapperDescrObject *)wrapper)->d_base; __pyx_wrapperbase_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__call__.doc = __pyx_doc_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__call__; ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_2__call__; @@ -41482,26 +47062,26 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { return -1; } -static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Type_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0); + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Type_import_code", 0); /*--- Type import code ---*/ __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_2_4(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", + __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_3_1(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 - sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_4(PyTypeObject), + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_3_1(PyTypeObject), #elif CYTHON_COMPILING_IN_LIMITED_API 0, 0, #else - sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_4(PyHeapTypeObject), + sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_3_1(PyHeapTypeObject), #endif - __Pyx_ImportType_CheckSize_Warn_3_2_4); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error) + __Pyx_ImportType_CheckSize_Warn_3_3_1); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -41511,19 +47091,19 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) { return -1; } -static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Variable_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Variable_import_code", 0); /*--- Variable import code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Function_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Function_import_code", 0); /*--- Function import code ---*/ __Pyx_RefNannyFinishContext(); return 0; @@ -41598,12 +47178,15 @@ __Pyx_PyMODINIT_FUNC PyInit_pydevd_cython(void) return PyModuleDef_Init(&__pyx_moduledef); } /* ModuleCreationPEP489 */ -#if CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\ - || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000)) +#if CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x030A0000 &&\ + (defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS))) static PY_INT64_T __Pyx_GetCurrentInterpreterId(void) { { PyObject *module = PyImport_ImportModule("_interpreters"); // 3.13+ I think if (!module) { + if (!PyErr_ExceptionMatches(PyExc_Exception)) { + goto bad; // BaseException + } PyErr_Clear(); // just try the 3.8-3.12 version module = PyImport_ImportModule("_xxsubinterpreters"); if (!module) goto bad; @@ -41633,8 +47216,8 @@ static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { PY_INT64_T current_id = GraalPyInterpreterState_GetIDFromThreadState(PyThreadState_Get()); #elif CYTHON_COMPILING_IN_GRAAL PY_INT64_T current_id = PyInterpreterState_GetIDFromThreadState(PyThreadState_Get()); -#elif CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\ - || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000)) +#elif CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x030A0000 &&\ + (defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS))) PY_INT64_T current_id = __Pyx_GetCurrentInterpreterId(); #elif CYTHON_COMPILING_IN_LIMITED_API PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get()); @@ -41679,8 +47262,16 @@ static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDe if (__Pyx_check_single_interpreter()) return NULL; #endif - if (__pyx_m) + if (__pyx_m) { + #if CYTHON_USE_MODULE_STATE + PyErr_Format(PyExc_ImportError, + "Module '%s' has already been imported into this interpreter. Re-importing it is not supported.", + def->m_name); + return NULL; + #else return __Pyx_NewRef(__pyx_m); + #endif + } modname = PyObject_GetAttrString(spec, "name"); if (unlikely(!modname)) goto bad; module = PyModule_NewObject(modname); @@ -41750,7 +47341,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_pydevd_cython(PyObject *__pyx_pyin __pyx_m = __pyx_t_1; #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING - PyUnstable_Module_SetGIL(__pyx_m, Py_MOD_GIL_USED); + PyUnstable_Module_SetGIL(__pyx_m, __Pyx_FREETHREADING_COMPATIBLE); #endif __pyx_mstate = __pyx_mstate_global; CYTHON_UNUSED_VAR(__pyx_t_1); @@ -41763,8 +47354,10 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec_pydevd_cython(PyObject *__pyx_pyin #if CYTHON_REFNANNY __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny"); if (!__Pyx_RefNanny) { - PyErr_Clear(); - __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); + if (PyErr_ExceptionMatches(PyExc_Exception)) { + PyErr_Clear(); + __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); + } if (!__Pyx_RefNanny) Py_FatalError("failed to import 'refnanny' module"); } @@ -41796,13 +47389,21 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Global type/function init code ---*/ - (void)__Pyx_modinit_global_init_code(__pyx_mstate); - (void)__Pyx_modinit_variable_export_code(__pyx_mstate); - if (unlikely((__Pyx_modinit_function_export_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) - if (unlikely((__Pyx_modinit_type_init_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) - if (unlikely((__Pyx_modinit_type_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) - (void)__Pyx_modinit_variable_import_code(__pyx_mstate); - (void)__Pyx_modinit_function_import_code(__pyx_mstate); + (void)__Pyx_modinit_Global_init_code(__pyx_mstate); + (void)__Pyx_modinit_Variable_export_code(__pyx_mstate); + if (unlikely((__Pyx_modinit_Function_export_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + /*--- Type init code ---*/ + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_14_pydevd_bundle_13pydevd_cython_ThreadTracer(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Type_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + (void)__Pyx_modinit_Variable_import_code(__pyx_mstate); + (void)__Pyx_modinit_Function_import_code(__pyx_mstate); + if (__Pyx_InitAfterSharedUtility() < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Execution code ---*/ /* "_pydevd_bundle/pydevd_cython.pyx":7 @@ -41996,18 +47597,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBAdditionalThreadInfo, (type(self), 0xd33aa14, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_PyDBAdditionalThreadInfo__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PyDBAdditionalThreadInfo___setst, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[5])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_24PyDBAdditionalThreadInfo_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PyDBAdditionalThreadInfo___setst, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[5])); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":217 @@ -42048,8 +47649,11 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 218, __pyx_L1_error) __Pyx_GOTREF((PyObject *)__pyx_t_2); } - __pyx_t_5 = __Pyx_PyList_Pack(1, ((PyObject *)__pyx_t_2)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 218, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + { + PyObject* __pyx_temp[1] = {((PyObject *)__pyx_t_2)}; + __pyx_t_5 = __Pyx_PyList_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 218, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + } __Pyx_DECREF((PyObject *)__pyx_t_2); __pyx_t_2 = 0; if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_next_additional_info, __pyx_t_5) < (0)) __PYX_ERR(0, 218, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -42550,7 +48154,7 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START, __pyx_mstate_global->__pyx_tuple[2]) < (0)) __PYX_ERR(0, 384, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START, __pyx_mstate_global->__pyx_tuple[5]) < (0)) __PYX_ERR(0, 384, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":385 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") @@ -42559,7 +48163,7 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K, __pyx_mstate_global->__pyx_tuple[3]) < (0)) __PYX_ERR(0, 385, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K, __pyx_mstate_global->__pyx_tuple[6]) < (0)) __PYX_ERR(0, 385, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":386 * DEBUG_START = ("pydevd.py", "run") @@ -42707,18 +48311,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj___setstat, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj___setstat, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":493 @@ -42809,18 +48413,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_PyDBFrame, (type(self), 0x3a8c26e, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_PyDBFrame__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PyDBFrame___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_PyDBFrame___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBFrame, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1380 @@ -42835,7 +48439,7 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[4]); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[7]); if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception, __pyx_t_4) < (0)) __PYX_ERR(0, 1380, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -43104,18 +48708,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_SafeCallWrapper, (type(self), 0xa14289b, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_SafeCallWrapper__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_SafeCallWrapper___setstate_cytho, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[26])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_SafeCallWrapper___setstate_cytho, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[26])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1710 @@ -43191,18 +48795,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerOnlyUnhandle_5, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[32])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerOnlyUnhandle_5, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[32])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":1927 @@ -43248,18 +48852,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_TopLevelThreadTracerNoBackFrame, (type(self), 0x3f5f7e9, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerNoBackFrame_5, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[36])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TopLevelThreadTracerNoBackFrame_5, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[36])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "(tree fragment)":1 @@ -43275,18 +48879,18 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadTracer, (type(self), 0x121e1fb, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadTracer__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ThreadTracer___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[38])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ThreadTracer___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_bundle_pydevd_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[38])); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(2, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "_pydevd_bundle/pydevd_cython.pyx":2155 @@ -43302,6 +48906,7 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":2163 * # * # See: https://github.com/IronLanguages/main/issues/1630 @@ -43387,6 +48992,7 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_12) { + /* "_pydevd_bundle/pydevd_cython.pyx":2175 * if PYDEVD_USE_SYS_MONITORING: * @@ -43537,9 +49143,9 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); Py_DECREF(__pyx_m); if (pystate_addmodule_run) { PyObject *tp, *value, *tb; - PyErr_Fetch(&tp, &value, &tb); - PyState_RemoveModule(&__pyx_moduledef); - PyErr_Restore(tp, value, tb); + __Pyx_PyErr_FetchException(&tp, &value, &tb); + __Pyx_State_RemoveModule(&__pyx_moduledef); + __Pyx_PyErr_RestoreException(tp, value, tb); } #endif } else if (!PyErr_Occurred()) { @@ -43557,6 +49163,9 @@ __Pyx_RefNannySetupContext("PyInit_pydevd_cython", 0); /* #### Code section: cached_builtins ### */ static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_id); if (!__pyx_builtin_id) __PYX_ERR(0, 197, __pyx_L1_error) @@ -43579,6 +49188,9 @@ static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) { static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); @@ -43600,10 +49212,27 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * # If it's not there, set it within a lock to avoid any racing * # conditions. */ - __pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 233, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]); + { + PyObject* __pyx_temp[3] = {Py_None, Py_None, Py_None}; + __pyx_mstate_global->__pyx_tuple[0] = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 233, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]); + } __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]); + /* "_pydevd_bundle/pydevd_cython.pyx":1080 + * + * if stop: + * self.set_suspend( # <<<<<<<<<<<<<< + * thread, + * stop_reason, +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_suspend_other_threads}; + __pyx_mstate_global->__pyx_tuple[1] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 1080, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]); + /* "_pydevd_bundle/pydevd_cython.pyx":1154 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): @@ -43615,6 +49244,34 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { __Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]); + /* "_pydevd_bundle/pydevd_cython.pyx":1313 + * elif stop: + * if is_line: + * self.set_suspend(thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< + * self.do_wait_suspend(thread, frame, event, arg) + * elif is_return: # return event +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_mstate_global->__pyx_tuple[2] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[2])) __PYX_ERR(0, 1313, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[2]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[2]); + + /* "_pydevd_bundle/pydevd_cython.pyx":1612 + * try: + * py_db.set_suspend(thread, 137) + * py_db.do_wait_suspend(thread, frame, "exception", arg, exception_type=exception_type) # <<<<<<<<<<<<<< + * finally: + * py_db.send_caught_exception_stack_proceeded(thread) +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_exception_type}; + __pyx_mstate_global->__pyx_tuple[3] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[3])) __PYX_ERR(0, 1612, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[3]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[3]); + /* "_pydevd_bundle/pydevd_cython.pyx":1749 * if f_unhandled.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. @@ -43622,9 +49279,12 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * * elif f_unhandled.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner"): */ - __pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, Py_None, Py_False); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 1749, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]); + { + PyObject* __pyx_temp[2] = {Py_None, Py_False}; + __pyx_mstate_global->__pyx_tuple[4] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[4])) __PYX_ERR(0, 1749, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[4]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[4]); /* "_pydevd_bundle/pydevd_cython.pyx":384 * @@ -43633,9 +49293,12 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - __pyx_mstate_global->__pyx_tuple[2] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_kp_u_pydevd_py, __pyx_mstate_global->__pyx_n_u_run); if (unlikely(!__pyx_mstate_global->__pyx_tuple[2])) __PYX_ERR(0, 384, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[2]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[2]); + { + PyObject* __pyx_temp[2] = {__pyx_mstate_global->__pyx_kp_u_pydevd_py, __pyx_mstate_global->__pyx_n_u_run}; + __pyx_mstate_global->__pyx_tuple[5] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[5])) __PYX_ERR(0, 384, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[5]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[5]); /* "_pydevd_bundle/pydevd_cython.pyx":385 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") @@ -43644,9 +49307,12 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - __pyx_mstate_global->__pyx_tuple[3] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_kp_u_pydev_execfile_py, __pyx_mstate_global->__pyx_n_u_execfile); if (unlikely(!__pyx_mstate_global->__pyx_tuple[3])) __PYX_ERR(0, 385, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[3]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[3]); + { + PyObject* __pyx_temp[2] = {__pyx_mstate_global->__pyx_kp_u_pydev_execfile_py, __pyx_mstate_global->__pyx_n_u_execfile}; + __pyx_mstate_global->__pyx_tuple[6] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[6])) __PYX_ERR(0, 385, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[6]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[6]); /* "_pydevd_bundle/pydevd_cython.pyx":1380 * @@ -43655,23 +49321,30 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * cdef bint should_stop; * cdef bint was_just_raised; */ - __pyx_mstate_global->__pyx_tuple[4] = PyTuple_Pack(1, ((PyObject*)Py_False)); if (unlikely(!__pyx_mstate_global->__pyx_tuple[4])) __PYX_ERR(0, 1380, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[4]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[4]); + { + PyObject* __pyx_temp[1] = {((PyObject*)Py_False)}; + __pyx_mstate_global->__pyx_tuple[7] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[7])) __PYX_ERR(0, 1380, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[7]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[7]); #if CYTHON_IMMORTAL_CONSTANTS { PyObject **table = __pyx_mstate->__pyx_tuple; - for (Py_ssize_t i=0; i<5; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + for (Py_ssize_t i=0; i<8; ++i) { + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -43681,16 +49354,20 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { { PyObject **table = __pyx_mstate->__pyx_slice; for (Py_ssize_t i=0; i<2; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -43705,34 +49382,53 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { /* #### Code section: init_constants ### */ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); { - const struct { const unsigned int length: 13; } index[] = {{0},{1},{6},{33},{45},{24},{17},{6},{4},{32},{179},{6},{6},{24},{115},{1},{1},{3},{5},{1},{1},{1},{8},{5},{7},{6},{2},{12},{9},{9},{8},{8},{4},{18},{32},{9},{23},{98},{14},{58},{5},{3},{22},{11},{16},{22},{29},{5},{12},{20},{29},{9},{4},{22},{25},{10},{14},{24},{42},{44},{44},{37},{42},{45},{9},{27},{29},{25},{31},{21},{24},{25},{20},{18},{9},{13},{14},{15},{33},{35},{33},{18},{14},{6},{12},{30},{32},{31},{71},{55},{49},{51},{43},{70},{67},{61},{63},{4},{22},{40},{42},{33},{22},{17},{7},{3},{19},{11},{22},{15},{19},{6},{18},{17},{3},{4},{5},{18},{8},{11},{10},{17},{16},{26},{33},{11},{4},{8},{8},{29},{10},{15},{10},{17},{17},{18},{11},{13},{13},{11},{14},{8},{7},{19},{23},{7},{9},{15},{29},{13},{8},{9},{15},{10},{5},{8},{5},{3},{15},{15},{14},{6},{8},{9},{5},{9},{16},{14},{8},{10},{11},{9},{15},{20},{14},{27},{5},{8},{8},{10},{1},{6},{6},{9},{7},{8},{8},{7},{11},{8},{46},{21},{14},{38},{27},{5},{15},{17},{17},{20},{15},{8},{9},{38},{3},{42},{14},{20},{21},{24},{13},{19},{28},{17},{19},{45},{13},{17},{23},{7},{12},{24},{18},{35},{27},{28},{16},{21},{13},{27},{22},{1},{2},{6},{5},{22},{55},{23},{16},{4},{17},{13},{23},{23},{20},{11},{12},{15},{22},{9},{16},{5},{1},{11},{6},{15},{9},{4},{9},{5},{13},{7},{4},{8},{20},{15},{5},{28},{6},{13},{10},{8},{4},{7},{21},{26},{41},{23},{14},{17},{2},{7},{4},{6},{3},{27},{5},{13},{13},{34},{35},{23},{18},{9},{19},{12},{6},{14},{36},{36},{31},{28},{33},{27},{17},{17},{14},{12},{14},{12},{11},{10},{39},{24},{30},{27},{58},{46},{37},{14},{5},{12},{8},{11},{21},{2},{10},{17},{13},{3},{22},{27},{25},{6},{3},{6},{11},{7},{3},{4},{27},{37},{3},{26},{32},{12},{11},{31},{10},{12},{19},{11},{24},{17},{18},{41},{8},{7},{10},{4},{5},{4},{27},{7},{7},{21},{14},{22},{3},{1},{8},{9},{7},{8},{6},{17},{13},{9},{16},{24},{19},{23},{38},{33},{5},{14},{39},{15},{9},{26},{12},{15},{16},{6},{20},{12},{22},{5},{6},{7},{15},{11},{7},{6},{282},{33},{25},{126},{11},{73},{11},{11},{4171},{60},{56},{129},{294},{92},{19},{20},{11},{34},{73},{11},{7},{9},{208},{12},{693},{11},{11},{909},{220},{115},{106},{97},{99},{97},{16},{636},{34},{57},{59},{59},{59},{55},{67},{55},{11},{729},{187}}; - #if (CYTHON_COMPRESS_STRINGS) == 2 /* compression: bz2 (7904 bytes) */ -const char* const cstring = "BZh91AY&SY\tV\027\010\000\007\036\177\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\300@@@@@@@@@@@@\000@\000` \034}\356\367}\257\233f\227\313D\222\276\357\247x\357k\331 n\351\216\372\305\355\352p7\336\273\005;\335K\255\355\336\356[\233\263V\366\314\365\250u\254k+\036\323\267k\245wXE\023\334\353kU\275\225J\005\000\000|\373\207\320\000\r4\202\"'\243S\310\321<\215#\003M\023&h\231OM\240jm4`\324\243j\t\243\332\233\023S\304\001\244\365M\2244\323\320\302\232\004\222&\200\321\240M\005=\001\251\212f\203!4\332\246\223\365#\312z\215\206\244\003G\243P\320h\001\241\246F\215\251\3521\006\206\203M\000\220A\010\322e\033\010\206\3051<\247\243By\032\200i\264\322z54\304h\r4\321\241\240\320\000\014\200\001&\244@\201L\236EM?I\033Q\372LM \375SL\201\352\003C@=@\036\223@hh\001\243j4\003#M\001\352h2\225\r\003<\244i\350\217S\321\2504\0324\320\000\000\000\000\000\000\000\006 \000\000\006\200H\221\032A\244\365)\351\341O\010\236\211\265'\223&\221\244\3614jd\301\224\3653H\304h\320\001\241\240\036\241\243M=CM\r=&\207\255\002C\264\201\r\232k\246\274\032\223\251\302\264\304\307\215\241%\371\252\310\214URpK\2706K]r\253Y\244U\024\244\243\257U\252\256\331!\205W}\205\027Z\317t nd\003\365\214\t\367\222,\022\250%(\261\240=\257\017\360\370\217\343\361|O\344>_\222\027\210_(O\346\210\361M\201]d\240m+\237\366I\016B2\241SM\377)\021\242n\331M[\023eY]\305\271DqR\024\211\036\001\301\367\370d2W?GG\237\3217\247\253\362w\273\366\233\361\233\177'\243\223\236\\\300D\311\223/&L\353\215z\365\351\257^\2756l\323\034\277\237WT?\263\372\377\273+\317\237\350\377[\372y\271\216\225\337\307\034e}\367\336]}\370\341\217\346\377\310\006\230&\304\306\222m\200\322\223\344\367\355\337\376~\037\207\006\274\346qr\013A\001\201\000\n0\321*j\245)*o'L@\034\274\376\364\235u5\024~P;}}\331+\226C%\220\312\343{\337\361\031\347\226\031K\034q\307\034\363\267\352\241%\262\257\237\227\303\313\364z\271;W\022\342[\370\207\373#\030\266j\331)U\245E\223\226\324\023\016\323\021\036v\017\007\317\323\300A|\271\016\301v\370\276,\210""\347.\\,\262\322\206\375\373\316N\0349:\262\023\243\242\n\300V\002 \252*\250*\252\252\250\252\021dd`\242\300\301;\035OW\310\351l\377~\027\206r\034}\353)\256\272\353\256\330\335\344\004y=\037\363\3717t\236~\367\227\307\325\247\311\032\353\254\262\313,\216\364\202\341\313&\200\326V\316\252\250]\331\311V@\233\245{)\232\024\331)\tJT\252r.\243\355\246\234\002\036\000B\021\323:~\024\226.\2340\356\032i\246\257_;S\235`\243\024R)\005\202\221DdX\275\035\257\027\232\016\342t\244\353\361\034GL\350\325\253\252\033V(\2031\251\206#\033+r\366\"\362\000Jb\351\317O\330E`\024N\025\014\230\212\260u\031\347\236\006\004\235\255s|\334\305\2121\212\",\024PY\030\212\252\211\027]\024P\250\325SL6\206T\014\"\340Pbso\271}\005\2503\200\256S\227\"\310(M3\336\327\205\017~\350u\356\206q\206v\004\264\010Xygk \020\3577kb\232(2\032\220\250\325LR\342\244\302\3519\242g\242(Qs\231\024\020p\n\335\204\026\000#\307\0253\300g6\217\031\206k\202H\211dK\205\"4\326\312\264\346\226(:bDDDE\212(\242\202\213\005!\025#\001\316s\t\314\r\177\314\231\212\232\254\032\2540A\202\301`\214\005 \302\252!\t\245\222W\211\201\220\315\200\341\213\361U\332ZX\254-\211\201B\243\367\322\325l\232\341\214\312K\252Y\326J\345t>\321bU\017\270EI8\254{\236\016L\231:4\322N\0346\033:sa\236\\\214\337\277|9\005T\006*,\025`,\021\221b\252\304H\260\023\211)a\307\r\371h\264\225\327+\241\032\263\013\031\230d1\026\030\217\315\226Y\026\242\322h\237a\013\022\265\362\345\263;\255\203\325E\266\254\217\341\261+'-J\267\037\274E\022\204\300\310fI\2313\253\230\242\374\201\310\251\025\025\001\214D \212*\307[M\003N\315\"\247\036\276)\244\246\034\333\252\033x\250\263\313\261\"\303j\314\256\302\214\024\246uL\314\022\203=\177\032\250\276\npVOPSq=\177l\255\013\274\225$\363v\322\n9r\332J\371\\\273\321T\213\005\217\247\336ac\306o\021:r\266XF\251_&e\230D\240\021\304\004#\252\013\230\332~]Ha\223\004 /\266\247\301\222\243t\250\344q.\002\355w\365\276\220\211\363\344Kd\007\235\344\351\237\036^\2554\005\032e\223;\234\327\231#\025O\017\322\333\331\306\374\215\233\375.\230""\020\3668A\314\305\261\244\366\2718X66\367\340\346\353\256\220\241\226\t\0074\035`)>8\003\257\327\306\373\231=M$\024B\210\2451\013j\356$\364\3248\250b\325!\221\337'b\031\336Uz{\203\337W\253\312\340\333\300\310\252\303\200Q\260=\035d\356\354\014\277@\3639\351\035\234\002\315\240\355K6\035\201\276\034\003\334\232\372\333\2730\334\311\231\0032\304fC!\260\325\307\270=6\010\263f7\201y\270\334w\203\032\215\265\276\006\363\017\276P\227\322\272\352]\266\262e>\324\244F\354\376\3541\376\205x@\337\364\345u\305\332;\\c\177#\313\316\251%\\\222\266\356\\5O\251\206c\351\260e4!h\256\013\226\201eE\352W\323%\274\226\330\020\316\214>\035|\354\336\373\320a\321\340\342|\023\271nQ\2108S\367\304\307\225$\201\334#>T\231\022g\034yLI\204\013\267\231\323[\203\352;\320\201t\232\344L\341\316\235\300r\256=\3568\324\036\017\273\235&;\376\3471\246P:N.#\2767B\220\037\233\245.=\267\302\362\357\255\215}>X\0234\245\213z2C\347\337\321\245$3\262.g\375\036~\334\341\324d\006\rc\204\013~Mg\005\335\374B\340\230U\202\037\220Xy\217\376\010\001\373K\005\ru\007S\247\320L\307?\251\3200\3125\367\377\001\370\r\374\265vt\235\321K\301E\377I\271\206X\235\256J\354\376?'\366\221^g\3360\032\235\330\344\031\003\315\321\367qv\315\005b;\000\326\212\3532h=Z0\326\315s\336\356\245\231\241\302\207,\031\230\033\304*\205a,\212\023\002\222!\245\310\220)\021\314\n\0134\030;\024\014\t\270\014JF\324tp\351\236\272\216gK\255\263LS\307\023\371t\201$\256\274\353\225\354u\371\374V\336Y\370\375\027\251h\004\020^\205x\213\321g\232'c\371\273d\032\303~\370\250\327z\221$@R<\0337pu\346\334\233*6\357\234\311dJ\343\031\004\247\311N,\024\025\332aa\222\242\201\021\010\325\346\372\204\262\351\035\263\005o\263|\225\266\245j:)\227\310\352\021\2011J\246\223i\337\253z0\032\371\276\257\233\267\362\270\355\372\336\314p0[-\3748i/8\371\260+\r,,<\264\257\235\227>\344\270\216\376z\275TY\277\032\367\214}O\016W\030\031,\207\034\226\007Ls\341\345:\342j\376+]nF\3563\304x\275\352h\243%\220e\241P\231p.\241\255z{0\365\204l\201A\343\334\017\370>\356aDy4y\233\3105""\177\010\007\260\215\325@$\347L\3463j5%\250U%\304\264t\016/6\370y\205\226Y\020J/\374(c}\033d\311\316\016\252\266\005(p0\312\303\004\251c\024\310B\210c\005\240\222\304]\025\252\252)\251\270f\203N\241\345\374\242\007\250\356\013%\363\373nr^\301\257\301\360\247\371\355=\337z\013z\250\352y\341\370\243Vti\r\001\217\257\375\373Fc\310y>\333~\300\203\303\311\352\256\201\2230e\037s0\314\217A/R\365\000\307\230\227\2251?\\\224\020\210D0\212(&s\036m\014\241\214)\tm>\306\024l\306u{o\341da\362\006v\022\341`\274A\037\254\340\326dR\236\005\035\300\224Q'$\344\234\223\220QJ{4\350\331\314\305\305\270\216#\342\342~\270 N\0230/i\364\022IBA'(_\"L\220%\310\271\313\364{~\325\347\264D\010\234F\210\272\340\3205\212\022\r~\353x\333\317\225\375*\352\255-;\252v\207HC\013\367\313P\244\006\355\331\322\352\237 BY`\302\306\361\377\257\303\246\021V\210S\201\355\364r\032M/`\353\034Lz\013\377'\223\253\240\352]2\321\216\203\273\244\360\344| \274\231d\213NK\366\374f{\263\317\036\266\301\307\322\353\256O\263\265\201\275\237\360\370\\\3209\007\216\224\201P\034 \311\032\342\355\214\017B\021\222yBd\376O\303\267z\351\267y&i\225+F\244\341y\020)+I\347h\031`m!\tG;\004J\365\311\224{\227\363{\342\014\r\321v'\211\301 0\241\010\027\006^\024\307\277\262`\210\216\367\256>\203T\206\353\037\\\r\023om3\345\3277S~\304\201\032\036^\345\314\035\311w\0012\017\030\363\321\037\257\354\370?\302*\310\324\3262O\323\244\tR\031P\302*\301Tde\324\031\326\035\205,\t\246\202Z\\S#\010/k\211t/\200\324Y;\006\221\323\305\025w\263\374\371I\221F\350\315\010\332\016U\302hF\237\007_)\223W\203\343^\223\021\217\201\346\273\026\324\004\031;2\271\023\345d\003\037\227\344\363\207\307Qy\330\202\236\266\215\373o\306>2\t\270\363\200\306\030\316\\z\370\203\014\240\353\3664\200b\316\027\300\323\201\037\245\366d\366+\275\273\225Z[\023\234\210\227\272\203\026\365$\013\263\036\273\374~d\022r\0310\006\215B\314\032CHi4\006\222\271\314\323\370\r\032\021\305\352w\372\306\253\263\320\361\365MH\215\t\033~\001;\277\255k3Y\243\\\t\265\350}\235;1q\343\311l\375v""\332\337\234\307p\335\333zC@\031\203\003V\245\2533<|\331\357\365\362\276\036\276:\026?\003j\300A\310\216\tq\256E\250Z\226\245\250\324\227\354\362|\027\273\202o\225\206\0149w\206)\037\212JE\024\325\357Nn\032\315'\016\005\003\207X\006\254\326\021\301Y\307\332\255\341X\025\3542\211\2627_\321\"^T]\323pz\030\016)JR\342?\021\376\227n\357\353\033\014(F\0078\336\266\370\261\017\256\306\345\315\216$c\372\016%\370\30277\274\334\030\371F\277\355\336\203l\274\226\257k\355a\361\375\004y\361\212\016S\227\212?\344\206\235\302\222\010\3235z\26225\345\226)4h\327!\217p\357\370\032\352\222\005\311\007\336\256\215\236 \35361x\316\362\251\024]\315<0\2551\250k\204q\252\203^\243N\336\375}\336\331\345z~^\257W\267y\016\332\215\003(\232\3640R z\247\031\225\342 z(\235\367\244\326\350\232\250\370H_W\347\226\244(\343-\023am\277Z\2152\356ro8\370Lv\t\223\251\267~j\001^\332L\326\326\346\312\004\371>b\273es\351\032\2734\231\317\230\306b`\006\302\353\013\024\000?\266\352\342\032\320i\314e\274\201.\356\241D(r\272\020\242 \026F]\363\2266\233\262l\360n\320\223\277Gc\"\263\311\261\020]I\323j\3168\206\241\224\356\335\307\311\275v\3402\356\030\301\252\2222z\341U\321\213\010\342\032\250P\367\311%\211TX\241\302\352/\217G\344\351\305<\215\370\003d\213\235g\212^\325]\233+#\204L`6\370f!\362l\216\335\367%xx\363\023\010\251\311\3348\312\262;\033\033Qct\271}\234,\351\007\036\305\022\020V\330\006\272\036\201\352M^\3333\233*\004N\347>\205=\244\352g\230\321<\321\324)\032XU).\003\344\342\003\211L\220\243\342c}\010\274\324.\014\346FE\030\210\ru\310/\000\204\220\314\324\316s\003(wU\312\356\255\022\344rN\314\233p\321pZ$\030T<^T\312\024\265F\240\313\356Q\330\334h\375S7p\367\244\"e>6]\303\004\364\207\267\233.\254\220\330\335ws\365\010\027\n\006\272^\310\235\346:\032\350\200V\341\324\356\234\351\231\014\203\314)\035\363\201b.K\240\241\023\014\205\212\t\014\314,\034\362H\345\237\tj\244\273\350a\361\336\365G*\006+RX\023\0303j \032i\2233\014\311xg\354\265+fB?Z\022\305\230\323]a\016\327#cY\331\244\037\257\"Q)\224\030\315W\232Y""\315A\\\004T\317\005iB\255\357i\220\367+\200\334\325\323\354t\371;\241\034\253\224\017D;\247\234XN\272\247c\242_\346,/Pv\016\"\302\t\323\014\210\344#\024\"\004\007\265\005\202\210\226\263J\264%X\231\034\277,\374\223\321\344n,\231u=\3213\037D\311\277\327\253\177\230<\342\363\032i\207\354AP\261W\033\330`C1\005j\261\351,\315\273=>\332\323c\037!\355xC\324\003i\335\"\344\346vE\370\314\346\344{\016\203\025\313\300''/5 ,\nC4\357\275\"\004@TV\032\220I)[\346\366\355\250\256\266B\245\260\226\002\250\032d+\222\211S\220#N\016\033}\324\333WHEu\005U\030\210e\203\267nP\233\316\300P\0258\r\261\016\024d\216\365D\002\205\000'\211\343\030aalT\251\243\210\354=\343N\\\264\274+(\241\244\243%\251(\206\003\000\361\004\265\214\010#v\025V&\027\246\370\343\013\270\373\031\202\235l\241Y\317$\026\022\225PM\221:\310\327zG\n\327\242\301{\210\032\013\326\356\272\353\263\014\316\026t\247b(\220\033\025\t_w\210\nN\232\345\267\202\200\266\204\030\314\265Q\000\245\277[\263\\4\313,\266U-\254T\207J5\343u\271\303\234\234\363\240\304A\334\035\252rF\245+\224\035\254\323\256s\361{\243\0276oc\006~>\014.\220\376\324 =\352\tT\000\200l\031\353\240\312\227\002\222Q>\031\025n\320\314\017\204\241\310\301\032\013\266\201k\325/\202I \222\204\022\020kx\262\217\022\272\352\250\321\222e2\227H\264\253\245\325\253\340\350iA\214\310M\332\357l\361\200M/A=\343 \241\231\221\351Z\257\365\225\226\211\332\355~P\241\274\021\030\216\030K\013\027\212\352\267\013\341U/ATtqP\034 \215\273\336Z~SA\330\233p\247\244\230h\265zw\306\310\026\240\000\312\231\313e{\023Q@+\254\3277j\354\tz\206\005\021\363\002\354\024\275\003\0069\204\315&\310B:R\2513\004\226\265UU\255qmm\226\013_{\206\230\355j\246\326\250\270\304\203;\007\036\002\224b\204j\036\331\370\025\240E\214\301B\020PD\213\205SS]\246\274p,\310Q1\313pKU\255$<\300XB\342\327\232\205\222]6\207\313\005u\300\025\363\240@\332\304\303\324\254\252\265\331:\316\263\255\035~\377\250\360qjX\375\233q\350\2243\233o\236g?Sy\205\252\034\373\t\324\3678f\024\0234\304\312\004\324X\316\304\265\214\374z""\245g2\027e\252\247?\203\305\252\362bm\007\223\235s\317k)J.^\333\367<`\340k#\r\312Df#\243\217Em\347\210\266\316\304\344\252\211C*\234\334\263\306\021\031\031\220\301\030j\320\302\275E\005\005\312\273\266\206\341pm\\\026\344p\016\360\275+\346\343\340o\342\326\033S!\227\t\033\231 \3312\200\223\035\216\034h\2078\005\266\0013\320z\3203 \031!o\002}5j\317\357q\307\335\323\334\270\274\323:\247N\224\234!D_1\250\232Y\001\357\240q\344\302\311\254\300-(P@\n\313\271P\375\353\307\316\022`9>\345`\360\353u\005\342\245\376\002\303c3\0272qex\010\241\205D4C\n\301Q\240\272\314F\276r\205\003\262\251\313\216\205\036,\314\3745\004\314\0146\226>\301 \324\314\300&\350\021Lp\034eE\360\234z\272mpFI[\000\273D\213M\314aH\255\010\214\265d\033wF\337\017\037{r\343\253\003\022\313*h'\346d\275\273\235\232zr\003\033\312\3066\333L(c\221\204CA4\030b18\311\343q\361\365\016\340\025x\305\333\031\363\307\326\316Z\2030(\002\022\010\007\240\364\356X\371\325\303T\246\352\216~\213\241\240\233\340J%9\254\254\202P2\262D\211\024K\001\206\201\241\326\317Q\32506\270\030\321q\r\254\327z\254\203P\240\235\3423\241\364EEh\303\024\354\030[\006!\241\304\203b\277\203P\2441\357n\324s\237\243\267mu\333\353s\321\034\007\363\303[\354\277\342\304\034\200U\261Q\223\207li\231\263\351\231\304\356V\205(\020\346\366c\316Z\336\2302\364/\335\\\r`a\010B+\"\"\235\223\327Ye\234*R\241c\017\256\205\240]%\352\245\263\335\376u\325\374\n\240W\337\365\0106\316\306\313\010\210\253\031\252\362\362\027\210\220-yzD\016T'UR\031\335\032\235\260\025\010\016R\025B\034\207\261\360\211\207\025\321Zv@=W3\247\213\255\255*\210`\310\226l\331\222\203(\216\252(\253\022\254\264\224\242U\245X\345\253\343\201>3\263\307\203\026\276\005\227\225\367\237\266\366U\306\230m\263\320\023Yg\2610\225R\331)\204\020n\213h\007\233\321\200\256\365g\022\333\276\206\245>\205\370r\260\036\304\0304j\225\362&\033\034o:[c\030(D\232\201\244\2242\005\247\024\2516&\342\242\222IV\014n\356 \221\"\367 a]\260LU[\001\264\313\372\246B.\001\255\306\177d*\037\215w\340\2531\244\031\254`y""\220]\317\212\262\027\225\205PyG'\231tC\223\177\201\273d\222\357\235;\323\016\030x=\207]\307\212C\227\2164u-[S\025\322\017`d9\366kKG\300V\025\270\266\225\332b\302\236\253-'\210\251\023\005\344\370\303<\t\244\220\241\000Lnb9\362\006\245\224\314\276\n\000\351\353~%\331K\274\224\030i\221\244\245\337\305<\257\244\37757\032g_\323`\367`\362\311\035\001L9\227W\262\241\023\327\347\006\264\036\350\003,\201\254\034\213\274\37110\231\220`\n'\232\262\352\216I\212\020\3650\352\256\222\210^\325\362fgYe)J\241\034\275\234\352E\027LK6-E:QU\346J\235G\327\010\355\177\320\206H\371}\223\372BO~\027\300\324\230\363\257y/+\\\211\210\371\031\014\246\302\005 \242\247\271\002\366\305\013\214\021\236\303\373yru\344\376\367\364\010 >\241D\214?\347\343rq\210T\201\237\324{\213\277\003\321C\342\030=~\327\262\335\001D\010\021\007\356@I\241\036\214\240\033\220\342\010dB\3439\017\203\326\227S\375\327U*\030~\336\247\321~/g6<\n8\370Q\036\320\350\001g\337\311\376\363\232Q?\2172\260}$'\324\201\232H\232\032'@hG\n\223\375\"\224\220\244U\025HP3\322n\336\376iU-\347X\361\310?\317\311C\023\273\247U\257w\320\243\366\374Z\224\310q1\225\2444\024\371\334jS]@\001MR\375'\371~\246\273\307r\261\262\031\2634>\237\255\352|\003tbA_\203F\t\336g\306\263v[\340\213[_\336\211\263\264<\355V\270\373\325\024\220A\"\005{\024)\362\024S\007R\377\222/\024\256Q\335%\355\370>b]\306\035\346\217\200k\356\320\365\217\014\302\266*\257X\245>\374A \276\360\376\035\217_\334\036\362\226\355\237\335S\367{\025\335\035\334\261\223\005\247Q\200\n1\301\030\355\236\341\373@\237\316 \254\345)l\263\211\025\024Z\n\010\215\276\325-\016\341\316)\372-\206DJ\217\251\213\022\240W\025\010\204\223\306U\201C~McV\305\273\220\335\345\343\210:\335\240\330\"\210\206\261\031\3030C""\207\303\376\367X\376I\326\355\203\271G\242\024w;\276\215K/va\346\252\315\247\262\010\016\211\204r\007\361\242o\205\210\245\256u^]\370W>\024k\310f\364\213\014Rm\332\361\266\303\234\033\317\225\n\nC\260on^\007\2212\236\220U\r%\230wE\314\r#;[\035\260\372\305mr\304\254\026\304\262\366\370b\345\214\256x\017+\021`j\266\342(\300H\007p\020+n\374X\240\243k\253\2369\031a\255\016{\210-\271\215R\253>u\234\353\005E\200_aCk\2701\030\340+\277\237\346\347\346\365W\316\036\201\367\345\307n[\334\207\213!\330w=\232d\214\211e\367\312[\334\2406\240\361\334\331\361\326W+H6\030\346X\265m\301Z`\006\017\373\271\266\250\225\3037Sw\322\306\253\207-\230`\177\207\226\017\3064t\206\n\342\310\372E\213\206\224\344\227\025\250\034\247\303\020X\316\205\340+ >6\275\311\275\024q\273\022\235\362\251f\320\371\265C\321T\035\366Fi\034\241wmB9\r\253\261\311a\260ZP\322\212\"\264\300\313o`\003\313n\322\327\0233\032\330\2554\252\243\315\260\307\375\257\344\216\255Xb\350\202\315\232\354\263m\224Z?\210\036\305\267\014\016!\315V\272\255\253Q\331\307]\226x\3241TYz\213h\306\305\300\307\207~\034qg\013\"(\255\342\237\321\353\002\261\312\354\305$E\0304\215\360E\3034,\276\244\207\363\206\007\260\010\347\177U\356w\017\247N\347\275\013\004<0\201\020;\252=6\022\360:\nV\315\203\\\n\370j\r\253%\257WZCI+\232\307\305=\212\300\317\023T5\275\034L.\333\333\242\241j\326\336\002\267\212\213\334\363e\\v\236=5k\006x\2533\324\320\005\207W\205\3427\222\304q\305\370\213@\326#x\201\203a=,m\200Z,\016a\266*\205\033\314*\003\024\205\361\255\200\336\225a\202\332#\233\222+\325QZz\326\333\013\344yk\036+\024[\020!\021\253V#0U\033bh\334\251Y\343\221C\332\300Z\034\265\\\032Tqy\275;[G\217\276\340\035T;\342 \017.(\032\375\316*\331\206iT\025Kw\005^B\306\017\235\340\337PkT\035\366\360\371\237\265\303\267\201\265Pl\261\205X\255b\265EE\201\230:\310v5\317\205\227\356i\330|\336\361\t\261OX2\233)\270Y`\350\373mjl\017\265\212)\243\\\241\345\034'\016\350\362\257t\263\005\254\rF.\222()\340\335\322\320\347:e\233\250\232c?\237\237Di\351\226(\322\372\373""\272\034\027\372`\246\213\n\375\303\203hh\235\001\340\322\237\363W9\344uh\322\n\nz;s4\001PNw\022\215\201\342\356gf\251\372U\301\202 t\032\032^V\363>\326s\006z\256W\010\315\315\367\330vpq\031\234\243-{\031\231\216\\\267/\330\203\320\231\340\001\371\201\232qhOD\027b\370\360\021\307\335\244\203\320xz\023s\266r\352w\352\002~\261\375\310\273T\364\216\221<\024\007\262\270=C\\\236\312\"\246\001\272)\262\305\014\350\267\244\251\210iPM\022\227XY\237w4\275j\240\362\302G]\341R\360:\235B8\216Za\263\314/0\364Pk^\216\236\365q+\325-:\352\264\241\336\223Hpa\315\206\353f\353*\206\250\315\222.\304\353\263O\232\377\323&GZF\317\2132U\314\311:\265\2562\204k\3301$O\212\207\303\260$\371\351\373\032 |\264\207y\321\365\317\n&\022\242\224\276\364x}\276\253$^\020\325\376\214\274\037U>\2421\213R\352\211H\311\375\210\004y\227V:\022\211\333\257\300\"!\207\332QH\036\301\206@\300\371(\363\204\3479(\236\314dO\264\001\256\017\t+!\202\0071\002!0\300\206L\3300A\202\003\3008\201\\\207!\373\342\034\023Z9\214L\343\326uC\362(-D\361{\004L_\033\333K\224Z\210\256\337\010\270\302k\343p\257c\342\262n\023:nZ\363\257\322\326D\243\027\037\207\271)Z\311J\366s\023\323\007L\244\370@j\347y\325Ub]\021i\221;\301\255\355\021cW\2177\352*{\266\211t\253y\252\202s+\302\367\234H\270!X\370e 4\331\022\313\007\251/\332\316\311\313\000\340\250\352\225H\366\330yuM\233i4o1\241\227y\267]\271\010\341X|\227\305\225\210\311\032U\316\374\n?zhvw\353\266\362U\3634\333>FO\316\305\207\305K2\354eU\020 0,@\200\312B\365\205\372\033n\307\"\3451r\247\335\3760\307\032\272by\346\252t15\245\262#s\207~Cf\032y\255\366p\377\002\206\313v\357S\034\321^8\351\235\006\355\252\231\206/\3625\207\002\213FC\332y\035u\345\345w$\306\276W\026\317.\006\241\245\2053x\261\234\216e(\031\230\036\266\3659:\306\376S;\364\003\006\366\225r\302\360\035\241\317\325\347\345 \325rxy\0319\357\353>\317\211\261\263\265\017\275\253\263-\\L\276\024\272&\355qiwY\324\006z\227\013k\\\317\227\360u\312z8D\300\370\271\317/d\331\251~\312\277\213rv\257\201\274I\036B\3443s\221\n\275;T""\336\2534\336\022\263\250\004\351j\030>y+,E\225\035w\230E\0245r\303\020\304\370\0020g.\237}\r\024\032\350)\300}\031\302\370*\264\241z~\017\207\237Z3\261\253$hr\350N\306\021{\003\016_\306\324z\237\205And4C;\036\267Z|j\251\025M\336\227\373\227v\330\270\272x\242\2602v%\235\204Z\334\320y\213ggU\241P\327\021E\345\331`@V\253w\200\271f\376]T\326V\253\211\352\267`\366\001\215y\203x\345p\236\177|\255\312\342Q/\345\031s\330\345\314+\327?\307\027B\240\025\237\037\241\321\2273\315\371.\340\3500\246v\323B\001\035\375>\221!\333\264W\262x\363Z\251\031\262\224p\254\260B\260\361\330xq\254P\345\313\177\361w$S\205\t\000\225ap\200"; - PyObject *data = __Pyx_DecompressString(cstring, 7904, 2); + const struct { const unsigned int length: 8; } str_length_index[] = {{0},{5},{6},{6},{6},{12},{98},{15},{1},{3},{1},{9},{4},{1},{1},{5},{8},{8},{1},{33},{45},{17},{4},{32},{179},{6},{24},{115},{24},{1},{18},{32},{8},{7},{6},{2},{9},{9},{23},{58},{5},{3},{22},{11},{16},{22},{29},{5},{12},{20},{29},{9},{4},{22},{25},{10},{14},{24},{42},{44},{44},{37},{42},{45},{9},{27},{29},{25},{31},{21},{24},{25},{18},{9},{13},{14},{15},{33},{35},{33},{18},{14},{6},{12},{30},{32},{31},{49},{51},{55},{71},{43},{61},{63},{67},{70},{4},{33},{22},{40},{42},{20},{12},{11},{17},{8},{17},{8},{9},{8},{8},{12},{8},{10},{8},{7},{12},{14},{12},{11},{10},{39},{24},{30},{27},{46},{58},{37},{14},{12},{10},{17},{13},{12},{12},{19},{8},{7},{5},{10},{16},{15},{5},{5},{19},{35},{6},{13},{12},{21},{14},{13},{34},{35},{23},{14},{36},{36},{31},{28},{33},{27},{32},{22},{17},{3},{19},{11},{22},{15},{19},{6},{18},{17},{3},{4},{18},{8},{26},{33},{11},{4},{8},{29},{10},{15},{10},{17},{18},{11},{13},{13},{11},{14},{8},{7},{19},{23},{7},{9},{15},{29},{13},{8},{9},{10},{5},{3},{15},{15},{14},{6},{8},{5},{9},{16},{14},{8},{10},{11},{9},{15},{20},{14},{27},{8},{10},{1},{6},{6},{9},{7},{8},{8},{7},{11},{8},{46},{21},{14},{38},{27},{5},{15},{17},{17},{20},{15},{9},{38},{3},{42},{14},{20},{21},{24},{13},{19},{28},{17},{45},{13},{17},{23},{7},{24},{18},{27},{28},{16},{21},{13},{27},{22},{1},{2},{5},{22},{55},{23},{16},{4},{17},{23},{23},{20},{11},{15},{22},{9},{16},{5},{1},{11},{6},{15},{9},{4},{9},{5},{13},{7},{4},{20},{15},{5},{28},{6},{13},{4},{26},{41},{23},{17},{2},{7},{4},{6},{3},{27},{5},{13},{18},{9},{19},{12},{6},{17},{17},{14},{5},{8},{11},{21},{2},{3},{22},{27},{25},{6},{3},{6},{11},{7},{3},{4},{27},{37},{3},{26},{11},{31},{10},{11},{24},{17},{18},{41},{8},{7},{10},{4},{5},{4},{27},{7},{7},{21},{14},{22},{3},{1},{8},{9},{7},{6},{17},{13},{9},{16},{24},{19},{23},{38},{33},{5},{14},{39},{15},{9},{26},{12},{15},{16},{6},{20},{12},{22},{5},{6},{7},{15},{11},{7},{6}}; + const struct { const unsigned int length: 13; } bytes_length_index[] = {{282},{33},{73},{11},{11},{11},{11},{11},{11},{12},{55},{55},{57},{59},{59},{59},{67},{187},{102},{111},{102},{104},{120},{225},{919},{126},{34},{25},{636},{693},{19},{20},{11},{7},{9},{56},{34},{92},{208},{129},{60},{11},{294},{73},{4171},{16},{729}}; + #ifndef CYTHON_COMPRESS_STRINGS + #define CYTHON_COMPRESS_STRINGS 90 + #endif + #if (CYTHON_COMPRESS_STRINGS) == 2 /* compression: bz2 (7872 bytes) */ +static const char cstring[] = "BZh91AY&SY\370i\037#\000\005x\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\300@@@@@@@@@@@@\000@\000` \037x{\356\370{f\311\345\256\314\323/\266\363x\036\\\200K\356f\264\355\247\266\205\324\016\215\237{j\327\236\33672\273[\332\326\367\035\326\326\262Piy\334we\246\rD\233\207\252\202mR\005\000\003\351\353\200\000\001\246\210DB\236\214h\230\324\364&\230\230&\325<\320\3123\"m\032h\300\220\023H\361M\352zj6\246\005<&\231\020\3625==$\t$\204\323L\000\231\000\2324\230\023\320\004\312\236\200\320&5<\243F\2324\320\001\211\210\323G\250\007\2212h<\240\032d\0214\022h&\223\010hC\0026C\024\332\236\202\032h\331!\243# \003FM\006\206@4\003@\000\223QD\323SL\211\243$\324\374\251\247\251\352byO\3256\247\250y@d\365\000h\r6\325\r\000a\001\220\037\252\032z\206\214L\2335OP\032\212\203M\006\236\023=$@\311\247\352\215\r\032\000\003@\032\000\000\000\000h\000\032\r\000\000\002D\211\240\004\004S\331&\023\024\314\224\360\202h\365\006\215\006@\320\001\240\003 \000\000\000\000\r=t\204\216\306\222\014-\276\034q\357\331;hSK\201\212{\242Ld\222\205\rT\235\004\267\026\322\360\\\252\355\244U\024\244\243\306\252\332\254\033HcU\340aF\013ZvH\006\317>\211\003\370\014\244X\240\304R\010 \210\243*\202\356P\351\240\207\332\365}O[\327;\265\353\363w\241\337\0470_\203\232\357\277\212\006\032\013\306\312e\342\377\305L\022]F\234\257\301\246K\232\275\335\033]\311\271N\242\005\340\263ID\"6\317\324\037K\353}\225\305\355O\265\355\217\313\316\367b\364\366\372\273\212\355\247;\273\021\030\\\307\004D\311\020\"T\231\"$!\225\216\276\343\023\361\374{\353\271R4n\363\247\227\224\351]\274M\0322\317,\363\313<\315\032}\177]\000\323\0204\300m\200\322\3627\216\217\337\374\366\274_/\213\227Vc0\265\243:\014\347\020q\220=<\363\317,\363\315=\025s\010\360\177\017\363\311\341\361\364r\375\034\177\342\276\275\013\"\320hY\215\013C\317=\353\226Y]5\315UUUevK\352\241%\177\027\213\346\223\263\247N\216U\235,\353:\315\234{\275,\262\313,\263\315?\235\233\314\217s\307\237\243\373\371(\362\3704\351\362`\330\020\264%\243*4\013F""\362\336ZK\366\335e\327]\206\3546\333m\266\227l\244.>434\005`\"\n\261\021b\252\252\252\212H\260M\244\322hllG\267x\362y\376v\032<\334{\207)\311\276\372\356\272\353\256\277\034\274 \216\217\236\33197\177\317D\034\233\333\270}x\360G\034q\306G&T\202d\037%LI\267\317\320zFY\337\340\330\327\246\237h\222I\t\010\344\220\343G_\237\332\323H\214\300\206jJt$\360\373\025\301\365\210\242\213k\302\235Y\324X(\305\024\212A`\244Q\031\026/\265\325\353\342C\310]Y\231\232\217um\274\241\203i\261\203f\3262\373\357\272\027\302FeYL\312\207\235\363Qp\005t\013F\230\233m\016\342\313,\250\250K\256\365\251lb\305\030\305\021\026\n(,\214EUD\213\252\212(Tj\251\246\032\303,\205\221\201\260&)\243\245\361wr\200\325\200\343\220\3335\r\230g-1\016\346\222\335\020\276px\027xpK\310\2251O\017b\001\021\025\276\352\342\3176\016\306\324\023=\254\345\2576\243+J\315\233V\334\242\215:5&D7\214\267s\206\220\022\3123l\006\236\033\024\\\2034`_\201\220\2630\262\346\256P\363\324\203P\304\3061\214ciE\024PQ`\244\"\310s\212\252IH;\277\202)\023EKEJT\201J\245R\212E8S\025\370 \047\255*\004\300\310f\244p\326\215J\334LK\225\3068\232J\325\177I-\270\346\362\031\260\260\312\325\262\343<\226U}2\364\255%\220\213R\202\342Q \204\323P\2348b\327\263\003\rK\002\312\366\263\237\317\347\303|U@b\242\301V\002\301\031\026*\254D\213\0017R\226\034\350s\362\315w6l\2331\333\317\240\032\225\0301#\014I\356W]d\250\224~C\333B\250\300\276\355x\254\232X\036Q\022\312\253?$imI\267\221\262MT~#\\7q\300\030,\213\027Q\302Q\207\000p*EE@c\021\010\"\212\261\333i\240i\327\234T\336\325\245Z\241\243~P\214t\301\047\303\203\023b\305W\226\232\364\254\347\026\266\303:\234\227\252\2554T\250\n\372Z\026dR\357X\271\013\215+\005\3651\206\r\216\276\031%\037\303\304\350\364\021T\213\005\215\362\260\263\260\341\022\177\036>\335\247\220\327\247\344\344o\004q\001\010\363\302-_\312\207,q\255\334`/\351\326\371\265\344\217J\213\353\325\022\002\335\271\327\035p\370n\300BW\007\245\343\302\375W|\312\367P\203\033\357\224\346\360\215\324-\256\267\217\374\325\325\326\374\256\256\177""\047\260\010}M@\353\244\361Y\035\316?\021\005\025\352R\365\376$\353\031\033Y\250\352\207d2n\240\003\255\326\313}\352\254\314\274],\300\026b\314\213D\253\250\201G\274B\005\245\313\332\203\264F!\310x\212K\301\340\021~\237O\233\303\273\205\331\047\034!\r\000\3759\206\355\350\n\377\000\367;-O\r\201\047$+\213\047\223r\355\025\205\275u\235\355^`\204\316vv\23746(\271\231\324\314\351\341\217^\346w0\236@0\036\0200\014\364!\320\r\003\323\301;R\224FA\220`\037\206\214WI\363\243A\030\214G\036r\014\016C\225;8e\r!|\343\353b\216\300o\037\277\0066\220>\200\313\305\\Y\220\021I\272xs}4\361\000\317\256\0239\022ZKIi-\006rR\247K:\314\334\214\213\211\"NGGb`\022\306\216\213|\337\211\231\231\2230\314\332\313e+\226>.\327V\374\346\371\036s9j&\230-\013\205\004\341w\226\334M\321]\033\252h\245%;qfo\330\327f\311\375\261\366f\n(\330\336\371\267\220~,8L\330M\r\277\263\016\316OC\310\17723\210\261ae\202\317\202\2320\022\370$\323\3122p\3715\311\017\330\027\200\032\005\226\"cb\234~\271\207.\0345\3605\233\235U;\177\303\233\320\345\361\377\317$\236\016y\017Lm\003\322y\344\317<^B\021\256\377\000\235 \374[9\356\372as0N\206\245<1{l\024\346\317\201\332\006\360\016\262\020\231\2322\305^\n9\230\3331\344\364\310swJ\r\006aB\327\323\010v\2136.\275\246\022\037a\2173\301\203\241\3670\377\302\336\010_2\333\3546\377\003\273\355\303:\021\305q\324\266C\251.\240 A\254x\346\223\332\355\371\336\216\215\236\231\034\374\020\0234j\340\224C\2462\311IL\354\353PkY\207\021+\304\"g\222\320p\211\221\2100s\311|p\210\355/7l\351\022|Y\003w\177K\03352\270\047l\242\177z\007;i\361>\307\263U\305\271\376O\350\275\006\021\207\312\266\211\247p8\267\255\352\020\376y\n\001\006\206\215\3609\257\022\rx\250\373u0]\2022\262Pa\345K\003$d\275r\253\364F9Ay\205<\006Yc\234\r\030\222\023\373\231\231p\2213\001.\205\322\271\314\025\276\344\003\352\304\211\200I\353@\237\025\237a\221\0210\010\200\341F\360\336\033\315\301\274\252s\336z\246\355\310\354\362\375?,\315>8M\354\317\332\317\217dH\305\351\t\332\254W\030V\024]\000\375\327\036\345\334\225\270\327b\307\3278F\331\3273\316\3718Y"" `\000\t\002\360_\337\245\374\241*\367JT\312]\006}\034H\222\363p\317k\252\020l\243\225-+eZ+U\252\322\324\275\235\237R\227v\023{l0f\n\022>\231\311\224\305\350o\372\020\231\006\303\251\265B\035\202\370\341\322\201-\212\231iRi\347R\3660\001\203\021d\206)&\243vr~TMcY8q2Y\247\236|\307\316}\023d\354b\032\232aE\006\241\265Pt\260dZi\244\216?=\304\337HI+n6&\373\215\336\367hA\216}r\255\357\307O\257\362\0278\307*\366\351\000\312\030\323.\275\250\014\024i\004A#\235?\327\227\227JQe\047;:\261\r\007\217\223\352D\367\373\r\010>\374\345\324\026\32627\027\206H\261 \354\274c\311X\264\006a\240\010c!\020(]O\332\356\231\246\370\021\374~\352\215z\241a\047\337\376$\326\271)\010\307l\274\035iVC7|\326\323\326\267n\nL\201\365\203\261\023\223\316{\220\340\277j\327\337\310\325\200E\216\013\377v\300\000\227<\260q\205\311\"\276\213\343M\270\336\300\343>d\047\231\341\221 \000x\270v\276m@\017\357\276\367\031\251\314c\200\2011\020\202\022\204\025\241\010L\202\354\353\2022\331Q4xv\314\203\301\210\203B\332d\371L\230D\347\262\254\270\302\047v\356^g3]\330\\\003,\215\265\252\031\315\370\222\325\313\211\343\033$\321}I\017\016\3176\0340\205\326\213\217>\027\342\337p6\241\225i\\U\027J\023\340\\\313\334m\t\237-\261\266\353\321Z\266\337J\224\006\275\006\327\022-\252n\3235\024\321\\\335^\r\222\232\251\335\352\350\362\022V\353\016[C3\266\363\216~|\310\265\231\253\206.\326\324KC\211\342\250\323\204\"1pP\026\200!\304\002\342[&-w\341\241V\302\n\346\260FE\234\211\027\213r\230\220XP.\352\317\007\000bb\022\305\357k\263^\2074\355\210\322\006f\006\246\350P\333\351\215JC\\hda\347u\272O\370$\331\246q\326\310\tq\024\233\205\030\211\026\277;\003\237~\244\202a\205\205\317\020.\352\006\273\277\030N\326:\316z\304\013\0349\037,\350\r\203\003\314\026f\035\047F\010rK\250\255\022\032\026\244\031\215\261i\211\022G~}F*\271|\030!\354\347\365\006\362\r\232\344\232\242\033\225@\304T\025\024F\034\027\270\345JW\320\207w\340\236\244\326\335\200 \326\344bh\271-t\027VO)~x\030\261`\330\226\311\327}B-r\022\304\255])9\242P\262\003s\272\316""\317\211\337\360{\340\217\n\250\017\234\036Q\3334\2320\275)\376\364\031\350\035#U\221F\031\347r`\222\330\230\225\023\256\007\"\n\251+\035q\025\224\2117Cw\205\372\017\257n\265\301\303\332|\202f\336\223\203\251\332\307\251\360\003\266f\210\306\034\26017Y\271\225k\327D\024\321.j\271%f+\272\272T\2277v\256\000\342R\262\035\310\361*s:\222w\206\246\274[\220D2fk\367\023\177\244\240 ,\017\031\014\323\321w\010\021\002di8\240\\\227\257c\343k\"\250\204\326\370{;6\224\221H\204\020\341fO\314\360\306\271\355\311\314\304p\344\366[K(@\244\316D\272\223\277~%\270\216\346,\222\310\035\300\223\311\223qRf\002\363/,\014A\2102F..\315:s\372/\272\231\276F\260\225)/\312\337\022D\354\305\016\010B\014F\001\326\022\354\304\20280\252\262c\2058bKq\351\314&\006\203\023q \260\224\254\202l\211\320\216\213dy+\243;\005\352 h-\307\225\322\226a3\225\235\331\330\212\322\003\231VH\215v\312\360\262\226t\312]\312\301h\020QN\350\020\020\334\372\251\033fl\333e\223\302!\270\032F\204\343\313\351\350\016\201t/\021\322\217)t5\257,\035k\224\030sM\"4\206D\361\2236^\006\016\047Fd\311\017\273\207B@\020\202\202U\000 \033\236\273\014\351d)\276\r\000,\013\223\202\343\277CAR\357B\317\3243rI \202I$\206\032\333K\226\211\245\256\251\236p\3305M{2\262O\221*\005V\226\310(\253\031\235\363\225\224\020)\r#\306\322\033\n\311P\367\236f*\350*\300O\007\203\363B\033w\26215\300\260b\377Z5\227\004\351l\022\262]q;l\204\206\020wo\212z\1776$\354\333\256\217\202\326y\272\312o3\264\013\240\000\244\327\322WY\212\304\254\"qNK3\311CVbHiN\360\312\333a\303f\374\211I\255d\315&\310Be[V\252L\301%\335U\335\325\343.\366X^\034f\363\214\257z\274j\36701@\320\330sr\010\206q\201\027x\342O\"n3\014H(\"E\306\251\251\252\346\255\030\332\022\211\243-\201.\256\344\207\250\013\000\313VO\212\302\331.\363C\357\301J@\024\333\002\006\325{bO\321\256\215\n\3538N\023\205\034>\217Y\347h\265W\355\315N\344\360a\177\047C\356{\013s\213\014\032\266/\rzg\222\223\024\322\232\014\200\233E\232nK,\323\332\252Vp\241\203.\252q{\2320>g\251\312\371Hs\345Y\017\265\210\206\025\027\232""\337r\261Z\300\315]\355O=\214v\335\265B\317tF6{9\3112*eS\233\226\354\260\021\300\316\003\010\267}\241\235}\242\301A\244\244\202\201\231\306\254kR\310\215A\224]K\334\321\250\267> \3102\031[9\221\222\n\271\201\"v\032\023~\025@O\013\020\302\340v\340,\001\220\234@\020t\253\353\353\337D\273\235n\245\\k\251T\r\023Bu\356(\314\030,\344I\367\002\020\351\036dK\204\322\314E<\232\"\301\313f\020Y\271{\016u\233A\313\370n\t\007dVi\025\222\356\336y\r\263&\240\276\355h\255\244V\206\210a@U\264\032,\310\324\230s\253%.\273\254+yy\014\365\250\246\320\307\303|\257\022\r\255\260\023\361\010\263\035$\032\353\361\325A\345~\254P\"\224\244p.\330\361x\262\320\205\327\220\207b\200\2715\016\247s\207\273]\007-\014\207E-\313\210\256\r\374\374>\004\3418\313\003\177\243Q\025PC#~\344\020\310\037A#\2353:\332\27088\217T\010*(\334o5\271\362)Pb\004\344\240I\264@=\347\243\241m\331Hj\262\276E\305\277D4\022|\351D\344\270Y\0064&E\331\"#j\0069\206gSN\321\323\304\326\342h\254\024C[W\316\"\260\270\234\010\264\334\210\352\025k\021\204\253L0\214Z\031\022\r\305\026\014\342xc\321\350K-\246\243\323\212)<\327<\214\262H\376\253\326\275\202~\355 \344\2220\263\006l6A\007\014\316\036.=T\354z\326ae\201\016oo\031\213yA^S\201\315(PAE\221\021N\261\277k-\306\245*\026c\367P\270\030$\302\252l\323\267\276\344E|?o\310\341 \343\235\232\354DEX\313\346\246\2214\306 \224\324\341\214\r\254\026\361\244c;\307%\355@m\244\004-\002\270D\"L\370\002d+\312\357Q\254\t+\311\303\3064]&\223=\346\022\333m\222\203 Gi\244\253%Z\322R\262\254\207#l\247J\211\366\036>\313\362\346\347[;\357\273.$\3036{\2215\266}\264\302UK\267)\204\020v\205\210\017\203\320\200\245\264:\226w!\251O\222\350r\260\037m\005\374[\345q\023\014\035&\263\3050h\006+\201\303\024\r \222\320\241,\031\221Q\t*\201\215\350\352\t\022,\353\014\027\266\004\305V0\031\263-\363!\031\000\361\344\247\247U\244\265]f\215*\rV!\273\330H\326\031sjS\320Z\026>\361{G\"\325\006\214\374m\3072KQ\213*a\303\017\003\314:m\027$9pI\017aa\342L\272\300\223\006\210\225\374)pJ\241^]\0066/\nZ\235-\277\022\230\n\30128""<\322\373JV\250@\201[\032\016j\007\033\226N\272\347SA5\367\276\374N\221U\016sH\327\021$\235\336\231\374M\273\315E\217\305+\3076\216t\272PDl\211\360\326\270\241$\001\332\356\303\335\207\270\000\306\001\266G\006\"\272\363R\331\220d\013\023\334\252\204\320I\233\t\213T\302P\324\314b\3520\356\360\251\321k$\032\014\\\347j\0268&\202\333.\212swO\027|\347\047\346($\244\026uRq\204\235p\006\203\275\303\313\305\035\214\237\201!\260i\005\003\322E\275\306`\347\001\017\255\367\204%P\005\247L\315RI\226Y\336\306\245V\025\323\271\2501\273\224\267L\243\261\221eMQ\215\022\265{/\024\036\000\243+1C\300\250\326T\217\222Vk;\2062\030\3611\343}\300\360\260^\317\244\303\327\253&3\330o\276\334;5\025OS\236\355@\017g\\\225\263\236d\373\035\327?\227*%\260C\273t\220|\364\006\014\201\220- \265\207w\203\022/\335\031\233\\\272\027\033q\020\363v\271\354\345\302\26019\315\230e\036,wWtUZM\321\346Y\254\305\306\2117q\317^\346\244\305\257L]K6\350\330\221\254\007K)\260\201\231B\325d\0300\261\220\227\314]\234!@\220\300\364\271\250\006\253\336\321\303\222u\220\017\314\362\340`\322\371\t\206k\344\366_x{$\020\275\047\251Le\37087\370\266\362\332g9L:T\254\345cR\3148P\346\201\344Stm\321\274\226\275\220\253\256\210$\014\235\362d\020\254\026N\220\202\350\004\322\022:\335\311\222Af\311U\373w\020\300\263y\264\2301#\270\273\331\205\021\010\\\254\343j\351\305\3666\nqv\203\317p\365\326\264\315^a\n\330\212\213^\364a\"*X\241\025\022\337\3159)\002\343e\317\267d\366\317[\013\323\327\210e\230qk\202\316\025\251\231\261\021zA\r\215\241\026e\256\212\na-+ +\047\300\264F\025AH!aeS\3500\200\302U\310W\313\320\256i\032\332\24284j\272j\246\3667\216\001V\212\345\272b5\272\302\226\325\246\272\001\320\024\275kr\366>b\\\240\266\2226\222\351\rk\241@>\367N}\253,\341{\323mm\357\336\345\204\330\021i\231\2619@\334k\264\004(\225\212\265aG\210q\003\n\320\241\001s\350\276\235\261sy\355]\207%\240B\006\331z\207\265@\020\232t\3513\255:\003J\323\255\347\264\355a4u\342B}\250\032\247\016I\033u\014\314\330\234\360\201\236\201\320T\225U\"\251\315\265T""\374\355\3174\322\034\364\355\017gy\325<\327\215\254\205eu\343+U\206Ec\2702a\345\343\265\200\310\302\034\007H4\r\240\032\030\330\013A\236ky\240%\311\341\307\036\323\353\356tU\351$\022\006\244(\351h\216\275\363k\230\231\323:=m \037)W5\350\252\252\203\311\276}\331$\016\225\204\027Yqr\271i\330\307W\0258\215z\tI\002H\315\255\276M\230JQz~\256\373LM\n\335\002\035\323\017\031\263\377r\367\035\032\214oE\275jB\345)o\215e\262\371U\374uDg\345\235\030P\024)\350u\375\177w\300\376\336S\374\204P\001y\035\n\257V\326\270-D\223\373RkUv\200\362D\201\346\366d\236\230\305\005\021\047\032T\237\347\337x9g\321\222\260\367\377\315\262\217i\037C\361\266\262\322\033\315!`\274\353\236\247\323*\276\364\242\036\341{\037\364(\004\346\356\037\342\244zu;\254\264zS\341{\252.C\333i)\261\002\220QS\340\201\205\372H`0Fq{\036l\236\315\362\23240\3458\321\215\375|\356\017D\210\203!n\310\367\027\367\317&W\3140\377>\3305\234\251\250\2070\010\321\007\360@\026\302\0376\350\026\306\250\244\252\235c\214\356\375k\361\373\3324I\243-\002\034\276?\224\367\3704.\"Q\347\357\"A\361\002\277o\027\373\321w\311\021Q\017\215Xp\020\235t\r;L\316\023\244\005$\357\"\224\220\244U\025HP3\330pp\303\316*\245\376{;(?\327\362\241\223V\206\343\240\376\242\217\337\215\311\256C\311\220\256!\300\247-\307V\212\365@\0055\311\266}\336b\276A]`\335\200\240H(\235\217\375\360\242.\320\241\010\t4\224<\217)M\266v\323\266\3216ilZ\370\242mS\036G\253\240~\n\212H \221\022\301\224)\344(\246/z\376\244H\021A\227p7k\315\364\r\272@\337(=\200\247z!`{\334\004\010G\310\215\031\326UC\005\370\217\326\217\277\310>*Z\261\367E\016:1Z\026\244\310\222\301br\211\000\024b\322\024H\254l>x\277\327\270U\376\206y\215\372\022\245\037d\2413\344\302\234\014|\357\206\317Z\274\273\344Z>\335\327%B\261h\221W\321j\3120\346\302\360\257/\271\266a\365\353\322\3441\356y\206\031rr$;<\007p\307(\312=\350S\374[\307\355\003\300\207\320\010|\337K\350Z\235zU1V\265\315\333\210\020\037\330b*\210[\006\321K\034\212\274v\342](\321\320!\267\256\2532\223f\307\023\253=\341\373T\202\005\246\034?""\341\250\221\326\252oH$\036\213\270\371\302\365#I\316\352\343\320\025\272V\307\206\322\260\262/\214\035\337\265\031s\303\312-\222\301\312\3516c\002\350\032\200\201Sw\346\310\026\217AM\017]\373Q\002jH1\246_\037\316\373\254\321\376\376]Wl\241\333\006\273hGjC\263\234\005\021\332\363\363\363\377\002\364\007\315>\375@\355S\373s\023r!\307\243\367\354\3558%\327\276Z8=@u1\307sc\216\252\226 \327\203\340\352\366m@+\214`\307\364\335\334TJ\301\267\223{\211\234\257\034v#\212\035\3768\277\t\022R8\253%\201\327\025\356\000\342\276\267f\017S\337\266\0267\307\000\025\242>\027A\351\277nH\336\266\247\200\252X\2629\\\242\010\252\017\003Hq\034aw\354\3068\253\255\256h\342\262\350\355(qE\036Kl\032D\030\001\371[\264\265\306\006\203\235\301i\305U m\206\207v\036\031*\345\216\337\236+\026+5\213M\232\341\362\212\014\266\243\211\344=\312\347\324\263fKqVk\034J\031TX\202\213H\316\267\333h\007\375\334\\\032\"\300\340\267k \377\250,J\317W\350)6\344\007\021\300\010\270m\013\257\247B=\001\220\365\301\035\337\364^\217\242}KD\037\243*LK\211\023#\347\241\3528\250\263\342\235l\3275\200\255\216\240\331\260]\005}\2243\222\261\252xq\031X7\013\2249\337\227\336\305\373\233\231\252\026\245]\360*\360\346\307\024\"6\026\007j!\347\251T7\rV\3648\001]\365\2328\t\036:\362G\017\342,\203T\215\362\004\312\351\350gW\005\302\270\361\r\301P(\337b\2402\220\276\025\256\035\351V1ZD{\263\005j\212*\313Z\273\201|p.h\n\245\026\274HD\212\265H\232*\r\301\2067i\325\200\342Q\0070.\017Z\217\016*8|\276\215\255\243\367\355\274\007\324\017\371\210\204\013\312\007Cw\206\256\201\303*\202\241v\350\251\304Y\207,\241\300\240\357S\033n\360ya\265\340\334\347\355S\035fb\254\256er\212k\023L\244\207g`\367\333\005\356;0\303\326!6h\322\rE\250\274Wa\334\344\263\325\331\037c(\242\216\202\210\024x\2265G\215uKLs\007#,\364PS\263\275?O\304h\026\336D\240?\031\336-AB\201z\211\375\275]>\326\r\000SQ\212\367Gkhj\0351\331\237\211\312\256\201\036\315I\301Jy\272x\032`\250\047G\205F\310\373\276\275\031\252z\352\360\302\330:n\0160+}\245gE\223IW;\300&\315\370\327/""\321\017:\034c=p\2644\036\271\371k\334A\346M \000\366\2014\344\342\"\016`\347\036\321S\367\352\316A\346>\016D\335\351\234\372{t\301=\261\355 \247\234z\204\300P\034e\306\374\306\3018\310\212\222\317\324S\254\312\033[\222\325\005N\211\323\314MR\234\314Y\275\337\306V\305@x\343\"\366\001R\374>\22528Nzc\267\220J\307\236\203b\374zu\353\013\337E\362^*\342GC\2338v\261\360\343\273\353]\352e\353\212e\225\231T\360\242:\344Y\373\205\016\245\276\264\026\0344\275\235\354\255 \223D\222^P\342\374L\005x\241tH\006\315\234\231\275\373\344\354\037\002&2\242\224\300o7\177\331\350\260E\361\016_\265ZP\354Q\366\021\224\\\2279\305$\247x\200G\221h\311BQ4+v\205\262\030\376\205\024\201\352\030\344\016\177\362\243\312\023\304r\321=Y(\207\343\027\302\225m\221\007\356A\344\027\306\037\030\032E\372\205\372\2030|IbE\207\006\352\034\250\232\243\322\234\277b{S\301\232\203.\220\311\030\3761\2107\222\255\035\243H/\273\366m\324N\254V\032%\275=\354bz\253\245\311\245\363\353\263i\202\315\246\305\021\266\262\241\256\363 \336\234t\322ra\231!n\004=\347\2733\263zb\2612\314\247\202\047\317\372\251\275\313\263^\311_T\201:\225\276/\234\320\274\220\234\370\205\244=\\\212u\047\247Q\346grq\2209\024:\2054\373N<\253Y\363}*\306\371\215\rDU\341n\300\236E1\205\361)L\341\236\224\035\371\013\037f\254;;\365\335|%\345\351\272\272\370\216\357+\210\312\324\356\266t\220\221!\301r\004\202\310\201\nc\305/\265X@E\211\262=od\n\245\004P\366\306\021\310P\314\227\301\034\020\"9\0370\365\322\177\267\224t,6\274?\247g9\262\211\345\263\303\016\r\311\263\016c\261\254\300\026/8\036\304P\353.v/z&u\362x\366\362\244j\036\234Y\337\341\316t9\366@fd}M\350\342\024\357\346\274Gx\034?\260\2262\\\047p\203\365\272X\240mng\027& \3676\317\263\342\354\371\335\010\336\366\354\323\333\215\327\177P\315\301\256Wk\336\331\332C\305\252\002\272\267?\344tu\305x\0313d<<\353\235\265\\\332\243\262\243\247z;\227{\274Q\035u\201\234\034\020\227\205t\333\322\253?~\236\020\004\351t\034FxN\246nP\352\305K!a\254\027\031K\223\336\211\310\326<.\342^l\036\366\010\344#G\200""\273\344\254\202\360\273\357\023?\036s\270\325\332t8\357+g\023}\203\216v\215\352\217U\017\305\343t)\352^^\047\307UP\047\310\352\345kP\275^};\345\226F\257kb\25564\224\0106z\305Z\205\342^R\275\344=\244M\214T8S.]\302\315\374\254\26142ZZ\252\224u-\330>H:k\317\033\3077\210\364\273\204\374\3364*<\223P{\034\352\225\026\351uE\354- \252\352\367\236\005A\256\353\315\210\007A\2225\272\317\"z\t\232\321\243\320\207\363\n\354\236\\\325\255C7E\240\047RBq\325q\342N\263a\316\247\377\342\356H\247\n\022\037\r#\344`"; + PyObject *data = __Pyx_DecompressString(cstring, 7872, 2); + #define __Pyx_DecompressString_LZSS_UNUSED if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) const char* const bytes = __Pyx_PyBytes_AsString(data); #if !CYTHON_ASSUME_SAFE_MACROS if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } #endif - #elif (CYTHON_COMPRESS_STRINGS) != 0 /* compression: zlib (8386 bytes) */ -const char* const cstring = "x\332\275zK[\023Y\3276\341\014FM$((h\242 \240\210\242\320\236[#DE\021\010\004\320\272\274\024X\224\226""\347\354N\256_\317\325\324\346\222\274\246\314\252\341\315\231\027s\363\213\001\251n\222\237Z\336H\013\376\320\313%\t\263\244g\376\245\20045?\027\362\317\314\005\026\347\346\245\347\241E\377T\200\356\267\360~:\2602-\315,\274\017\275\304\\\032\024x\027\262[\261\263\264\364~Iz3?7\023\232_\234\231{\301;\244\3473\263\001{\302\322\362\322B`nz!;\375\314\037\211D\311.\344X\210sf&\276\246\036\327>&\201\241\221LX\261\365A\222~2\022\302\325\310\236~a\354aI\035?6\252IZZI\220\r\037;\210\326\263-S\342\246u\354\310L\"BG\254\254(E\355\333?\257\314\342\017G\337\273\322u\344EEgD\225v\344hZ\3222ZB\211Gj\035\360x\260.\t\3763%U\235k\255\033K\036\236\303ME\202]$\344tx\343`{u\025\332\177\227\316\000\347*\315)\273\351Eem1\020Z^\234\223V\374\263\313\201%izf*\004m\016\005\244\305\3459\361`+\204\355t$\341\203HW\247`\266oSr\002\346}\340\3650S\016\0178\304\232\203CHR[\n\372\"\222\272JN\237\334\256_\313\306\3033i\212\023\270\017Wziaq~!\260\030z/dg\377\245\213\247\352\237\017\237\351@\357\241\003\205\324\304\254\262\255\304\352\307\315\251\317\340\2508s\377C\367\001\231H\220\252\224\211\013\341Fj\"\321\376\3232\\a\367/\265\226\211\207\377\323\264\303\267\375\217\023~\211\001\363\361Xv\271r\215\300Ooq\314P\2331\277\312\213\343V\371_\360\345\270%~\211G\307O>\314\257TF\301\237\254\0305\245\306\3232 Uj~\365\257\243[\017\037\340\330q\207\366\"O>\265\274\024\232\177\303\035\372\324\362\342\"A\203\347\213\37670\3437\376\005yU\303\352rL\002o\204\366\255\312\232\202V5\226\301:\024\322\343\220\273$s\240\003\350@\350A\256:B\356\356\250)\254nma6=\326\374HZ\025\316\363\340\370x\326v\322U\267I\266\214\331\211D,\313\367\324\350/\331/o\301:\225@/\247\326\361O\223\350\217LV\036U\307\302jJ\315\000\327)\032\235\235\037WZUU\260\002\363\353\236\352\036\243q\360\354\340\373*\216\264)\341\334a9\263\276\221\256\323\270j\017w\267\320\237#\007$\324h<\255\021L\221\244\312\337\270\244mF\023\240\300\266h\003\360Jm\001T}\201BWx\313A7\255\245\211'\241\256pf54\036\336\210\306\"\300y\322\266\234\212\312\330\004K\023J\245\270""\027M+[\364\212\373\343\032b6\301\244\360\026\266\200\330\324T\226\036\211\323\350O\253\325\027u[I\205\325\3321\3501\245q|\037W\351-&\257k\240\2423\026\203o\205\252\2443\2518\227b\245)\235\312\332\214\260\233\267\022X1\254\306\205\314\361\000\225\214\247\271\020\323)\376\232\312\204y\240\216F\250\025\027\261\203l\270\242\315\374\366)\314\007\313\302@\270\022i\265\024\026XW\214\325\302\031-\255nI\233\nP$\240\237\004\003\307i\004\201\255\333\350\217\363\003\nv \216\n@[\351Tp\312\0100pD#\270)I\330\004g\220`\343x\330\rK\\\272\325\007[=j\357\244\024\364F\327'*8h\363\204^\252zR3\215\312\222\365\257\\\177\352\254\007Y\n\336b\231H}l^\315\332\246\301!w\005v\343\260\273\270\035\376&R\212\246a\340\332\232DZ\260&\321\325\252i\332\032\347vt\315>#\250\032\346\315\\m\326j\356\266\242\025U\007@\202\"\023\223v6p\333:\325\207)B\361x\226\027\251\037\315EF,Y\213bE\232\232\226Sim-\272K\310J\212\221\007\265u\235\334N\315Q\223\177\006d'\033\200S\255\213\000\274;\305\245\317\377H\3346H\003\304\253P\247\272~2=M\214\022\r\373#\001%\030\302\242\243\361D\006\334\243\235\355\277\374\356x8 \035\251r\273Z\023\016Ng'G\312}\350ao*\361\215\370\th\344\276\2510\\\215\257\211\033sQ\3616[\321m'\031\215P\343Q\312B\355\\\374\244+\364\"\304,q\213XWR\324D:\225\"\327\233\314(\031\301k\256\330\207\200\323\021 \232Z\264-\210\255\346>*.\250\356R\222\272\266\246\t.\354;\361>\000}L \266\013\n\022m.BW\345\016B\270u\202\334\327.Dk7!\233\215\256ey[B\251\272:\322\355M\033&\327I\260\352\231\016w\325\254\307\356\253\362\374H\264\275!k\365\253A\376\261\0142\320\203\222\322\352\272\370]Ek4\032\021)\247\370\303\r\250>v\022\257\016\266j\304`u'.\331K\301\032\311a\035\034f\277#A\246\330\300=\003\251\026&!\315\346\242\206_O(d\234\3218N/\307jA\207\322\243j@\215j\373\242\261d\327\001\320\\\t7\266\227[%^\3275SP\250\266\251\353\202\275u\211WT\253\250\n\202\3416\355s\004\320\343\255;\360\036\364P\037x)\344i\177\375\205\000 \211Z\301\346\016\341\001\036Hx\003?\007\177%\235\342/\225\022\026g\233\340\235\355\264\370\213\222\330B\344""\221\244\312\337M\205D\013\024\244\300H4M^Wx[T\255\275B\205\267\344\354\252r\030\024p\267\267E\346\027\331oa\222(\234 J\tGR\371\253\354P\0132\255\203\320\312\326l\350\003\217\315\366\355\310/\036\243\363\253\270e\206\206\254\3312\323\354\2016\273\361&X.\251\251(4\222\033T,V}\341\353\000\"\250\232\252\215\221\027\343\377\271\362&\324\004\314c\373\230\353&\262Rd5\221\215\254r\373V!\024\2732$\312@\373^\306\3547M\336\3060\301\023m\377\010\361r@M\216\032B\332\305\037\020\341\351r\242\232\264\277\013\0175\255\022M[j\034q\303\256@\355+X\355\177\033\253\274e\323\n\331\220\004\273\210iG\217!\014,U\360\316\261c~\336-p\373\221}\302\025\376d\177\336e?G\324x=/\004\332\3347\302\306>\022\326\332\205\016$\242\244\225\374\231`\247\226\331\022op\210\231XZ<\333\016\232\036)\340\210\247L<\021\rob\361\343J$G\014\343\271\344\201\366\003\211\375\201\336\372\\\353`\327\257\247c\2770\263.\331=0\372\230\234\215\017\332Ns<)%\205A'3r\254\362\024M\303\223\256\327\334\222V\367X\363\240p\327\225,O:\234\357U\032\224]z\\K)[\000\357\007}\205\335Z\013!\265\010mw\331\350}[\216e\310\247\003\337\013\351\242]t\331\003\350l\342QKe\342\232\022Cx\007l8\230\365\220>@S\216\357\242p\023V\224\210\022\241\304T\331\347\335*H\201\024\344']\024Cx^k\273\312\272\272\226VC\214\300N\302:\010\335$d\002O\032\272\001|e\256\274\325\274X:\"G\3266\324L\214<\250\232\250{$\237[\213\273\242]\354\266\241\252\210\351\352\316~v\222#\336?\247.Vk\034\255\252\204\356\261\271\264\225\216\"\212\340\"\310\003\005*\2460N\247\342'\343'\261\217pT\375\003]p\371\025.\010\"\251i\340r\233uZ\2451\241\306\242\341l%\347\201\027M\327\026$t\220^\025|\003\025\t\001\036x\030\222\350\024\222\275\234-\217\032:\257oH\211\027\250x\365\301.\026\324\336\367\343\331Z;\207\247\204~\352\022\202}K\037\335\014?\317s\033;\021\266\373x_\321pDi\252\341hW\331pD\t\352\273\243\324\334R\356\350,\265\237\330\033\377\321\332p\362T\251}\304t\227\332O\262\223w\255d\336\361\335\361\243\263\241\363D\251\375LnX\367\351\343\245\366s\271]=i\210\216\226\326R\373y\375\252\341\300|v\342\202~G\227K\3163\2711\303Q>yJ,\347\272l\\5\035e\020_\331y\232\235\276\244k\206\017S\335W\330e\276C\311u\226\235\245=]\227\364\177\315u+\224w\347}%\327\025c\334\360\227\\\036\346\341}\203\306[\323\317n\004\n\301r3\216J\347\236\260\374\326J\236?\236c\347\256\233\223\354\326[\366\366\035{'1\351\317Rs\033k\353\325\273t\177\251\375\364\336nn[_2\234\246\037\315\337\223\270\335\236\244\373\365`\251\031\247\356\303\323[\343\205\311\027\272f\372\314\337,7=\376f\311\326v>\370\335\377c\301\321\320\321Yvv\261\256Ilx\217M\255\260\225\r\266\021c\261\255\262\323\225;\255'q\237\223\236\334\244\336i\\1\202%\347Ev\361\246\231\304u\36729\334\2018\266m,\231N\313_v\366\353\313\206\257\344=`t\263\253\030\227\237,8p\236\376\021\263\331\364\233AS.\367`\025v\355I>Y\306\264\214\376\302\030/\367\\\322\323D.\350\023z\262\324\347e^\342\033\236\256\030\023Xu\240\241\267O\177h\204\315\263f\332\232\260\322\371\361R\337%=\213\025\003V\267\245\340\325;`L\263\341\251\302x\341E\021oW\214\333$\351\322\3000\033\246\263\022}\230\037/\017\014\031Y\253\311\032/\r\217\262\321\337\3632\247t\222\221\333\326\025+x\250\331w\315\274b\006\313?Y\235\257z`\227\n\363\256\233\343\304\231d\251\207\364\3565\273;_\244\313\031\255\206l\244\315\ts\333\nZ\221\374P\301SX)\216\027\247\331\3022[~\317\336\177(\203}\263\246\243\004v\320E\331%\250\201""\325l=\0073'\362\351\302oEwq\240\270\316\226?\260\017\037K\336!\2545^\366p\326\201\321\335}\366\303\257\313\227\267\362't\375p5t\237-\365\\1\356\0302\311q\332h\206\005\341\241\366\007\2425\024s\022*\205\023\3367\246\315\026s\331\362q\261\335\266|e\233b$\353#\005\366\010\035$\341\262K\223\270\263l\313\365'ZV\022\252\301\256\334\261\356p\001\367<\312\007\230\337\266\027\266\225b\251,\313~\251\256\300\247\374\177\344\367\001\316\301\234\004\337\311\310\322\271\361\222k\310\310\230\263\371\346\274\237=\376\314>\377\301\376\220\312.,_vu\345&\252\266\322\335\223\313\n\366\302O\225{\341\334J=\275\265\177g\317\353\003z\304\270i\271\255Q(ee\320\025#\204\333\342\355\256\260\264\327\306\216)W\036\024(w\017y\207ah\3562\224\372c\241\255\220)\276`K\241rm\201 \335u\222y\357X\343\326\013Xh[\341\037\266\374\221}\374T\352\363\031=f\027\354\212\273\224\331\242\277\270\314\026\321\363'\373s\235\255\307Y\374+\373\372\255\3347\004\351UV\342ZqQ_5\332\214$\331e\332xb\371\254G\371d\311KJa8\014\267\230 dsA\177b\016q\263\235dO\341g\305\342\320\211!\343\037\353}^\316\357\024\340#zK}\3754\271\005;\2004\263\001\3625-y\361f\314\343\340\263\205\226B\220\\\3130\230y\212\364\235b\017\230\346.Uv\032\257h\032\310=\363q\336A\202\352\241\276\t6\021(\204\212n\366\212_\273\347\002\2730i-!\216\330\023<\343l\374Ya\240 \263\027\244\"X\221\235\273m\rX8\332mv\373Mq\211-\320\336\275w\240\360t\330Q\370\003R|Z\344t!Yl)\006\341(\310C\372\321\322\006f\014\214\231\021\313\307\356L\027\3748\266\253\241\177\014\362\031\312\273\351\006^\304\254\2105h}-\300\275\214[\340\027\264\226\334\347P\301]\346\376\346#\024\362e\036>\207\334\323\300 \r8ar_t\317\274\003\361\333\355t\244>\272\366\r3\310\306\374\230]{\002SH\333\246\253\232~\2005\235<\320\342\"\024\034\372!TW?\"\210\213X\351\"mw\235\327}\244\277P~\237\001\036\323\032\302\002(*w\367\353!\303c|\206\312-Zi\366p\201- \216\"&A\270\nS`\271Q\314c>\341\000\304<2\210\356\001D\315I\334.@q\244_\377\303|\002\273\273[\030*\236c\013!\026\"\243#\t\t\221\202\235\245\236\001\343\265""\371%\357\346g!\217\327\223\373b\364\231o\251\253\237\365S\314yT\330.\006Ex\231B@\351\271J\276\354\002B\037\324\347\2329\310n\276\206\003x\316\026\311.\205\312\216\223aCc\037\345\3754o\227f\365#\242\317\230!\253/\377\251\350!;\200\277\300\235\252\326\2402\365\013\373\3627\373\373\353\217\363\r\275^Z\205\216\323\253\267\350K\314\373\020\316\343K\021\206zI\027\007\027\341\215\300\311r~ \037.\270\013\003\3549@\000l\340}\251\357\2621h|ew(\310L\027O\263\267\320:l\004\316\255\221M\236\243\260o\005\351\312\223\272\203\230\361\205\254\n\nw\213\263\256\033\322\3070\217!a\330\247B7\231\020|w\255[)L\024\376e+8~\230\205#\245\372N7\371\032\261\024\205Fnt\3578;\271\251\005\330\010\230\222_.\214\024'\271L\3014r\302\244j\375\254\017\310\302:\227w\224\273\241\035%O7\367\372\360\376\326\335<\014C\210\303V\232\036\335I\256Nx\2671s3\357\311\177`/\260 \211\230,\367\026\242\373\023\010\336\326\203{\3349\335+\334-\372l\351CiD`\263](\326d=\303\246\303\354\301\021\310\306D\024\024\021\347\241\0211}6\330\300\005\010,\236\313\205\365^\343\262\341\207\036\270\316\346\024\375\021\033B\027\216]\346\307\242\305\317\346\336R0 \264H\256\032l6\256\362\260N\207\372\000{q\271mH\312m\002pn\200\r\334\265v \000\276\355c\3029\260 \230!\302\335-v\353Y\301W\230,v\260`\222%\021\266\26424p\300T\363\301\332\003\364\223\316j\257H\274\342\226q\021\316\177\020q$`\201#\267\254\216|\027\235\325vm\023\\i)Z\335G{\240\340\026\221\t\360U\340\024!+\322\2372iv\271n$y\224\211\243\307\226\006\256\203\357\217\005d\033\306\336/,\216\265v\201\233\0348\206\227\272\357\300\013r\243\271g\336\267\374l\222\214\311O\020,\000\256y\257\032\253f\233\t\177\207]\361\220\3157\261\207A\026\\d\213K\245\341\033\204\000K\303\327\341\263\204\031\254\"\366d\331\302\022[\212\262\350_\354\257\315\322(\301\343q\334t\024\321\2514z\003\260\212\304A \314/\266%+\363\r\033\273\3467\030k/\335%c\276\344q\254\031\266\323\214\263Pt3N\231\262\231\261f\362K\024'\310\333\215\227\217aWi`\304\354\205\373\335\311\257\027\376\240H\t\006\321&\203\303F\232]\2478""\321]\214rg\306\215g\230P\rg*\331v5\254\335'\225$\307\354 k\276L\311@\211s\372_`Y\362\354\003\203\304$(\237\230\214y\377\032\353&\"\250\317\270h\376\223\017b\367\267\024\251!\013\201\031V\331\352\032[\023\210\007\332C\241\327v\335\227\2151\300/[C\222\025\370\361/n\374\025\276\023aK\004\272\377\367\365\303UOO,u\010\035\177\202\374\346\021\270\025)\370\004\013z\373u\t\350\376S\376,\360R\005\352\335\207\201\363\370<\300\231\331\177\237\340P\271\357q>\004\356W$\361\214\026\341\362dC\360\366\313$\355N\200\307\313\203l\220\253\314\000p8l\327w\033\220a\235\257\347\033\000\300\030\000~xT\320\2127\331{\210\345si\000q\205\270\375\004\361'\304\356\277\002b\373\213\275\303\005\241\325\244Y\244\330\225\004C\234\211\007\275r\357E}\335X\206\035F\254\233\360\310\243\305\010\207;\224\374\221\021OR\202S\352\271\203\254\203\270\014'\237\344Xa\302\232\262Ry\017{\014\377\315\361\201\270Vy\377\265p\354\207\354\001\"\305\206\270F{\203o\222M\274\246\034b\210\r\335\207\347\035\020\226\201U8\006\032\030\022\\`\313\210-\t\333\213\354?pE\346$\220\007@\202\036S\202w\376Tt\013\354?.BD\263>\203\2763\000\275_ \205\267\200\034oa\026\036\212h~\\w\304z\000$\005Y\356\340\366\301c\315E\370\"\212Ld\311;\340\177\250p\026\340\246\271\370\232[\303\347\022R\005\241\376\034A\303\017\237g\017\337\024C\270\024\017\004\000\023\346;\353m\376\005\224\242\367<\205\302\214a[g\033W\333\376I0r\207\375N\360\200\244\304\321z\004\370\360<\242\3477\362*d)\276\253\310\375\334\365V\357\003\010\013\360;\221\205\261\241{\354\336\253\242\2578Q\314\"\230\376p6\014^c#3\300\355W\331\002\017\257\025\267V\256\354Mv\352\344\247\373\300\236@\010`\371\212\035\004\035V\017\364\030(\224\330\356\343 \231\367P\244 *\336\215\323f\322F|A\021\224x`\276\240\3373\036\303t\\<\351!$\365\177\021tJ\"\350\270\251J\360\235BY\207sob\357\033\300\315\027(@\210\215\373\221\324\004\313N\310\253\334~\302\356\372\007\320\305\303\017w\322C\355\247\3670\267\324N\033$y\245\246D\305\010\252\220L\233\255\020>\245\326\333\360\022\021\204\340\236\212Z\276-\211y""\225=\223\245\375\233T\336\3359O\356\023|\005:\356\346\256\344\202u\303\376\325e\2756\355\267\\\017\317J\235\335\271\367\272\314.\221'\252v\336\317\275D\302\3510\316\"\334\264Y\225I\342\000N:\300o\271\256\034\346\366\352\347\214\023\354\272\000K\255E\271\230\336\357\325\240Kpi\032\323\322,\275\313v\277\375hh\370\307\361\254\021\344Y\343Tc\311\351\3129u?\345jI\036\301\217\346AwQ\256\000\212\223]\271;9\271ZM9\275\227\205\205M\033M\210\300.\200\374I+\004\215I\362\360C\247!\300\314\2137%\027\024d\234\244`\361\310\376\273\321\005\375\367\0001\020\014\216\263i\236R\322\021\000S\314\2330\325\025~\245\266\342.\257A\301\306\250\236\303]\030\371h\\ \345xI\367x\3318\323H*d\037\260\235\247\235\340Rk\205K\263\034\352S \006\023\357\260\263\303\300%\317\201\313n\303O\362$\365.\360\032\327\266\177\001\216\251\230\363\030H\304\323\313z\351h\353\371%\366\224|\023-\350\022k\227\332\235{\317s\276\334m\010\372\014\274Q}\023\353\0364\026a\233\266\246\\\324\203\272L\335\203F\020\346|\0256u\206\273\034\234\363\037\364\255!8\336\265|\030|\266\241\343\274~\t)I{\217~\212P\020\025\316H\213~'-!\335=\233[\246\223\272\371\277\263\220\202\353\014v\034\027-\342x\\\257O\355\305\250\264\370\335_\252hz\035O88\347\345E/OS\235.\346\032a#\217\355\240\350\027\232\311u\013=\224\336@GN\"\243qs_K\215\034\336\010M\210b5\n\353\210Ge\252\301\235\313i\354\374\2509m\265\"\322\247\362\356:\276\"m$\314\263\006xr\227\360>\202\005\327x\202\306\010\000H\360\272\330\264]\207 O\320\315<\340Y\031\267\211\344(\200t\234\332\373\250\237\206\377\245\374\214_\325Qj\266=[\360\273\003\211G\313\251\275 \374LKW\316Wn\246\022Bs\347\336hn]\017\n\336\374\255\017!S\200\234\246s\2559\231,\277\356\361\304\336\355\275E\262iW\316!\336\226\360\340\344.Bo\324/\303H\016\016\257\016H\351n\342\332d\256)\307M\2026\352\265\001-8\262\255\007\313\356>\375\205q\337\234f\267\250\342\352\362\344^\363\242\235\037\230\3045fr\213\270\r\317\027@\336\362\301L\"\373\270\237\347A*H\232}\362\214\360#\225\225\257Tg\271\017\365\r\000MVw\375\351\214\256\334o8""\367\311\036\275\235[\257\363d\271\375ln\023\034jn\373\276\263\027\316\271\205\005M2Q+&7\265\314\316_G MZ-l\022\234\247]w\340\323\335%\261\237\255\243\354<\342\202XE\336\333\345R\347\365o\272\r4q;\027,7\267\034[\347F\373 \273D\251+A\245\226\223{/r\367\330\205Q6\372\0241\013\213~\345\346\nv?\314m\000\223u\303R\006L\271\354\274\312\256\202\265\205\030\220\022[\342\316\304\tt\362\214'Q\"f\014\031*\267xvz\310\320(\311\270\306\256Q\260#\327\356\002Z\231.p\003\351bg`\017\376\002\277\177W\356&\024\237`Y\207'\367P\227\353\254\243+w\037J\321\354\311\315\203{8\330?\271%Jw\215\223\346\n\322\265)\236\007\265\363L\017\341\256\035\332\017\360N\332\351\334{\242\373\330\205\353\242@.L\302O\217d\202k\005<\322\250S{!\346\236\260\246)\232\017\024\2678\016\203\377\376\n\207\367\315\361\216\374\336\273\306OD>5f\211d\033\277\021\371\3268\337\0042\337\264Dd\251)L$\334\264Nd\275)K$\333\364\215\310\267\246`3H\260y\231\310r\263JDm\326\210h\315s- s-\213D\026[\342D\342-)\"\251\226\245VZ\272\365-\221\267\255*\021\265U#\242\265\372\333@\374m\001\"\201\266\025\"+m\037\210|h\213\021\211\265%\210$\332\346\332i\207\366E\"\213\355[D\266\332\223D\222\355O;@\236vL\023\231\356\370L\344s\207LD\356x\331I>\277s\226\310l\347'\"\237:\377$\362g\347\314\t\220\231\023o\210\2749\221$\222<\221!\2229\361\312\t\362\3129Gd\3169\357,5;\241Z\343\271\347\372(\274\023\344\267\275\3676\027\340\237\n\332\341V\351\273\014\202\t\302\034\273\360\030\2601P\354\242:)\320\031\360(b\351\016\333\371\033+}u\254\020\333W\032?\023\371\334\270Jd\265Q!\2424F\211D\033\277\020\371\322\350'\266\373\233\236\023y\3364Cd\246\351\r\2217M\237\210|\252\210k\203\310F\323&\221\315&\225\210\3324O\222\231o^!\262\322\374\221\310\307\346?\210\374\321\274Jd\2659K$\333\374\224\344\364\264%@$\320\362\222\310\313\226Y\"\263-\237\211|n\211\020\211\264D\211D[bDb-\t\"\211\226W$\312W\255A\"\301\326\025\"+\255\357\211\274o\375L\344s\353\024\311p\252\355\025\221Wm\363D\346\333\026\211,V\204\256\020Q*BO\022I\266\245\211\244\333v\211\354\266\375I\322\376\263}""\235\310z{\214H\254]%\242\266kD\264\366\025\022\372JE\005V\211\254v(D\224\216(\221h\3077\"\337:\246I\005\246;g\210\314T\324c\201\310B\347g\"\237;#D\"\235J\247\375\325\n\236\200gf\010|\037y\336\377\256|\240-X5F`5\017\003FGF5S\364\2607HR\200G\200\253\240\010\273\277\254K\372]c\310\3546\303\226\207M\316R\002*\252\276\260\3558\213gX\346\013\373\262\017\241-\020Yh|K\344m\305\336%\"Rc\230H\2701C$\323\370\225\310W8\201\332\335\236\002\205Q\266\363\232\027\252\244\362\201\266w\373\356\246\177\244p\364_\\\304\372@\tBmW\252\344\310\310\2206\013\347\212\216\362\376\026wmK\367\377n+wm\203Y\262C\0002\260.\314\302T()\037n\216\374_\354t\003i\203\333\032\312_\240\217]\345\375-\376\377f\003v\341\006\257&Vw\270K_\360\220\023>\244\217*+\345\375M\362\177u\007\372\244Pw\007*l\372\221w\276.\354\024\345\362\376\226$k\240/6\235\024\223\220\317\344\350\033tOC\313\351=\354\320\202\255;\272sS@?\220\"}\330\340I\311\014\002\\\013\362\351^\353Z~\212\227#\000\003G\364\373\274\304\343\352C\256\035\024P\310\301\221\"\322\t*\t\002\375#\244\".#\243\347u#\027p?\017\361%\327-v\353yA.$\313\224 \314Q\321\201\306\355O\021\026y#\274n\246\014\254\353\361\032\215<\021wP\371\275\327\274\206T\035x\335\013\360\340B\246]\227d<\300i\305W4\376\225\225\206\237\245zA7\025\202.\020\372*\343\341\2749\316F\t\341\323G\365A6\004@P)\265\213\264\237\303\260\363\204\036\r_\271\366\200\346\262\213\227{\220\221\271\t\036P\005\201\026\247/\262\355\226\203\215O\027f\331\002\254\233\222\372\352V@\275\t\226H\226\354\222\031}j\007\322\267\256\362\272m\017\345\tq*\340_\342\325\216\336\253\342]T\367\2679\016\037\245\217\\4\271\275\243\344\244\"\233\023G\321W\221-b}B\260\035\200d\200S\227s/\220\243\021\206\347I\367\n\211\310\223\363\023\370\003\312-;)\205p\272\231\2330\310\206\245\344o\303\355\311\342S:e\260\306\260\351\343_\325\351H\033\300\225\237\013\203\274r^\246\306\207T\231,\003\024~\240\203\000\336\t$\3632\317A\324\000\375\332\240\334\316\3014\266,\t\r\242\3028Pt\345\225\367\272sn\373\027\010\325\037F\014T06%\326@Z<\261\243_H""\224\233qk*L\234\310?,lRi\245\271+\367\204\316ir\010fc\303q\313\315nO\027\346\250h&\226>j\"\353\272m\rs\035\254\315\004\352c\317\340\327\251:\375\323\251#f\017D\346\253\233z/\357`\367\241\250\274z\365\263\251\327y9\337_7\025\226\300\036B\353(\301\375\311T\340\315\227\034L\326f\002D\232\263\371S\205\237\357\370{~\203,\254n\336\233b\220\315\t,\371\232\002\307\353\306\331\306\237\355\374H\337\345\366V[\001\311\204\371o>^\364\227*?\037\241\"w\253)\263\006\262\323\037.\236\206\225\232E\371\270\245\375{z\357\261\336D\277w\351\302\002\303\260\037\216\244\317\0012\207\214s\246\3030;\377\331\300e\203W\020\257\032\313\354\032\325U^\0273T\216\255\025\251/#L\234a\327\351\007\016\236!#\303F)\361\000\253x&\341\341H\237\252\r\225q\274\232\320\243\237`W\340\t\351\013\207\\\026\337\234\351c\322\307\242\243\3247\310m\323;_\374\233}\200\267Xck\340a\226@\243\303O\342\3617>k\244o$\276r\377Uc\323:\227o\311\207\n\236\3022{\205\241\353l}\213m!7\310\226\304\220\213|\250\370\2307\311kg\010'\223\305\266\342?\3543\367\276^\342\327\222\325b-\345[\330\343\005\0366qv\361\223\231M\266\231\"\350U\333\231\212\265\243\225\n~\2624p\0133\227\363\327\013KE\007\262\357\301b\262<0j\276\244\217r\364\365\300\0037@\237\336\253\303\202%/U|[\033\372/\226\274\364\353\204\312\347\221\001\376\001\226\223\023\260\210@\336M;\3354\251\332\350\273V\031\321\002\216\213\241e/\224\256\354#\377\276\234\367\2117Q\243\347u\310~\014\243j\322\373\274\\\256<\255Q\344\206\216\366\365\363\022W\331\005\346\033\273\346\337\374k2\025\233HR\031\312\262f\213\263\366\017\235\250\360\363\233%\263\273o\212+\364\005\004\372\375Xo\323\223\"\032\267\177\317\354\275\3429/\325V\310\325\365\351\217M\221\307\366\211* \346\337`7\236\026ZX@\224\341\210\351\242\000\230\344\205I\322\363\253\364""\273&\021!I\317\237T~\274\345\271F\361\333\362U\177>\001\005\247O\372\335\314C_eI\t\331\325\337\363r>S\260\313\307\235\310\356\245\374\033\344'\001\026D\324\302\206\320\207\270\375\271\201\233\347\377\000\255\311\263\306"; - PyObject *data = __Pyx_DecompressString(cstring, 8386, 1); + #elif (CYTHON_COMPRESS_STRINGS) == 1 /* compression: zlib (8359 bytes) */ +static const char cstring[] = "x\332\275ZK[\023Y\267\346~WI\023\024\0244\221 \240\210F\241\025/mG\210\210\"\227\020\300{Y$\005\244\t\251$\225\000\261\265\355!\303\0143\254a\rk\230a\206\031\356a\206\371\t\376\204\363\256\275\253H@\360\353\376\316yN?\335\254\252}\253\275\327z\327Z\357\332i\327\315\233\256a\327\324N\370\201\313\3652\022\215>p-\247\324\370\003W$\346\212F\326\223r2\343r%\345\210\246\204]\033Iu\307\265\027Im\241/\265\245\270Br4\272.\207\266]\232\222\242\361ZF\033\303c*)\207\224\261\266ie=\275\271\031\211mbJ4\352ZW\\\341\210&\257Gi!5\211\005\"\032\376$\0259\354\032\036N%\025\005\353\313\233;J,5222\32666\026\211\355\312\321Hxl,\236\t\335\362>\n)\321\350\243\250\274\263\036\226\177{\264\243\206\323Q\345\267\047\376d\022k\361\275\306\224\220\034\332R\306\360_h\233?\016\017&GN\030\260\251\244\350\005\275\243\256Am\324\265!mF\325u9\252\215\314n\306\324\244\342R\366CJ<\025Qc\256y5\246\314\253)W\232\216o\235pG\215ERj\222\016\206](c\350Wp\0209\345\232\312\244\2660\t\347\n+\320\235\222\224SJ4\343\322R\311H(\245\320\221\345\230k\321\277xs\374\376\270K\216\205]I\345\017%\224\322\\Zz=\024\2255M\321\\\352\206k=\035\211\246H\305\231\270\242\215\271f7\\\0315\355\212)\330BJu\3051\256z\002\014\021\343\006 \213\014\311\261\230\232\222i\357\022\246c\217C\320z\022\037\211\354*4\373\031\216\251\214-c\210\362\200\354\214Ci\221\260\342\212\304\305\336\311\244+1\262\022\215\336\244e\325\370\216\252\245\3108;\212e92\332\003\256;\361<\206%b)\321\022\t\017\213\306\021zo\233J\047\223\350\023\3235j\032k\233\361\257\372\347\203\322\362\312\342\342B Hm\357>\016|\270>0v\375wa\001\277m\200\367R<\023Vv%e_\tmD\242\n\240 Z\302\322z:\026\216*\267\254\267\020\337>\272\367\345pX\202\016\024\013l\n?\314f\010\000\346Oa1\001#\255\231\034\255\361\244\032W\222\251\314\030\251\201\237H\342G\"[\022\006\310\366\022\264!%\225(T\207Y|\224\333u\263J\033\351\324\306\315\373\276\271\271\251W\323\322\262?(=[\231\237\n\316.\314KO\003~\337\313i\377\323\225\031i9\350\013\004\253\036\245\3057w_\372_O\371\027\371\310\340\233E\277\364\3347?=""\347\237>\326\272\262\354\017H+\363V\047\267\34335\271\275,o(sjh{vf~!\340\227\252&\371\250\345\225\264\350\013>_\2260Kz\352[\366KS\013\363A\337\354\274?0\277 =\013\006|S~:\337\342\233i\377\352\2644\273\370&\370\034si\220\377u\320j\305\227\245\3457\313\322\253\205\371\331\340B`v~\206wH\317f\347\374\326\204\345\225\345E\377\374\364bf\372\251/\034\216\220\351\344h\220kf6\266\241\236\326>&A\241\341tH\261\354\047I?\031\t\214k\204\333\1770\366GK\235>6\242IZJ\211\223\257\234:\210\326\263\374@\342@>ud:\036\246-\332+J\021\353\364\317\354Y\374\341\344s\333]\047\036Tt\206UiO\216\244$-\255\305\225X\270\322\201\310\002o\220\020\247\222\322a\370\252tc\311\037\347p\344K\360\223\270\234\nm\035o?\\%\340\017\256\004\346\245U\337\334\212\177Y\232\236\235\n\002\271A\277\024X\231\027\017\226\361-w\226\204w\023.\247\020L\326\222r\034\256u\354\365G\005\3748\340\0075\034\037BV\331Q\320\027\226\324u\n\244\024\320|Z&\026\232MQ\354\305\3369\300\245\305\300\302\242?\020|#\354d\375\245C&\253\237\177\334\323\261\336\0376\024T\343s\312\256\022\255\0367\257>EF\344\212\374\017\335\047|\357?N\370\267[\020\310=bgi#\035\013\375\247i\307\246\000\\R:&0\026\256 C;i\231\205X4\263b\217\365\3777C\377\231bN\237\374\217\224t\332\364\177\241\260\323\226\020\323O\324W2\255P4\235ZY\016.\274\342Auj%\020\240d\370,\340{\005\367z\345[\224\202\311\214XmJ\215\245d0\225\344\302\372\037\047\267\376\250\252S\307\375\240\025\212+\373\024[@N\244ye?\025P6$\311\"\020\n\365\257\253*\346\300\333\252\037#1,)ID\024h\014\247!\024p#)e\207\032\302\264\034\376A\366\244qx\330\217\360\006R#\311M{#\370g\007\033\344\222\3239z\212\001~\\*{$\220\320\361\251x\344\360\231\310\235\226\336\021oIEKGS\342\331Z\223\036\2118\211\247t,\036\tmc\345\323\002\366\t\303\270\007\034k?\026z\216\365V\203\342x\327\317\035\355\037\214>\005e\307f\236\002\032>h7E\304\2074\230H\313Q[\301\026n\244\037\021d7(\373\364B\251\303\236\243U\231\356\004<\245\024\215,-s\266)\311\311M\255\n7\307\021\024\022\304P\344SM\300\206h\336\t\311\333\342\347D\353\"\033\031I\333""\216\300\010a\236d\261\230\024\005\375\021t\215\222yHM\252i\320g\245:\263\003N\373)I>\004\000\317\313\022H<\352\023\274q0\013\246)h\345\221\2271\353M\223w\361U\001U\355\350\010\361\202\017Z\033F\335\262\253\2344$\252n\036%\260G\337\306\354\267LJ\t\241\270\220p\222\250v\362\230\220\272\263\203?1X!\226:u\314\317\273\205\351N\354\343v\371\331\367E\027\301\243J\257\326\371\271z\311.\362\272\006c\242\003\241T\344\221uYS\320\252F\323\300\016qz\002\027V \336~\314@\324D\247\3044z<\214\243\340bb{\307\307\3072\366\006l\303\223\273bv<\036\315\360\217i\364\227\330\001o\301:v\275\n\264\022`e\242\017\021u\354\020E\032\355\227\266\270\216u\267%|<$\2477\267RUQ\375\260\207\263/D\271\023\007\304\325\010\354@H\013\3111\216aH\224\222!\016\354\344\016 \363\031\360\2625\302\003\035\255\241\211\047\221T\300s*\345mh+\022\r\303\207\244]9\031!#\207\242\034\36611\230*\363\320\016V\204?\252\311\014=Z\036\223R\017_\324]%\031R+_\245\307\244\306\353\343\230JoQyS\203\024\235\321(X\026\354\231J\047c\\\343vS*\231\261\316k5\357\304\261\"\320\047\354c\303\220+<\225\344\257\311t\210{x$L\255\310\"V(\010\331\361\213\0376\211\371\320\020\005\013\036\341Ci-\245\356H\333\n0\270\236\336D\216\266\352<~f\030\374\030C\026E\237\335\251\304\310\251\320\254\321-\006\"-r\324~H\342\3669|\260\014\\y\047\263\322\033\235\214\244P\216u\\z9\264t\005\241\366\222\325\257\034\001U F\226\302[4\035\256\"\333\360|\013\241v\311\253\354\307\221\3464\364mlHd\323\r\211\016qxi\261\301u\027\331\260\266\265An\307\2339\0106*<\304\266\261-\271\332\t\341\322\336\026>W\205W\204n\300\210W\342\341\352\321d\000\256\205\215\010V\244\251)9\231\3226\"\373T\035IQJ]\026P\311\323+T\212R\377\206\232$\000#\233UQ#\336\235\344v\027\361\206\003\233\314+^\0058\252\372\311o41J4\034\345jtC%\3340\022\213\243\036\047\312\301\317\214\207c\206\220\354SU\232\260a\3323\305,\036\256~\014\\\022\377\000\3772\215<2\025TH\343k\342\244\334D\274\315\312rv\\\014S\343I\270\240v\3225\207\005\275X9\217\303|SIR\023\301\047I\301.\221V\322B\307\034\303?\024B\324\240\355""\3006\025\217\267\203D\325\t$ucC\023G>\262\275#\225\356)|\330\272C\2636)\254Ve\241#\355\274\305*P\253\364\177\030\035~\354\252`\336\352;\324\330\211u\356\226\254U\257\006\353E\323H\354\307\365\254Uu\361H)Z#\2210\047\017\002\360\325Y\206\216}\274\225\247xu/&Y\213\300{\020J\244\343\303\254w-\243\021-\346\024\230 \201I\361\244J&\222\020U\343\n9S$\206}\313\321J\204\217hGR\225d]\\\241\331\216\357V\354Y\247\014[\325LQ\370\260M\335\344\272<\306I\360zBa\302[\367\340\324\364P\235\304\210\324k\177\374\201\240+\211;\340\355=\312\222\375\362\307\342\310\034\204\307\370\362\261WM\334\"\237t\227Lq\312\256\274\371\257c\307\251\267\306\261&\000\007nO9t\017i\257*\204\357\021\247\025\372\240Gx\370\036X\266\222\\\314,\360\030\352\272>\\y\034u!\207\270\254\033\026\302\257\255""\230\221\232\252\361\202\315[\303\240\004\311;~\254\312\365\336=Zr\236v\037\363\323/\326P\317\360\251\335\247\373|\315\t\305e\315\311q\255\346\204\"\362\357\332RCc\271\265\255\324\322~\340\375\336Ts\346l\251e\304p\224Z\316\2603\367\314D\276\226\006\\`\027n\030\023\354\366\032[{\315^KL\372Tjhf\315\275\271\256\234\257\324r\356`?\273\233[\326;\014\037\232\377N`\356\201\224\363\345\226J\r\355\254\275\017Ok\372\214\341\245\205\206\364\204\321d\310\364x\335p\033\277\232\016z\274i,\031\033\246\217\036\307M\237\271\232\347c\1775es7\277D\217\217\363K\371\215\002\0370[t\024\257\261E4\227\033\256\344\022\314u\333l\317?,l\263\245@\251\241+;\231{\256\373\364%\332\307\227\354\275\234\273\324r\303\360\032s\371\263\005\031\2739\360\2362\355Qn\037;\253\255\2326f\310\306\267|\254\350\373\331\264\047\3720N\341\255\232\3465\035\354\316ta\236\005\226\1772\221u\215\030=\246\303tW\315\274\237\257e\223\001\026\370\304>\311?\235z\303\270ozM_\325\324\007y7{\270\312V\303,\254\374t\352\035s8\357\316W\357\327Wp\260\247\230\227dI\355\247S\177\313o\025\344B\242j\352\253\342\022\233\377\362\275\246\346k\355\313:\210\227usu\326\022\337[j\032[\376N\037\274\310\206r\016\002H\002\310j\355\313=\206\212[8&\246r\211RG/\353\275\311n\376^hd\376\017\354\303G\3661\304B\3412\2008~\220(wte9\036\257\301\232\035\235\254s@\367\226:\241rv\225\303\262\344\274n\014\221\n\313\035\347\016RY\364]\310&\276\237\255qt3\047PVr^\310~c\327~\313\313\371t\301W\352\271\224\233\320\333\214\001C\312\277*v\025\375l\351\035{\207\017\356\260\235\030>\322\357\301\342\207[o\273D\307sd\235\331\245RKg\2669\233\3105\345\242\0067\326\356\301Z\326\237s\002\333-\277d1\n\037-\343O*wO\037\202\327\010\370\237c\347n\032Aln(\177\2510S\364\226\217\266\370\376\317\2762W\234\206+\260%8%T\367\007\373c\273\374cs\370\277\377\334\023Rq\345s\267\315\006\270\347Z\376ea\257(\227\217\266$\376\353\257\260K7\2155\323W\371\314=3\225\367\346g\n\017\213\233le\265|\264I>\366\235\327\271\240~\311\2306k\377\235\022\273\215\220\3514\337\346\367(.\330\037\276nx\340""\365{\346v\341B\261\266|\264\305\361\343w\231{2\357d\217_\025\203l\t.\264\305\266\366\330\336\237\354\317/\377\305V\330\304\\q\206-\303b\000&\002l\214\305\322,\375\231}\376\n\317\372\253\366)9\330\323\272E\022\213uk$\326\352\336\223x_\047\221\220\352B$Bui\022\351\272/$\276\324}\255\253\234\356\367BC\301WX+\276dk@\276T>\326\366\372\350\001Y\367\375|\003{4_\014\263\000\366\003\034\tW\367\321\302>\373\333\237H|\302g\250\257\316WO}\365\313$\226\353\327H\254\325o\222\330\254\337&\261]\377\225\304\327z_\003\215lX!\261\322\360\206\304\233\006\215\204\326\260Gb\257!\320\010\021h\\%\261\332\230$\221l\334%\261\333\270\326DK7\275#\361\256I#\2415\355\221\330k\3627C\370\233gI\3146\277%\361\266\371#\211\217\315q\022\361\346\024\211Ts\240\205\276\320\262Jb\265%A\"\321\222&\221n\231n\205\230n}N\342y\253LBnUH(\255sm\020sm\213$\026\333>\221\370\324\026&\021n{\325\016\361\252}\211\304R{\232D\272=C\"\323>\337\0011\337\021 \021\350X\356\370\027\036\3628\277V\360#p\301\257\0013\225\251)\226\"\260\221\221kWI\373\253u\037H|\250[\047\261^\247\220P\352\"$\"u\237I|\266\r\364\214\304\263\372Y\022\263\365\257H\274\252\177O\342}}\210D\250~\213\304\226m5\225\204Z\277@\226YhX%\261\332\360\216\304\273\206\217$>6\254\223Xo\310\220\3104\374Nv\372\275\321O\302\337\370\234\304\363\3069\022s\215\037H|h\014\223\0107FHD\032\243$\242\215q\022\361\306\027d\312\027MK$\226\232VI\2546\275!\361\246\351\003\211\017MSd\303\251\346\027$^4/\220Xh\016\220\0104\257\222XmVH(\315Q\022\321\346\004\211\204m\373}\022\373\315\237\310\332\237Z6Il\266DID[T\022j\213FBkY%\243\257\266~ \361\241u\235\304\272\215\204\010\211H\353W\022_[\247\t\002\323m\263$f\333\216\242\344\003\211\0176J\224\266\212[\"\206\200\335l\026\336\261E\242W\345cm :\337\333j\032\233J-\027s\327t\221>/\345\356\346\344R\307/\3311\275\266|\346\254`m\235W\365kFm\031\202R\";w%\247\351nLu\014\330\031\263\363<;O\324\256\363J\356\233\261i\006\363\216\274\273DyU\367\225:\235\314\311\373\006\3655\303\307n\372\013Ke+!\266\325\264\265\023 =Y9\233(\361\354\374\025\264""\257\343Rn<\227\320k\253F\014\347\3349/\301v\337\352\350\251i\326\347E\226X2eZ\341\001v\213A\320\022\273\376$\237\240\341\347\211ht\227z\334HA>c\251\214\207\213\206\227\215\"\367\006\310\022\203l\010\264\354-{\213\240\376\236\326\360\226\234\375po\347\305\334\220\356\200\241*\017h.w\366\347$\303\367\275\243\306\341\314>\314m\202\370\320\342Wr\031\243\305\254e\336\351\302\034[D,F\004\210\034~\n\304)\316\342\t\032\226(;9Q\007\2536\257\345\233\261\305\236A}I\217!\267R/`\322{M\274\343\261\273\007\234=\210o\217\032\262\230\334\322Z\352\300\261K\035\330Jn]\257\245\365\241\367l+(\034\260v5;\003\343v\2721\345*(\366*\231\310\231\365e\211\235ek\313\035\347\263\200\244\2039\210\314o\231J\376\016\020\214\2263\245\316\356\354{L\002S\306#\353\246-m\001~\037\n\203\205olu\255L\215\017\221\335}\345\216\356\354[\332\010J\017Q\022<\317\323V[=\004\3212\242%\340\217O\226\004\202.R\246\3528\260_y\257#\353\260a{\261\246\361\354\301\0221\321\256\254\273\334\000\267(5\264\035\214f7sK\264f\347\301\237\244\3722V\230\3166\thW=\266\037\3349\010\034$\370\331\304\3332\241\260+;\016\014\327\345\256\346|\345\343\303\017\007$s\016\001\333z\330\033\354\224>\324\013\"\241\002X`\251\273\260\264\243/7\243O\032\323\35469\032\364\370\022Fn \014\225:Qy\020T\356d\327r~\335\251\2775\022f\2759\231\367Y\320\351.\237\371%;@j\267W\0368\234\345\370\241\317\003M\037~\365\2473\272\262\277b\337gzr-z=\330p\307\231r\313\371\35464\204H\265w\020\312:Hk\035\007\023L\204\210\022\214\265\302.\3360\306\261\277F6\201\272\214\276\272\307\031\277\370\036\305\245\3634\350\256\351\025\253\310\007\373\354\002L\313\253K:\rJ\203\335,\"M\343\251\341\r\355\203""\354\nwo\254\327x\346`&{\237]\032e\243\277\027j\313\225b\244\375\340av+\027\322\273\3650Q\266r\3075v\r\252-D\271\263\223\007\"`\261KO\013C\330g\047\235\345\314\220\256\232\244)vnH\327\014w\271\363:\273\276\002\302\tL\"D\262+\323\005\016\276.\366\013\302\r\352$\376\222\275E\356J\217\344\2422\331\371\327l\0270\331A\265\247\257\334\340\314.\350\274\300\372+\273\234kD\3108c\254\242\\\2332\367\340\r-=\271\016^\236\266\300Q\207\r^\047u\034<\311\271\331%\224\251\177\373\010\202\317\262n\330\376\275\376\213~\377H\023yN@\3377\022\324v\366 J\261\366o^}\047\204@\021D\017\034\242\274\232\307\236X\027\205\367i\252\271\215\2249N\365t>\014\035\364 @\261\000?\252\275\000\371e\330\270f\326\232\277\230\017\362\3344\177!\020l \030\3373\335\177\373\204\371\351\260sz\003\226l6\022t\350\273\354\3740\220\373\314t\233w\270:\261\017\262H\047\355\343\233.\227\234\003l\3401\205TT{\023\210\245\233\371e\366;\005H\341\205|\327\364\350\312\245\2408\262\277Ko\326\023<\342C\361\217y\"\\+\372\252T\215\036\204!\362\3153<\204\rZ\303=\272\337\000\204\261\251l\004\253\215\353\337\3605\300\376\014\001Rc\027GQ\0474\231\262\231\314;\252\366w\201C\022\321f&\177\257\340a\317\336\2607T\215\226z\372Y\377$r\344P\241\213M\003\030h\177\213\215R\2019H\211\351\354A8K\t\266\365\354\301\273\3349\312 \364\322I\332\244\207\016\252bIC\336\262\2253y\315\313\337\251\200@L$+\335\263\275\317\032\366-\047\347*\323~\315\366\360;\0268\333\233\234\314\256\360\215\331\235\223\331\347\271i\304\351\363z\306l6\355I\347\2527@\037\375l8\215 \363\372\nN\204\232\243\373\371\0135)\362\033y\203\363\310\334\313\260\274\3747\245\"\313\346\330Bo\356\202\336\316nL\025\274\205\351bSQ.\246\3302\030\213\250\334\327\331z\204EPNkLCj\335g\373G\n\227\251:\262V\007\034\004\000A\002?\025\230\335EX\2043\013aG\304\001\252\223x\034\315\344\032p^\nN\235\300\324\004\010\314\371|\002\005\214\330\rV\275\314.\337\002*)\367W\345\355J\346\047\370\305\3304\217\006\235\374\022\306a\334\002\325Z\345Gj.\356\363\353\255\367\354=]\2440E\034(A\205G\355s:\307\363\272""\331:\n\300\326\006m\237\373~\276\246\365b\356\n\335m\364\344\316\302\211\370\305\026\031\36772\236\025\006\311\047\034\374_\312\224\235 \370tia\005#\0136\213\2655\255mer\333\ts5\177\237M\301C\221\355\243,\272S\206\376\316\3458Grf\047rm\372\000\335\213\210\023\223R\3230Q\0471\257]}\331\3500\241\350\376\334\nr\036O\300\254\333kv\231~6\211\263\201@\320\361hW\027y\255a+\370\266Y+\026\232\311=@\244I 8\201\207\374\312\361\347\274\214\210,\376\270,\022T\356\026q\372\244.\047\034\027!\233\373\376\2709\235\257\205\3039/d\277\352S:\235\240\367\006\270@O\037\322[7\273F\241}\242PK\2670#\"\005\"|\367\330,\013\224&\233F\256\364\226\301QR$\270\356K}\2601]\020\342i\000\216\236\370\356\251\351\355\313=\324C\306y\216\247\024\330`\337\025\236T\375f7\350\210\267\344\362\350\323l\230\340;S\304\333\200~\207\3471\3170\033\246\275\222\004\r){\206\340N\365\246\2674\214$\363\033\2026I\332\311\310\035s\000\021\356x\263\373:\245\323\362OV\347\253\036\373\212\255<\204}\322\014\247jk\306Kvo\241H\207\323\233tYO!\267\356\002\262a\204 ga\265\350\245\362\317\nDe\250o\016\210\203:\350\240\354\n``6\230\317\240\314\361|\252\360k\321Q\364\320\365\t\307\272k\010ky-\330\022\367\353\263\036\376\271}y+\177B\327\367\316\232\356\363\245\236\001\375.\342\04762\215\204\340\243\207\312\037\230VW\214\t@\n;\234\204\2437\032+\246\233\233\355\216\351.[\022#Y\037\001\330)0H\306eW&\270\347\n\273\376\004e%\001\r6p\327\274\313\r\334\363(\357g>\313_\330N\222%3,\363\371p\005>\345\377Q\337\3074\007w\022z?\274\260\034\322\323\306\\\276!\357c\217E\020\225\312\235X\276\314S\223\355+\340\351\031\241^\004\314r/\321\330\236\336\312\277\347/\346<\271\260~\013\224\177\024\240\264\007\r\240\252r\320\333=\341i/\365=C\266\037\024\200\273\207\242\3030\220\273\002P\277+4\027\322t\375\024,W\026X\342\227\246\314\005\362\206\3148\201!\177\261\025^\307\364\271\365\036\243\013~\305C\312\\\321W\\a\001\364|b\2376\331f\214\305\276\260/_\313}C\260\236\275\022G\305eT\025\224\331\373\310\223\237\2000-r\256\220(6\026\227\020((B\372\320B\365\232g\314\010\233nv\027\324\023\333\356\254\351\037\203}\206\362\224!\372](\332\303\346\240\371\245\200\360\3425\241/\240\226\302\347P\301Q\346\361\346\035\000\211\212\251\344\241\360\344\031\244\001\355\006\217E\367\215\2730\277\325N[\352\243c\203\365\2601\020\333r\345\tJ\311pvW{\262j\332\370M\003\016B\311\241\037F\355$\026OW\357\310\276@{\047\212\262\262\250s\211\2419i\r\341\001t-\321\335\017\272\346\324?\000r\0013\305\036.\362+\017\344$\030\027\371\226\352Z\314cn\021\000\304~\315L\264\216r\316\243\302nqI\244\027\"f=\327(\226]B\352\003|\256\033\203\354\326K\004\200g,@~) \353%\307\006b\037\241Tu\362K\016r\2435}\026,\252/\377\276\350$?@\274\300\231\016\275Ae\352g\366\231.\205Q\220\366r\216K\333\351\245\322\200\271\036\"x|FAB\3657\337\270Hot;\263\222\367\344C\005\007\021R\220\000\370\300\233R\337U0\335/\354\256``\347\330\032P\207\017As\033\344\223\027(\355S\261\327\005~PK\312\370L^\345\242\237rHu\335\260>\2069u\t\303\336\027\272\311\205\020\273+\335Ja\234W\344l\215_\253Tw:(\326\210\245(5r\247{\315\325\311]\315\317F\240\224\374Ja\2448\301m\n\245Q\020&\250\365\263>0\013\363B\276\266\334M%;]i \352#\372\233\367\362p\014a\016\0134\274>\262\243\333\230\261\rr\366\226\315`A21y\356md\367\047\274\210\3438\270\317\203\323\375\302\275\242\333\262>@#\022\233\025B\261&\353A\251e\364`\013\344c\026y\343\031\347!\2215\213l\340\000t[v\001\005l/\277\341X\"\246\246\344\036\261\241GT|w\227\371\266h\361\363(\315""\221\014\014\253\212\200\232\365k<\255\323\246\336\302_D\201y\326\362\t\3209\017]\\Q\005\310?\373\230x\016<\010n\210tw\233\335~Zp\027&\212\255l)\301\022\364K\\\271\357\272u_p\370\000|\322^\255\025IW\3343.#\370\017\"\217\370A8\235\267\315\326|\027\355\325\nm\343\034\264\224\255&\321\356/8Df\232`\267\005O\021\266\"\374\224\t\331\345\252\221\024Q\306O\036[\362\320/\220\217\005e\033\306\267gL\316\265\366\301\233j\261\r\027u\337E\024\344Ns\337\2304}l\202\234\311G\024\014\025Z\311uM_\347\365\243\207~\017n62\371z\366p\211\227\244\313\245a*\306@\257n f\t7XG\356\311\260E\324\361`\344\364#Wi\224\350\261\027\047\035Ev*\215\336\004\255\"s\020\t\363\211\317\222\227\271\207Q.\177\205\263\366\322Y\322\306s\236\307\250^h(Z?\t\236E\371\2216g\363\313\224\047(\332y\313\247\250\253\344\0311z\021~\367P\215~\244L\t\005\321G\006\207\365\024\273Ay\242\273\030\341\301\214;\3170\261\032\256T\353bNXd\222 I\201\271\226\274\371*\277\350\344\232\376\006.K\221\3353HJ\002\370\304d\372\025S\3374\226\350\212\361\262\361\227U\013\317\034-\2746\330\206`<@\017\245^+t_\325\307@\277,\204$l\372\361\r\047\376B\205nA\026\211\356\177\277~\3500\322\223Jk\005\306\237\240\nz\004m\205\013n\241\202^~\271i\274G\321\226*\330T\217_t[?\300\222\230$:T\356{\234\017B\373\266%\236\322\"\334\236l\010\321~\205\254\335\006\362xu\220\rr\310x\236\360\313c\367\035P\206M\276\236\333\003\202\341\001\177xT\320\212\267\330\033\230\345C\211\352?\322\366\023\344\237 \233|\001\306\366\007{\215\003\212Z\357\017\002\266]`\210=\361\244W\356\275\234\333\324W\340\207a\363\026\"\362(]+\213_\351>\221\023OP\201S\352\271\213\252\203\264\214 \237\340\\a\334\2342\223\364\003!\3427\347\007\342X\345\243\307\302\266\037\262\007\310\024[\342\030-5\356\t6\376\222j\210!64\211\310\353Y\262/k8\007\362\014\t-\260\025\344\226\270\025E\216n\330\2669\031\344\001\230\240\323\220\020\235\337\027\035\202\373{E\212h\310\315\242\357\027\220\336\317\260\302\032\377\035\220_2\256\001\177+\306\010\277\005\202-\367\370M\364i\356\"b\321U~\205\336l\354A\377\301\302y""\220\233\006\372M\221\253\035\245\202\200?g\320\210\303\027\331C\376\233i\200\047\002\220\t\343\265\271\226\237\001(z/R*L\353\226w6s\330\366O\320\355\031\373\215\350\001Y\211\263\3650\370\341Ed\317\257\024U\310S\334\327P\3739\252\275\336\r\022\346\347g\"\017cC\367\331\375\027Ewq\274\230A2\375\336Q3x\235\215X\3777\tO\257vX+\333\337&?\355\340\273{\313\236\300\010t9h%\301Z\263\0078\006\013%\265\2739I\346=\224)H\212w\375\234\221\260\030\337\222HJ<1_\312\335\327\037\303u:y\321CL\352\377\"\351X\267\232\016\272%`5Tp\264\321\345\342\370A\"[\313j\350\347\016\020J\272\013/5\210\310\325\330\362w\352\340q\256\236~\262\351\312\336\313\r\203\241\361+\247\013 \047A\320\211Z\343\202IA\376\014\375&\3341\300/\205K\034:-\234\307;\251\206\030b#\342\222\354B\261\205WK\253\207\365\325k\224\305\235\275\271\213@\211(y\312\326\257(\355\300\\\232\215S\345@z9\357\342\365\000|\013[>?jxyr\354\036B\0019\t\323\363\212\365\252\316\301{M_a\327)!\275,\246)\022T\342\343U}\310\370\205\335\240\332\332\211\302\212\215\322\355\3576[\342w\234N~\335J\031\307\036\307o${r\355l\340\236\231\240\344*\227E\271C<\346]\021\341y\220\377\304\341Z(\376\311\336\302\325\021\004\241\303\014\375\214j\377\006\376\264\216\322\263\273\334\177M\337\006\271h\004\362\235\205\025\366\002C\341\317\210\227\373l?S\022C.\363\241\202GNp\263\001\360\023\305\346\342_\354\003O\030.\322\327\262\331\210J\240\221=^\344\377\377\006\366.nk\266\331v\222~\214\254|\231\342\304\250\235<\220Hoc\346J\376Fa\271X\013H\017\026\023e\317(\022\036\370 %.\047R*U}\207\303\020\007)\330\000\274\227K.*\214\355\314\354\341\334\237\213vp+0?\372\322-\203\200\356\276n\217h\204\306\305\320\262k\314\220\313n\272n[\001\213\343o\"=p\027\350\3070\272wC\315V\266\2376\350\206\004^\331\327\317/\003\313\235P>\\\366O^\310\020Y\"K\245\315iv\177\2568g\375\337fty\374\253)\263{\257\212\253\224|\033\332\201\334\346\\\342\177\000\n\034\304\331"; + PyObject *data = __Pyx_DecompressString(cstring, 8359, 1); + #define __Pyx_DecompressString_LZSS_UNUSED if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) const char* const bytes = __Pyx_PyBytes_AsString(data); #if !CYTHON_ASSUME_SAFE_MACROS if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } #endif - #else /* compression: none (17324 bytes) */ -const char* const bytes = "1 Cmd: Error in linecache.checkcache(%r)Error in linecache.getline(%r, %s, f_globals)[^#]*#.*@IgnoreExceptionIgnore exception Kill:NoneNot used in sys.monitoring mode.Note that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the 'annotation_typing' directive to False.State: Stop:Stop inside ipython callUnable to get topmost frame for thread: %s, thread.ident: %s, id(thread): %s\nCurrent frames: %s.\nGEVENT_SUPPORT: %s.?).\n -- ()/\\add_note.pyc_pydev_execfile.py_pydevd_bundle/pydevd_cython.pyxpydevd.pypydevd_traceproperty.py raised from within the callback set in sys.settrace.\nDebugging will be disabled for this thread (thread._ident is None in _get_related_thread! - thread: %sutf-8ALLCMD_SET_FUNCTION_BREAKDEBUG_STARTDEBUG_START_PY3KEXCEPTION_TYPE_HANDLEDEXCEPTION_TYPE_USER_UNHANDLEDFalseForkSafeLockIGNORE_EXCEPTION_TAGNORM_PATHS_AND_BASE_CONTAINERNO_FTRACENonePYDEVD_IPYTHON_CONTEXTPYDEVD_USE_SYS_MONITORINGPYDEV_FILEPYTHON_SUSPENDPyDBAdditionalThreadInfoPyDBAdditionalThreadInfo.__reduce_cython__PyDBAdditionalThreadInfo.__setstate_cython__PyDBAdditionalThreadInfo._get_related_threadPyDBAdditionalThreadInfo._is_steppingPyDBAdditionalThreadInfo.get_topmost_framePyDBAdditionalThreadInfo.update_stepping_infoPyDBFramePyDBFrame.__reduce_cython__PyDBFrame.__setstate_cython__PyDBFrame.do_wait_suspendPyDBFrame.handle_user_exceptionPyDBFrame.set_suspendPyDBFrame.trace_dispatchPyDBFrame.trace_exception__Pyx_PyDict_NextRefRETURN_VALUES_DICTSTATE_RUNSTATE_SUSPENDSUPPORT_GEVENTSafeCallWrapperSafeCallWrapper.__reduce_cython__SafeCallWrapper.__setstate_cython__SafeCallWrapper.get_method_objectStopAsyncIterationTRACE_PROPERTYThreadThreadTracerThreadTracer.__reduce_cython__ThreadTracer.__setstate_cython__TopLevelThreadTracerNoBackFrameTopLevelThreadTracerNoBackFrame.trace_dispatch_and_unhandled_exceptionsTopLevelThreadTracerNoB""ackFrame.get_trace_dispatch_funcTopLevelThreadTracerNoBackFrame.__reduce_cython__TopLevelThreadTracerNoBackFrame.__setstate_cython__TopLevelThreadTracerOnlyUnhandledExceptionsTopLevelThreadTracerOnlyUnhandledExceptions.trace_unhandled_exceptionsTopLevelThreadTracerOnlyUnhandledExceptions.get_trace_dispatch_funcTopLevelThreadTracerOnlyUnhandledExceptions.__reduce_cython__TopLevelThreadTracerOnlyUnhandledExceptions.__setstate_cython__True_TryExceptContainerObj_TryExceptContainerObj.__reduce_cython___TryExceptContainerObj.__setstate_cython__USE_CUSTOM_SYS_CURRENT_FRAMES_MAPabs_real_path_and_baseabsolute_filename_activeaddadd_additional_infoadd_commandadd_exception_to_frameadditional_infoany_thread_steppingappendapply_files_filterapply_to_settraceargargs_argsasyncio.coroutinesbasename__bootstrap_bootstrap__bootstrap_inner_bootstrap_innerbreak_on_caught_exceptionsbreak_on_user_uncaught_exceptionsbreakpointscall__call__can_skipcanonical_normalized_filenamecheck_excscheck_trace_objcheckcachechildren_variants__class_getitem__cline_in_tracebackcmd_factorycmd_step_intocmd_step_overco_filenameco_firstlinenoco_flagsco_namecollect_return_infocollect_try_except_infocompileconditionconstant_to_strconstructed_tid_to_last_framecontainer_objcriticalcurr_stat_current_framescustom_keydebug__dict___dictdisdisable_tracingdo_wait_suspendenable_tracingencodeendswith__enter__eventexc_breakexc_break_caughtexc_break_userexc_infoexc_linenoexcept_lineexceptionexception_breakexception_breakpointexception_typeexclude_exception_by_filter_execexecfile__exit__expressionff_backf_codef_globalsf_lastif_linenof_localsf_tracef_unhandledfilenamefilename_to_lines_where_exceptions_are_ignoredfilename_to_stat_infofindlinestartsfix_top_level_trace_and_get_trace_funcforce_only_unhandled_tracerframeframe_cache_keyframe_id_to_frameframe_skips_cacheframe_trace_dispatchfrom_user_input__func__func_namefunction_breakpoint_name_to_breakpointgetget_abs_path_real_path_and_base_from_frameget_breakpointget_clsname_for_co""deget_current_thread_idget_exception_breakpointget_file_typeget_global_debuggerget_internal_queue_and_eventget_method_object_get_related_threadget_smart_step_into_variant_from_frame_offsetget_thread_idget_topmost_frameget_trace_dispatch_funcgetline__getstate__global_cache_frame_skipsglobal_cache_skips_global_notify_skipped_step_in_lockhandle_breakpoint_conditionhandle_breakpoint_expressionhandle_exceptionhandle_user_exceptionhas_conditionhas_plugin_exception_breakshas_plugin_line_breaksiid_identidentignore_exception_traceignore_exceptions_thrown_in_lines_with_ignore_exceptionignore_system_exit_codein_project_scopeinfoinitial_trace_obj_is_coroutineis_files_filter_enabledis_line_in_except_blockis_line_in_try_blockis_logpoint_is_steppingis_thread_aliveis_unhandled_exceptionis_unwindis_user_uncaughtitemsjjust_raisedkwargslast_raise_linelast_statlinelinecachelineslines_ignoredlinesepmain__main__make_console_messagemake_io_messagematchmaybe_user_uncaught_exc_infomergedmethod_object__module____name__name__new___next_additional_infonotify_on_first_raise_onlynotify_skipped_step_in_because_of_filtersnotify_thread_not_alive_original_calloriginal_step_cmdosos.pathpathpluginpopprev_user_uncaught_exc_infopy_dbpydb_disposed_pydev_bundle_pydev_bundle._pydev_saved_modules_pydev_bundle.pydev_is_thread_alive_pydev_bundle.pydev_logpydev_do_not_tracepydev_logpydev_log_exceptionpydev_monkeypydevd_pydevd_bundle_pydevd_bundle.pydevd_bytecode_utils_pydevd_bundle.pydevd_comm_constants_pydevd_bundle.pydevd_constants_pydevd_bundle.pydevd_cython_pydevd_bundle.pydevd_frame_utils_pydevd_bundle.pydevd_utilspydevd_dont_tracepydevd_file_utilspydevd_tracing__pyx_capi____pyx_checksum__pyx_result__pyx_state__pyx_type__pyx_unpickle_PyDBAdditionalThreadInfo__pyx_unpickle_PyDBFrame__pyx_unpickle_SafeCallWrapper__pyx_unpickle_ThreadTracer__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__pyx_unpickle_TopLevelThreadTracerNoBackFrame__pyx_unpickle__TryExceptContainerObj__pyx_vtable__qname__qualname_""_quittingraise_linesraise_lines_in_exceptre__reduce____reduce_cython____reduce_ex__refremove_additional_inforemove_exception_from_frameremove_return_values_flagresultretreturnreturn_linereturnsrunselfsend_caught_exception_stacksend_caught_exception_stack_proceededsetset_additional_thread_info_set_additional_thread_info_lock__set_name__set_suspendset_trace_for_frame_and_parentssetdefault__setstate____setstate_cython__should_stopshould_stop_on_exceptionshould_trace_hookshow_return_valuesskip_on_exceptions_thrown_in_same_contextst_mtimest_sizestartswithstatstatestopstop_on_unhandled_exceptionstoppedsuspendsuspend_other_threadssuspend_policysuspended_at_unhandledsysttb_frametb_linenotb_next__test__threadthread_trace_functhread_tracerthreadingthreading_activethreading_current_threadthreading_get_identtop_level_thread_tracertop_level_thread_tracer_no_back_framestop_level_thread_tracer_unhandledtracetrace_dispatchtrace_dispatch_and_unhandled_exceptionstrace_exceptiontrace_objtrace_unhandled_exceptionstry_exc_infotry_except_infotry_except_infosupdateupdate_stepping_infouse_setstatevalid_try_except_infosvaluevaluesversionwas_just_raisedweak_threadweakrefwriterPyObject *(PyObject *, int __pyx_skip_dispatch)\000PyObject *(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, int __pyx_skip_dispatch)\000\000int (int __pyx_skip_dispatch)\000set_additional_thread_info\000add_additional_info\000remove_additional_info\000any_thread_stepping\200\001\330\004\005\340\t\n\330\010\013\2101\360\006\000\r\016\330\010)\250\021\330\010\r\320\r7\260q\270\001\200\001\360\n\000\n\013\330\010\022\220(\230!\2301\330\010\027\220x\230q\240\001\200\001\360\n\000\005\006\330\010\032\230&\240\001\330\010\013\320\013\033\2303\230a\330\014\022\220.\240\001\340\r\016\360\006\000\r\016\330\020\"\240&\250\001\340\020\"\240!\340\014\017\320\017\037\230s\240!\360\n\000\021#\320\"7\260q\270\001\330\020\026\320\026)\250\021\330\020\037\230\177\250g\260T\270\021\270!\330\020#\2401\240A""\330\020\024\320\024)\250\021\330\020%\240W\250A\320-E\300Q\340\004\013\2101\200\001\330\0044\260A\260V\2701\200\001\330\004\027\320\027+\2505\3200W\320WX\320X_\320_`\330\004\007\320\007\031\230\023\230A\330\010\017\210x\220v\230S\240\014\250A\330\004\007\200q\330\010\r\210_\230A\230Q\330\004\013\320\013\034\230A\230W\240G\2501\200\001\330\004*\250!\2506\260\021\200\001\330\0046\260a\260v\270Q\200A\360P\001\000\t\n\340\014\023\320\0235\260V\2708\320CV\320Vh\320hl\320lm\340\014\020\220\017\230q\360\n\000\r\024\2205\230\n\240#\240Q\330\014\036\320\036/\250q\340\014\017\210u\220A\330\020\027\220x\230v\240S\250\014\260A\340\014\035\230U\240!\330\014\r\330\020\025\320\0251\260\023\260E\3209\\\320\\_\320_d\320de\360\006\000\r\032\230\024\230Q\330\014\027\220t\2301\330\0140\260\001\340\014\017\210u\220G\230:\240R\240q\360\010\000\021\024\2206\230\023\230A\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\025\033\2303\230a\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\024)\320):\270!\330\024#\320#4\260D\270\001\270\021\330\024\027\220}\240C\240q\360\n\000\031+\250!\330\030\034\230E\240\025\320&:\270!\2705\300\001\360\006\000\035)\250\004\250A\250Q\250a\340\030)\250\021\320*?\270q\340\024\027\220u\230G\2401\340\030\037\230t\2401\340\030\033\2304\230q\330\034 \320 6\260a\260q\330\034#\2404\240q\360$\000\031\034\230;\240c\250\026\250t\2604\260t\2701\330\034\037\230y\250\004\250E\260\025\260e\2701\330 $\240D\320(C\3001\300G\3101\330 #\2402\240W\250A\330$(\320(:\270!\330$(\320(;\2701\340$'\240y\260\003\2601\330(,\320,>\270a\330(,\320,?\270q\340)2\260#\260Q\330(,\320,>\270a\330(,\320,?\270q\340!*\250#\250Q\340 $\240D\320(C\3001\300G\3101\330 #\2402\240W\250A\330$(\320(;\2701\340$(\320(:\270!\330$(\320(;\2701\340\025\033\2303\230a\330\024+\2501\330\024\027\220q\330\030%\240W\250K\3207O\310q\330\034 \240\006\240a\240t\2504\250v\260Q\260d\270'\300\024\300V\3101\310D\320PU\320UY\320YZ\340\030\034\230L\250\001\330\030\033\2301\330\034""\037\320\037/\250q\260\004\260F\270!\2704\270t\3006\310\021\310$\310g\320UZ\320Z[\330 '\240t\2501\340\024\033\2304\230q\360\006\000\025\034\2304\230q\360\006\000\021\024\2206\230\023\230A\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\025\033\2303\230a\330\024\036\230a\330\024 \240\001\330\024\036\230a\330\024)\250\021\360\020\000\025\026\330\030#\2403\240a\330\030\034\230D\240\004\240A\330\030\034\230A\330\030\034\230A\330\030\034\230E\240\025\240e\2505\260\001\340\030\033\2309\240D\250\005\250U\260!\330\034 \320 2\260!\340\034 \320 2\260!\330\030\034\320\034/\250q\340\024\027\220t\2301\330\030\033\2304\320\0375\260Q\260a\330\034#\2404\240q\340\025\033\2303\230a\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\330\024\027\220u\230G\320#3\2603\260e\2701\330\030<\270E\320Ah\320hl\320lm\320mr\320ry\320yz\340\025\033\2303\230a\330\024)\250\021\330\024+\2501\330\024\027\220q\330\030%\240W\250K\3207O\310q\330\034 \240\006\240a\240t\2504\250v\260Q\260d\270'\300\024\300V\3101\310D\320PU\320UY\320YZ\340\030\034\230L\250\001\330\030\033\2301\330\034\037\320\037/\250q\260\004\260F\270!\2704\270t\3006\310\021\310$\310g\320UZ\320Z[\330 '\240t\2501\330\024\036\230a\330\024 \240\001\330\024\036\230a\360\010\000\025\034\2304\230q\340\014\017\210t\2201\330\020'\240u\250L\270\004\270A\320=]\320]^\320^_\340\020\033\2301\340\020\023\2204\220}\240C\240q\360\n\000\025\030\220y\240\004\240A\330\030#\2401\340\031\"\240!\330\030\031\330\030\031\330\030\031\330\030\031\330\026\032\230$\230d\240/\260\021\260,\270a\330\030#\2401\340\031\"\240#\240T\250\021\330\030#\2407\250!\330\030\034\230K\240w\250a\330\030\034\230K\240w\250e\2601\330\030\035\230U\240(\250#\250U\260#\260[\300\007\300u\310G\320ST\340\030#\2401\340\031\"\240#\240Q\330\030\033\2305\320 3\2601\260G\2705\300\007\300~\320U[\320[\\\330\034!\240\030\250\023\250E\260\023\260E\3209L\310A\310U\320R[\320[`\320`g\320gn\320n|\320|}\340\034'\240q\340\031\"\240#\240Q\330\030\034\230A\330\030\036""\230b\240\007\240q\330\034\037\230t\240?\260!\260<\270q\330 !\330\034 \240\001\240\021\340\034'\240q\340\024\027\220q\330\030\033\230?\250'\260\025\260e\2705\320@X\320X[\320[`\320`a\330\034'\240~\260Y\270a\270w\300a\340\030\031\330\034\035\330\034 \240\005\240Q\330\034 \240\004\320$4\260D\270\005\270Q\330\034 \240\004\240O\2601\260L\300\005\300Q\360\006\000\035(\240q\360\016\000\021\024\2201\360\006\000\026\032\230\021\330\024\027\220q\330\030\033\2301\330\034#\2404\240q\340\034#\2408\250=\270\001\360\010\000\025\030\220q\330\0304\3204E\300T\310\021\320J[\320[\\\330\030\033\320\0335\260S\270\001\330\034#\2404\240q\340\0241\3201B\300$\300a\320GY\320YZ\330\024\027\320\0272\260$\260a\340\0302\3202M\310S\320PQ\360\006\000\0313\260!\340\030\031\330\034,\250A\330\034 \320 5\260S\270\017\300q\310\005\310Q\330 #\320#4\260A\260S\270\007\270q\330$.\250d\260!\3203D\300A\300Q\360\020\000\035.\250U\260'\270\021\360\006\000\035 \230\177\250d\260%\260|\3001\330 1\260\021\340\034 \240\006\320&:\270'\300\021\340 #\2402\240[\260\004\260H\270A\330$>\270a\330$%\340\034 \240\013\2501\330 #\2408\2503\250a\330$>\270a\330$%\360\006\000\031\034\2301\330\034-\250Q\320.A\300\021\340\034-\250Q\320.A\300\021\340\024\027\220y\240\004\240D\250\001\330\030\033\2301\330\034#\2404\240q\340\034#\2408\250=\270\001\360\n\000\r\016\330\020,\250A\360\010\000\021\035\230A\330\020\035\230Q\330\020\027\220q\330\020\036\230a\330\020\032\230!\340\020\023\2201\330\024!\240\021\330\024\033\2301\330\024 \240\001\330\024\"\240!\340\025\035\230T\240\024\240]\260#\260R\260t\320;P\320PW\320W\\\320\\`\320`e\320eh\320hi\330\024!\320!5\260Q\260a\330\024 \240\001\330\024\033\2301\340\025$\240G\2505\260\004\260E\270\021\330\024\035\230^\250?\270!\2707\300'\310\027\320PT\320TZ\320Z[\320[\\\330\024\027\220q\330\0304\260A\330\030$\240K\250z\270\021\340\020\023\2201\360\006\000\025\030\220z\240\034\250W\260A\330\030\035\320\035:\270!\270<\300v\310Q\340\024\027\220u\230C\230q\330\030&\240a\330\030\033\230:\240Q\330\034*\250%""\320/K\3101\310F\320R^\320^_\330\034\037\230t\2401\330 '\240q\330 <\270A\340\024\027\220x\230q\330\030\035\230W\240I\250T\260\034\270\\\310\024\310U\320RU\320UW\320W[\320[`\320`g\320go\320oz\320z{\320{|\360\032\000\031 \230t\2401\360\006\000\025\031\230\005\230S\320 ;\2704\270z\310\021\330\030\037\230q\330\0304\260A\340\030\033\2304\230\177\250g\260U\270$\270c\300\021\300$\320FV\320VX\320XY\330\034\"\240%\240|\3203C\3001\300D\310\017\320WY\320Y[\320[e\320ef\330\034!\240\027\250\014\260A\260Q\340\020\023\2205\230\001\330\024\027\220z\240\021\340\034 \320 0\260\004\260E\270\025\270a\330\034!\240\024\240_\260A\260\\\300\025\300a\340\030\034\230D\320 0\260\004\260E\270\025\270e\3004\300\177\320VW\320Wc\320cd\330\030\034\230D\320 0\260\004\260E\270\021\330\030\031\330\034 \320 0\260\003\2601\330\034 \240\005\240X\250W\260A\330\034 \240\004\240E\320)<\270A\270U\300)\3105\320PW\320W^\320^l\320lm\360\006\000\031\035\320\0340\260\001\260\027\270\001\340\025\032\230!\330\024\025\330\030\034\320\0342\260!\2607\270!\340\030\035\320\035:\270!\340\020\023\2201\330\024\030\230\014\240A\330\030\031\330\030\031\330\030.\250k\270\024\270Z\320GW\320WZ\320Z[\360\006\000\0260\250t\260?\300'\310\021\330\024\035\230^\2508\2601\260G\2708\3007\310!\330\024\027\220q\330\030 \240\001\360\006\000\021\024\2204\220}\240C\240q\330\024\030\320\030(\250\001\250\030\260\027\270\007\270q\330\024\033\2304\230q\340\024\027\220t\230;\240d\250!\340\030)\250\021\320*<\270A\360\n\000\021\027\220c\230\031\240\"\240A\240Q\330\020\026\220e\230<\320'<\270A\330\024\025\340\030\031\330\030\031\360\006\000\021\026\220W\230L\250\001\250\021\330\020\023\2204\220z\240\021\240&\320(;\2701\330\024\035\230Z\240q\340\020\021\360\006\000\r\016\330\020\036\230a\330\020\023\320\023$\320$7\260w\270a\330\024\027\220t\230=\250\004\250A\360\010\000\031\034\2304\320\0370\3200B\300!\3005\310\t\320Qq\320qr\320rs\340\034*\250$\250o\270Q\340\034*\250$\250o\270Q\340\030&\240d\250!\340\020\036\230a\330\020\023\2201\330\024\033\2301""\340\025\036\230d\240%\240u\250E\260\021\330\0240\260\t\270\023\270A\330\024\027\220q\330\030\033\2304\230t\2401\330\034\037\320\0379\270\023\270E\300\021\330 '\240t\2505\3200C\3001\300G\3105\320PW\320We\320ef\340 '\240q\340\034\037\320\0379\270\023\270E\300\021\340 #\2404\240t\2505\3200C\3001\300G\3105\320PW\320We\320ef\330$+\2508\260=\300\001\360\006\000\035(\240u\250G\2601\330\034\037\230x\240y\260\001\260\021\330 +\2508\2603\260a\340\034\037\230t\2408\2509\260A\3205K\3101\310A\330 $\240E\250\021\330 &\240b\250\007\250q\330$'\240q\250\007\250y\270\003\320;Q\320QR\320RS\330(-\250Q\250a\330(+\2503\250g\260U\270$\270b\300\007\300y\320PS\320Si\320ij\320jk\330,5\260V\2701\270A\330,3\2601\330,-\330$(\250\001\250\021\340 $\240A\340\034\037\230t\2401\360\006\000!(\240x\250}\270A\340\031#\2404\240u\250H\260G\2705\300\004\300D\310\004\310A\330\030\033\2305\240\016\250a\250u\260I\270S\300\005\300Q\330\034#\2401\340\034\037\320\0379\270\023\270E\300\021\330 '\240t\2505\3200C\3001\330$)\250\031\260%\260w\270g\300^\320ST\340 #\2401\360\006\000%(\240t\320+E\300T\310\025\310i\320W\\\320\\c\320cd\330(/\250q\340 '\240q\340\030\037\230q\340\024\027\220q\330\030\033\2309\240C\240q\340\034 \240\001\330\034\"\240\"\240G\2501\330 #\2404\240\177\260a\260|\3001\330$%\330 $\240A\240Q\340 '\240q\340\024\027\220\177\240g\250Q\330\030!\240\036\250~\270Q\270g\300W\310G\320SW\320W]\320]^\320^b\320bf\320fl\320lm\320mq\320q|\320|}\330\030\033\2301\330\034\"\240.\260\001\340\025\036\230d\240%\240q\360\010\000\025\034\2304\230\177\250a\250|\2707\300$\300a\360\010\000\025\030\220\177\240g\250Q\330\030!\240\036\250~\270Q\270g\300W\310G\320SW\320W]\320]^\320^b\320bf\320fl\320lm\320mq\320q|\320|}\330\030\033\2301\330\034\"\240.\260\001\340\025\036\230c\240\021\330\024\033\2301\330\024\033\2305\240\001\330\024\027\220t\230?\250!\250<\260w\270d\300!\340\030\037\230q\340\031\035\230_\250A\250\\\270\026\270t\3001\330\030\033\2304\320\0379\270\024\270Q\360\006\000\035$\2401\360\006\000\0359\270\004\270A""\340\034=\270T\300\021\330\034\037\320\0379\270\023\270B\270d\300!\360\006\000!(\320'T\320TU\330$(\250\n\260!\330\"%\320%R\320RS\330$?\270q\360\n\000!2\260\025\260g\270Q\360\006\000!$\240?\260$\260e\270<\300s\310/\320Y\\\320\\]\330$5\260Q\330 #\240?\260#\260T\3209J\310$\310j\320Xb\320be\320ei\320ij\330$+\2501\340\030\033\2304\230q\360\006\000\035$\2408\250=\270\001\340\031\036\230g\240U\250$\250d\260/\300\021\300,\310d\320R[\320[_\320_`\360\010\000\0315\260D\270\001\330\0303\2604\260q\360\010\000\031 \230q\330\030\033\320\0334\260C\260r\270\024\320=V\320VY\320YZ\330\034=\270T\300\021\340\034\037\320\0379\270\023\270B\270d\300!\360\n\000!;\320:g\320gh\330$?\270q\360\010\000!5\3204K\3101\330 '\320'9\270\021\330$Q\320QR\320RV\320V`\320`a\330$'\320'T\320TU\320Uo\320op\360\010\000\031\034\2304\230q\360\006\000\035$\2408\250=\270\001\340\025\036\230d\240%\240q\330\024\033\230:\240T\250\024\250_\270A\270\\\310\021\360\006\000\025\034\2301\340\020\023\2205\230\004\230I\240T\250\022\2504\250z\270\024\270W\300A\300W\310A\330\024\035\230W\240A\240U\250)\260:\270Q\330\024\027\220w\230g\240Q\330\030\033\2305\240\016\250a\250u\260I\270S\300\005\300Q\330\034#\2401\340\020\023\2201\330\024\"\240%\240q\250\007\250w\260g\270T\300\026\300q\310\004\310K\320W\\\320\\]\330\025\026\330\024\027\220q\330\030\034\230L\250\001\250\030\260\032\320;M\310T\320QR\330\030\034\320\034,\250A\250X\260W\270G\3001\330\031\032\330\030\037\230u\240A\330\030\033\2305\240\007\240q\360\010\000\0355\260C\260w\320>h\320hi\320ij\330\034 \240\006\240d\250'\260\032\2704\270}\310A\330 '\240q\340!&\240c\250\021\360\006\000!(\240x\250}\270A\340!2\3202E\300W\310A\330 #\2404\320'8\3208J\310!\3104\310y\320XY\360\014\000%*\320)I\310\021\310&\320PX\320XY\330$+\2508\260=\300\001\340\030\033\2305\240\007\240q\340\034 \240\014\250A\250X\260Z\320?Q\320QU\320UV\330\034 \320 0\260\001\260\030\270\026\270w\300a\360\006\000\035!\320 3\2601\330\034 \320 <\270A\330\034 \320 3\2601\330\034 \240\017\250q\330\034 \320 5\260Q\360""\006\000\021\024\2205\230\001\330\024\033\2308\240=\260\001\340\020\027\220t\2301\360\010\000\021\027\220c\230\031\240\"\240A\240Q\330\020\026\220e\230<\320'<\270A\330\024\025\340\030\031\330\030\031\360\006\000\021\026\220W\230L\250\001\250\021\330\020\023\2204\220z\240\021\240&\320(;\2701\330\024\035\230Z\240q\330\020\021\360\006\000\r\021\220\017\230q\200A\360\n\000\t\014\2104\210}\230C\230z\250\024\250T\3201A\300\024\300Q\340\014\023\2201\340\010\013\2104\210}\230C\230~\250T\260\024\260Q\360\006\000\r\024\2201\340\010\017\210q\200A\330\010\023\2204\220q\330\010\013\2101\330\014\023\320\023#\2401\240D\250\006\250a\250t\2604\260v\270Q\270d\300'\310\030\320QR\320RV\320VW\330\010\017\210q\200A\360\n\000\t\014\2104\210q\330\014\023\2201\340\010\013\2104\210}\230C\230q\330\014\023\2201\340\010\021\220\024\220\\\240\021\330\010\013\2107\220#\220Q\330\014\023\2201\340\010\013\2104\210\177\230a\230q\330\014\023\2201\340\010\013\2106\220\030\230\023\230A\330\014\025\220Y\230a\320\037]\320]^\330\014\023\2201\340\010\013\2109\220H\230D\240\001\240\026\240y\260\007\260q\330\014\023\2201\340\010\017\210q\200A\360\014\000\t\014\2106\220\023\220A\330\014\031\230\027\240\013\320+C\3001\300D\310\006\310a\310t\320SW\320W]\320]^\320^b\320bi\320im\320ms\320st\320tx\320x}\360\000\000~\001B\002\360\000\000B\002C\002\330\014\020\220\014\230A\340\014\017\210q\330\020\023\320\023#\2401\240D\250\006\250a\250t\2604\260v\270Q\270d\300'\310\025\310a\330\024\033\2304\230q\340\r\023\2203\220a\330\014\027\220t\2301\330\014\017\210y\230\004\230D\240\003\2401\330\020#\320#5\260T\270\026\270q\300\004\300D\310\006\310a\310q\330\020\036\320\036/\250q\330\020 \320 1\260\024\260Q\260a\330\020\023\220>\240\023\240A\330\024$\320$5\260Q\260n\320DZ\320Z[\330\020\023\320\023)\250\021\250/\270\024\270V\3001\300D\310\007\310x\320WX\320X\\\320\\d\320de\320ei\320im\320mq\360\000\000r\001H\002\360\000\000H\002I\002\330\024\025\340\024\033\2304\230q\340\010\017\210t\2201\200A\360\006\000\t\014\2106\220\023\220L""\240\004\240D\250\007\250q\330\014\023\2203\320\026(\250\004\250F\260!\2602\260Q\330\014\017\210t\2207\230!\330\020\023\2204\220\177\240a\330\024#\320#=\270Q\340\024\031\320\0315\260Q\260g\270S\320@Q\320QR\360\006\000\t\020\210t\2201\200A\330\010\014\210F\220!\2202\220\\\240\022\2408\2501\200A\330\010\014\210F\220!\2202\320\025%\240R\240x\250q\200A\360\n\000\t\036\230Q\230a\200A\330\010%\240Q\240d\250&\260\001\260\022\260:\270Q\330\010\017\210~\230Q\230f\240G\2507\260!\200A\360\026\000\t\032\230\037\250\001\330\010\030\230\016\240d\250!\2506\260\021\330\010\013\210>\230\023\230A\360\006\000\r\026\220U\230!\330\020\021\330\020\021\330\020\026\220a\330\020\022\220!\2201\330\020\021\330\020\021\360\006\000\t\020\210q\200A\330\010\016\210l\230!\2301\200A\330\010\017\210q\200A\330\010\017\210t\2201\200A\360\006\000\t \230t\2401\330\010\013\320\013 \240\007\240q\330\014\020\320\020)\320)=\270Q\270g\300W\310A\340\010\013\2106\220\023\220A\330\014\020\320\020!\240\021\330\014\020\220\r\230T\240\021\240%\240q\330\014\020\320\020$\240E\250\021\340\r\023\2203\220i\230t\2404\240\177\260g\270Q\340\014\r\330\020\027\220s\320\032,\250D\260\006\260a\260r\270\021\330\020\023\2204\220\177\240a\330\024\027\320\027-\250Q\250f\260G\2707\300$\320FY\320Y]\320]^\330\030\035\320\0359\270\021\270'\300\023\320DU\320UY\320YZ\360\006\000\021\025\320\024%\240Q\340\010\016\210d\220!\360\n\000\t\016\210[\230\017\240q\250\001\360\n\000\t\020\210q\200\001\330\004I\310\021\310&\320PQ\200\001\360\032\000\005\016\210Q\360\010\000\005\023\220!\340\004\"\240!\330\004\n\210,\220g\230Q\360\006\000\t\020\210{\230'\240\021\340\010\014\210D\220\006\220a\220q\330\010\014\210D\220\006\220a\220q\330\010\013\2102\210R\210q\330\014\020\220\001\330\010\013\2102\210S\220\001\330\014\023\2204\220q\230\002\230\"\230A\340\010\014\210D\220\006\220a\220q\330\010\013\2102\210S\220\001\330\014\023\2204\220r\230\021\340\010\013\2105\220\003\2201\330\014\017\210{\230'\240\031\250$\250o\270Q\340\020\027\220v\230Q\340\021\034""\230G\2409\250D\3200E\300Q\340\020\024\220K\230y\250\004\250A\250Q\330\020.\250a\330\020\023\2202\220W\230E\240\024\240Z\250q\260\003\2609\270A\330\024\035\230Q\330\024\025\340\r\022\220#\220Q\330\014\017\210{\230'\240\031\250#\250Q\330\020.\250a\330\020\021\340\r\022\220#\220Q\330\014\017\210{\230'\240\031\250$\250g\260Q\340\020\027\220v\230Q\340\014\017\210{\230'\240\031\250#\250Q\330\020.\250a\330\020\021\340\r\022\220#\220Q\330\014\023\2206\230\021\340\r\030\230\010\240\003\2401\330\014\r\340\010\026\220k\240\021\340\004\007\200w\210c\220\021\360\006\000\t\014\2105\320\020%\240W\250A\330\014\025\220U\320\032+\2504\250q\260\005\3205I\310\021\330\014\017\210w\220c\230\021\330\020\027\220v\230Q\360\006\000\r\026\220U\320\0323\2601\340\004\007\200w\210a\210x\320\027-\250Q\330\010\r\320\r\035\230Q\330\010\017\210v\220Q\340\004\005\330\010\032\230&\240\001\330\010\013\320\013\033\2303\230a\330\014\022\220.\240\001\340\010\032\230%\320\037:\270!\2701\360\006\000\005\r\210G\2208\320\033,\320,@\300\001\340\004\007\200|\2207\230!\330\010\013\210;\220h\230c\240\025\240d\250$\250a\340\014&\320&E\300Q\300l\320RS\320SZ\320Z[\330\014\033\320\033B\300'\310\021\330\020\021\360\006\000\r'\240o\260Q\330\014\017\320\017'\240s\250!\340\020*\320*U\320UV\320VW\330\020\037\320\037D\300A\360\006\000\t\023\320\022)\320)A\300\021\360\006\000\t\023\220/\240\021\240!\360\006\000\t\024\220;\230a\340\010\013\2106\220\023\220A\330\014\023\2209\230A\340\004\024\220O\2401\330\004\007\200~\220S\230\005\230S\240\r\250V\2601\260C\260w\270a\330\010\030\230\014\240A\240Q\330\010\027\320\027(\250\001\360\010\000\005\014\210?\230!\320\033+\2501\200\001\330\004-\250Q\250f\260A\200\001\330\004=\270Q\270f\300A\200\001\360\010\000\005\016\210T\320\0214\260D\3208J\310$\310m\320[_\320_x\320x|\360\000\000}\001X\002\360\000\000X\002\\\002\360\000\000\\\002y\002\360\000\000y\002}\002\360\000\000}\002O\003\360\000\000O\003S\003\360\000\000S\003c\003\360\000\000c\003g\003\360\000\000g\003y\003\360\000\000y\003}""\003\360\000\000}\003Q\004\360\000\000Q\004U\004\360\000\000U\004o\004\360\000\000o\004s\004\360\000\000s\004N\005\360\000\000N\005R\005\360\000\000R\005n\005\360\000\000n\005r\005\360\000\000r\005S\006\360\000\000S\006W\006\360\000\000W\006o\006\360\000\000o\006s\006\360\000\000s\006A\007\360\000\000A\007E\007\360\000\000E\007V\007\360\000\000V\007Z\007\360\000\000Z\007l\007\360\000\000l\007p\007\360\000\000p\007N\010\360\000\000N\010R\010\360\000\000R\010m\010\360\000\000m\010q\010\360\000\000q\010@\t\360\000\000@\tD\t\360\000\000D\t]\t\360\000\000]\ta\t\360\000\000a\tH\n\360\000\000H\nL\n\360\000\000L\n\\\n\360\000\000\\\n`\n\360\000\000`\nI\013\360\000\000I\013M\013\360\000\000M\013q\013\360\000\000q\013u\013\360\000\000u\013J\014\360\000\000J\014N\014\360\000\000N\014O\014\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033=\270W\300E\310\023\310D\320Ph\320ho\320ot\320tw\320w{\360\000\000|\001V\002\360\000\000V\002]\002\360\000\000]\002b\002\360\000\000b\002e\002\360\000\000e\002i\002\360\000\000i\002z\002\360\000\000z\002A\003\360\000\000A\003F\003\360\000\000F\003I\003\360\000\000I\003M\003\360\000\000M\003\\\003\360\000\000\\\003c\003\360\000\000c\003h\003\360\000\000h\003k\003\360\000\000k\003o\003\360\000\000o\003O\004\360\000\000O\004V\004\360\000\000V\004[\004\360\000\000[\004^\004\360\000\000^\004b\004\360\000\000b\004y\004\360\000\000y\004@\005\360\000\000@\005E\005\360\000\000E\005H\005\360\000\000H\005L\005\360\000\000L\005]\005\360\000\000]\005d\005\360\000\000d\005i\005\360\000\000i\005l\005\360\000\000l\005p\005\360\000\000p\005J\006\360\000\000J\006Q\006\360\000\000Q\006V\006\360\000\000V\006Y\006\360\000\000Y\006]\006\360\000\000]\006C\007\360\000\000C\007J\007\360\000\000J\007O\007\360\000\000O\007R\007\360\000\000R\007V\007\360\000\000V\007e\007\360\000\000e\007l\007\360\000\000l\007q\007\360\000\000q\007t\007\360\000\000t\007x\007\360\000\000x\007`\010\360""\000\000`\010g\010\360\000\000g\010l\010\360\000\000l\010o\010\360\000\000o\010s\010\360\000\000s\010V\t\360\000\000V\t]\t\360\000\000]\tb\t\360\000\000b\te\t\360\000\000e\ti\t\360\000\000i\t}\t\360\000\000}\tD\n\360\000\000D\nI\n\360\000\000I\nL\n\360\000\000L\nP\n\360\000\000P\n]\n\360\000\000]\nd\n\360\000\000d\ne\n\330\004\007\200q\330\010\017\320\0179\270\024\270Q\270g\300[\320PW\320WX\340\010\017\320\0179\270\024\270Q\270g\300[\320PQ\200\001\360\010\000\005\016\210T\220\030\230\024\320\0355\260T\3209I\310\024\320M`\320`d\320ds\320sw\320wx\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240'\250\025\250c\260\024\3205L\310G\320SX\320X[\320[_\320_n\320nu\320uz\320z}\360\000\000~\001B\002\360\000\000B\002P\002\360\000\000P\002W\002\360\000\000W\002\\\002\360\000\000\\\002_\002\360\000\000_\002c\002\360\000\000c\002u\002\360\000\000u\002|\002\360\000\000|\002}\002\330\004\007\200q\330\010\017\320\017@\300\004\300A\300W\310K\320W^\320^_\340\010\017\320\017@\300\004\300A\300W\310K\320WX\200\001\360\010\000\005\016\210T\220\030\230\024\230[\250\004\250A\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240'\250\025\250c\260\024\260Z\270w\300a\330\004\007\200q\330\010\017\320\017*\250$\250a\250w\260k\300\027\310\001\340\010\017\320\017*\250$\250a\250w\260k\300\021\200\001\360\010\000\005\016\210T\220\021\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240'\250\021\330\004\007\200q\330\010\017\320\017L\310D\320PQ\320QX\320Xc\320cj\320jk\340\010\017\320\017L\310D\320PQ\320QX\320Xc\320cd\200\001\360\010\000\005\016\210T\220\021\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240'\250\021\330\004\007\200q\330\010\017\320\017-\250T\260\021""\260'\270\033\300G\3101\340\010\017\320\017-\250T\260\021\260'\270\033\300A\200\001\360\010\000\005\016\210T\220\021\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033-\250W\260A\330\004\007\200q\330\010\017\320\0177\260t\2701\270G\300;\310g\320UV\340\010\017\320\0177\260t\2701\270G\300;\310a\200\001\360\010\000\005\016\210T\220\021\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\230?\250'\260\021\330\004\007\200q\330\010\017\320\0170\260\004\260A\260W\270K\300w\310a\340\010\017\320\0170\260\004\260A\260W\270K\300q\320\000\036\230a\360\n\000\005\014\2104\210q\220\001\200\001\360\030\000\005\017\210a\330\004\005\360\010\000\t\025\220C\220q\230\001\340\010\034\230A\330\010\013\2109\220I\230S\240\005\240T\250\031\260*\270C\270q\360\n\000\r\023\220)\2309\240G\2501\330\020\034\230I\240Q\340\010\013\2105\220\001\330\014\020\320\020#\2401\320$7\260q\330\020)\320)S\320ST\320Tc\320cd\330\020$\320$:\270!\2701\330\0200\3200F\300a\300q\340\020 \320 N\310d\320RS\320ST\330\020\023\220>\240\023\240A\330\024$\320$R\320RS\320St\320tu\340\020\021\330\024 \240\002\240%\240q\250\001\330\024!\240\031\250*\260I\270Q\340\024 \240\001\340\020\034\320\0341\260\024\260Q\260a\330\020\023\220:\230S\240\001\330\024)\250\021\320*?\270q\330\024!\240\026\240q\330\024\025\330\030!\240\033\250A\250Q\340\030!\240\032\2501\320,Q\320QR\340\020\"\240%\320'V\320VZ\320Z[\320[\\\330\020\023\2201\330\024\035\230Q\330\024\032\230'\240\021\240!\340\024\032\230'\240\021\240!\340\024\035\230Q\340\020\035\230_\250A\360\014\000\021\024\220;\230g\240Q\330\024\025\330\030\037\230y\250\010\260\001\3201D\300L\320P_\320_h\320hi\340\030!\240\032\2501\320,]\320]p\320pq\330\030\037\230q\340\024\027\320\027+\2506\260\021\260&\270\007\270q\330\030%\240Q\240n\260A\330\030\037\230q\360\006\000\031&\240Q\240n\260A\360\006\000\025\030\220v\230T\240\021\240,\250a""\330\030\037\230q\340\010\t\330\014 \240\001\330\014\035\230Q\230b\240\001\240\032\2501\330\014\020\220\t\230\021\330\014\022\220\"\220G\2301\330\020!\240\021\240\"\240A\240V\2501\330\020\024\220A\220Q\330\014\020\220\001\340\014\026\220a\330\014\021\320\021-\250Q\250h\260e\2702\270Q\270a\330\014\r\330\020\025\220\\\240\021\240(\250!\330\020\025\320\025%\240Q\240h\250g\260]\300%\300\177\320VW\340\020\025\320\025;\2701\270A\340\014\025\220Z\230q\340\010\r\320\r-\250Q\250f\260H\270A\360\006\000\t$\2401\240A\340\010\020\220\001\330\010\024\220A\330\010\034\230A\330\010\032\230!\330\010\014\210A\330\010\034\230A\330\010\020\220\001\330\010\021\220\021\340\004\013\2101\200\001\360\n\000\n\013\330\010\022\220$\220a\220q\330\010\013\2104\210}\230A\330\014\033\2304\230q\240\001\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220?\240(\250!\2501\330\004\007\200|\2207\230!\330\0101\260\021\3202D\300N\320RS\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\0232\260(\270!\2701\330\004\007\200|\2207\230!\330\010A\300\021\320Bd\320dr\320rs\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023)\250\030\260\021\260!\330\004\007\200|\2207\230!\330\0108\270\001\3209R\320R`\320`a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023+\2508\2601\260A\330\004\007\200|\2207\230!\330\010:\270!\320;V\320Vd\320de\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\2209\230H\240A\240Q\330\004\007\200|\2207\230!\330\010+\2501\250L\270\016\300a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023>\270h\300a\300q\330\004\007\200|\2207\230!\330\010M\310Q\320N|\360\000\000}\001K\002\360\000\000K\002L\002\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\177\270n\310A\330\004\013\2101\200\001\330""\004'\240q\250\006\250a\320\000t\320tu\360\020\000\005\023\220!\330\004#\2401\360\006\000\005\010\200t\210=\230\003\2301\330\010\023\2207\230(\240!\340\010\013\2106\220\027\230\005\230T\240\027\250\001\250\027\260\001\360\006\000\r\033\230!\330\014#\2401\330\014\r\330\020\023\2205\230\010\240\007\240q\330\024\035\230U\240'\320)9\270\021\270'\300\027\310\010\320PU\320UV\330\024\027\220q\330\030%\240X\250Q\340\020\031\230\032\2401\340\014\017\210t\2201\340\020\023\220:\230S\240\013\2504\250u\3204L\310A\310Q\360\006\000\026 \230t\240?\260/\300\021\360\n\000\026,\2501\250A\360\010\000\025'\240e\2509\260C\260q\360\006\000\025\"\240\021\360\006\000\025&\240U\320*C\3001\300K\310u\320TU\330\024\027\220\177\240g\250Q\330\030\"\240'\250\022\320+;\2701\340\024'\240u\320,E\300Q\300k\320QV\320VW\330\024\027\320\027(\250\007\250q\330\030\"\240'\250\022\320+=\270Q\340\024\030\230\013\320#7\260q\340\030&\240a\340\030\033\2305\320 <\270A\270[\310\001\330\034%\240V\2501\330 O\310{\320Z_\320_f\320ft\320ty\360\000\000z\001A\002\360\000\000A\002B\002\340\034*\250!\340\035&\240k\260\027\270\005\270T\300\024\300U\320Jf\320fg\320gm\320mx\320xy\330\034*\250!\340\035\036\340\034*\250!\330\034\037\230t\2405\320(;\2701\270G\3005\310\007\310~\320]c\320cd\330 %\240X\250S\260\005\260S\270\005\320=P\320PQ\320QV\320V_\320_d\320dk\320kr\360\000\000s\001A\002\360\000\000A\002B\002\360\010\000!,\2501\330 #\2404\240q\330$0\260\005\260U\270+\300S\310\001\310\021\310%\310q\340$,\250H\260A\260Q\330$)\250\024\250Q\250e\2601\330$0\260\005\260U\270+\300Q\330 ?\270q\360\006\000\035\036\330 )\250\021\330 $\240E\250\021\330 $\240D\250\001\330 $\240D\250\013\2601\260E\270\021\360\010\000!/\250a\360\006\000!*\250\021\330 $\240D\250\005\250Q\330 $\240D\250\001\340 .\250a\340!1\260\024\260U\270!\340 .\250a\340\030\033\2301\330\0343\2601\330\034\035\330 $\320$5\260Y\270a\340 $\320$5\260Y\270f\300G\3101\310A\330\034\035\340\014\017\210q\340\020&\240a\240x\250{\270'\300\021\340\020\023\320\023(\250\007\250u\260D\3208L""\310L\320X_\320_`\330\024\031\320\0316\260a\3207M\310V\320ST\340\004\013\210=\230\007\230q\200\001\360\010\000\005\010\200u\210J\220c\230\021\330\010\017\210q\360\006\000\t\034\230=\250\001\330\010\013\320\013\034\230C\230q\330\014\031\320\031-\320-@\300\005\320E]\320]^\320^c\320cd\340\010\013\2104\210q\340\014\023\2201\360\006\000\r&\240Q\330\014\020\320\020#\2401\330\020\023\220?\320\"7\260q\270\001\330\024*\250'\260\021\260!\340\014\017\210t\2201\330\020\027\220q\360\016\000\021\025\320\024'\240q\330\024\027\220\177\320&>\270a\270u\300A\330\030\033\2305\240\n\250#\250_\270M\310\023\310E\320Q[\320[^\320^m\320mn\360\006\000\035$\2401\330\004\013\2101"; + #elif (CYTHON_COMPRESS_STRINGS) > 0 && (CYTHON_COMPRESS_STRINGS) <= 90 /* compression: lzss (11349 bytes) */ +static const char cstring[] = "\377 -- ( Cm\377d: Kill\377: Stop: \377in libra\377ry rais\377ed from \357with\031\000the\377 callbac\337k set,\001sy\373s.\010\000trace\377.\nDebugg\367ing0\000ll b\377e disabl\256E\001or C\000s\002\000r\377ead ((tr\373ee]\000agmen\377t))).\n..\377invalid.\377.pyc/1?ErrI\000\376\247\002necache\355.\001\000ck\006\002(%r\375)\016\020getlin\375e\033\000, %s, \377f_global\377s)Ignore\377 excepti\377on NoneN\217ot u\373\001\217 \336\001m?onitor\325\001\203\000\353e.\035\000e\313\000at \357Cyth2\000is \373de\271 erate\377ly stric\373te\357\001an PE\377P-484 an\377d reject\377s subcla\377sses of \337built\337!yp\377es. If y\337ou ne\377 to# p%\000%\t\206@n\374\"\216A\177\047annota\270\001\257_typ\372 \047\363 rvb\000iv\242\000o F\344\0007e.S \000e:\344A\344@\177side ip\266\003\026\317AUn\242A i\000\247 \004\000_pmost\231Am\240@\264\265B\261A:\267\"th\275A.v@\000nt\014\003id(\017\003})\036\001\nCurr\320@\3729\003s1\001.\nGEV\377ENT_SUPP\367ORTE\001[^#]_*#.*@\374#E\371%\377\\_pydev_\377execfile\374\210`\014\003d_bundwle/\033\002d_c\366\"\276\247`xadd_\201 ez\346de\310\002gcis\004\003\341d+\003\321`3\004\251\204\002pro\237perty\350`\313\004_\242\316\002 \311@\200a\212\205\001_\265`_\267rel\322@d_\362\003!\363 -\274\204\004\212!utf-\3778ALLCMD_\377SET_FUNC\377TION_BRE\377AKDEBUG_\337START\000\010_P\377Y3KEXCEP\376%\002TYPE_HA\337NDLED\007\014US\237ER_UN\026\004\303BF\377orkSafeL\377ockIGNOR\353E_@\010A\016\001M_P\337ATHS_P\000_B\377ASE_CONT\377AINERNO_\277FTRACE\340\204\001P\377YDEVD_IP\347YTH\256\000!\001EXT\374\017\004w\000_SYS_M\377ONITORIN}G*\002_FILE*\004\377SUSPENDP\177yDBAddi\270\205\001\367alT\227bInfo\366\000\025._\316 duce\366\271D__\017\030sets\360\264\204\001\t \230Oh\027is_s\307tep\250\205\001\216\026\366Ato~\203\205\002_frame\270\026\277updateI\006_\005i\367\004F.\005\004\002\342\023\023\005\324\022\3762\003do_wait\377_suspend\354\354!K\003ha\212\205\001_usger_\266\210\006\025\007se!\020\376\243\212\002_dispat\343chB\007\022""\003\374\210\006RET\377URN_VALU\377ES_DICTS\377TATE_RUN\310\003\003\366D\310\206\004_\330\206\003\224\204\001Ca\377llWrappe\201r\000\014\347O\017\017\337N4\r\214\206\001m\377ethod_ob\374\305\211\001\265\214\001AsyncI\335t\370\211\001ion\334\204\002_P\177ROPERTY\213\204\003\n\221\204\003T\241\214\001r\000\t\373o\017\014\360n\377TopLevel~F\tNoBack\352B\270\000\034]\0202\033.__S-.\370\265\204\002\214\216\001\337F_func\374{\035\215k_and_u\325n\336cd\326gs\355\021OnGlyU$\005\300\212\006\000(s\363\200#\200Q\024\375\200%\047\025\206\201(j\025\322\205\003\2332r\373ue\312\211\001CUSTO\275M\320\211\002CURR\211\215\001F\377RAMES_MA\337P_Try\373\214\003Co\377ntainerO\203bj\000\023\257\211\017\017\026\256\211\016\351\211\001x\376\355\211\001ict_Nex\277tRef__\272\217\004e\377____boot\337strap\000\010_i\rn\216\000__\370\222\001 \001\263\220\002\227\215\001/item1\001dK\001;\000\337enterB\001ex#itJ\001\364aR\001g\300\212\005`\000\341m\334\000f\001\311\222\003p\001nam\356w\002new\177\001pyx\366h\000pi\003\006heck\363sug\000\026\001resu\321lZ\000\"\001\226\213\003_-\001ty\371p\275\0007\001unpic7kle\277\213\026__\026\016\246\212\002\000\t\014\277\210\014\047\014\306\207\t\013\r\205\207\033\013 \271\205\024\230\252\014\236t\212\"vt\362\225\001\315Aq\267ual\331%re\364\215\002_\214\362\215\016\213\216\006ex\201a\267\213\001\215Es\334\260H\275ptes\346Aac\377tive_arg\221s\270h\303g\274cc\223\223\003\312\215\003s\301_\262b\343\222\001\324\221\020\231\226\004\323\222\001if\377y_skippe\375d\262\216\002_in_lo\373ck\251\222\003_is_c\377oroutine\375_\317\216\010_next_\371a\222\220\006\223\216\002_orig\217inal\307\204\003\344\223\003\321\223\003_:\001\t.\376\223\004savs\000\364\227\003\331s\024\013\240\224\003is\221\223\004_aql\376\0018\n\303\224\003log\263\224\013\372\301\224\013.\310\224\004bytecoode_\307\000ls\016\023\357comm\353\000nst\007ant\013\026\001\033\254\230\002m\023\343\220\002\200d\031\225\003\326\217\001\315(\212\227\003\331#\224Aa\337bs_re\340 pa{th\303\213\002base\023\000?olute_""\320\226\001\356\206\001\207add\264\226\001\222L\307\226\001\342\001a9n\031\002\216\232\006_to\201\222\003 \r\303ny\371%\313\222\005\371\217\001;\000pp\013lyh\002so\001\232\217\001\r\002E\000\256\250\234\005arg\255\204\001a\273\217\001i\313o.\275fs\254\001\221\210\001br\377eak_on_c\037aught\373\214\010\021\006\371\221\002;un\013\023poi\244@\257\235\001\347can\277\204\002\005\000oni\375c\375`normal\217ized\211&\301\234\002\307\222\001s\334\004\003\247\222\003obj\325\234\007ch\377ildren_v\027ari\200ac\323\234\001\216\205\001\375\235\002\366\226\236\001cmO\000actoSry\007\001\345\224\001_\204\000o\004\006?overcol\007\007\001\333rs\233\235\002no\025\001la\363gs\036\000\223\212\001coll\377ect_retusrn\326\224\002\013\005try\360\223\004n\020\004mpi)\000on\206\227\003sco\240\204\003\265Astr\n\002\377ructed_t{id\313Alast\325\225\003yc\355\214\005\321\222\001crit\236!\372\251\207\001_\372\226\001custo\277m_keyd\333\237\001d\353is\316\237\004_\362\237\001ing\330\223\225\014\371\232\003\025\005en\321\205\001en\333ds\302\240\001ev\240\214\001xc\005_\326Be\001\005\332D\006\007\321\225\001\032\001X\310\226\001\"\001\271\237\001no\237\237\003_\306\237\001\200\247\237\006\230\204\007K\005\302\237\003\\\003\375B\272\204\010y\377peexclud\235e\251\226\007_by\233\204\004\353\234\005e\377xpressioonff_\352\241\001f_\226\207\001\266\254\240\006f_\270!if\205\002n\375o\014\000ocalsf\206\214\"ef\256\222\007\344\205\005\354\205\005\362\"i\377nes_wher\256y\010s_a\014\000i\207\241\002dx\"\t\373\231\001\315\230\002find\277\241\001\377startsfi\177x_top_l\210\225\001\360q\003\255\223\002\362\223\007\357\223\001forc?e_only\300\223\010\246\243\002\001r\316\231\002\352\207\003\276\242\002\333A\371\207\003\227c\025\010\006\370\212\001s_\344\242\002\233\210\003\267\230\013\236\244\001\377\230\003\037input\356\217\002\316\217\001\360\224\001h\220\241\002\301\206\002\206\206\002_\345\217\002to\221H\207get\340\236\001\260\210\001\252\210\002\247\210\017_\340\\\002\376\232\002\212\237\001D\007\230\237\001cls""@\271\220\002\347\000\236B\017\002\337\214\004\220\211\005d\301\237\001 \230l\225\207\002\331\237\001\336\240\001\263\242\001e\346\237\001\216\244\003]_\342\204\002ger\371\237\001i\317\221\001>\254\214\001queue\221\226\002\277\204\002\314\370\230\016\246\240\001sm\231@\234\215\005to|\235\207\005\267\010_offs\355\003\000\222\n\335\234\n\252\227\024\275\245\004\236\004\260C\254\213\003\235B\020\013\n\257B\232\234\004\365(c\226\207\005\t\017\352\204\007\030\321\234\004\211\246\006\323\234\022ha\363\216\001\345\207\004\t\001\177plugin_\200\206\014\361s\020\010\245\211\002\316\212\002siid\300\272\244\002\353\204\003\200\206\010\303\250\002\006\r\336\216\002ow,\373\210\001\367\206\002s_\215\251\001_-\rF\004\307sys\223\225\001\376\224\002\314\216\001in\357_pro\361\246\001_sc\367ope\233\237\001initoial_\331\212\006is\236\214\n\235_\262\244\004is_\330\212\005\365\207\004b0\366\220\001\014\010\202\212\001\013\006og\355\213\002\205\220\014\363is\265\232\021\021\002wind\360\033\001\277\237\001\275\214\005\321\226\001sjju7st_\376\252\003kw\323\222\001\251\212\002\000\220\253\002\373\210\002\270\212\002\230\242\001\323\251\001\327\251\001\204\252\002\234\207\002\330\241\207\002\227$\255\207\003ep\361\226\001ma\373ke\270\220\002ole_m\277essage\017\002i\375o\005\007tchmay\247be_\310\215\016\323\241\002m\222\205\001d\334\365\236\n\272\227\001not\242\223\001on\017_fir\261\005\364\207\002\023\004\260\223\r\377because_\313of\226\217\004s<\004\306\220\004no\361t\313\222\003\247\223\006\303\215\002cmdo\217sos.\326\220\001\332\220\001\357cp\277opprev\234\024p\377y_dbpydb\356\362\241\002ose\211\250\003_do\300\260\250\001\255\212\003\240\223\006\250\223\007\210\254\006\210\251\003mo\317nkey\364\250\003\371\250\004do\303nt4\010\302\217\003\270\223\003\335\250\010in\373gq\335\231\001quittWing\271Gs\000\010_\262\205\006\377rerefrem\001o\313\226\001\257\225\013\017\004\212\222\007\220\211\007*\004\240\217\004\377values_fwlag\251\232\003ret\274\217\003\370\301\217\004\210\256\001\315\217\003srun""s\177elfsend\326\221\016\346\373\216\001ck\000\030\326\205\001cee\027ded\246\247\001e\342\226\n\214\224\010\200\245\010`\222\245\001\377\244\003\257\212\001\353\224\003\347\240\001pa\257\254\001\377ssetdefa\377ultshoul\006\355\227\001op\000\010\211\223\001\242\257\006\034\004\316\245\003ohook1\000w_\367\n\220\264\230\001&\013\303\253\001\305\207\004s\364\234\001\370\220\001e\377xtst_mti=m\312\231\001size\340\215\003\364\261\001\314\374\250\001\377\250\002st\207\000\360\215\001on\306\204\242\022to\236\231\001\237\247\004\246\247\004_o\257ther\263\254\004s\r\005p\337olicy\311\247\004edg_at\340\242\007\272\210\001tb\354\250\003\200\005\000\362\220\003\016\000\311\231\001\363\256\003\350\226\004\276$u\353nc\005\tr\227\257\003ing\022\000\006_\226\233\003\006\007c\223\215\n\036\007\352\214\002\217dent\316\217\010\346\257\002\321\220\003r\016\000\024_no\237\221\002\317\233\004\016\025\303\244\006\000\246\264\002\372\250\013\324\244$\226\251\014\226\226\006\343\242\027\235\225\004\216\253\002\004\241\225\014\260\225\014s\300\253\003\270\253\021\244\210\001\201\255\005\231\265\002q_,\r\353\205\002\357\205\003ver\264\223\001/was_\270\212\010w\304\230\001\262\262\003\376\007\001refwrit\337erPyO\301\251\002 *\375(\001\007, int \330\240\241\003\273\204\002\247\253\005)\000%\010st\374\312\226\001 \004obj_14f\327\234\01413\234\262\n\317\256\026 *W\030\245\000\210\001(x\026\361\233\027\000\312\233\020\000\366\302\210\023\000a\263\233\017\200\001\330\004\377\005\340\t\n\330\010\013\210\3771\360\006\000\r\016\330\010\377)\250\021\330\010\r\320\r\3377\260q\270\001\035\001\027\320\377\027+\2505\3200W\320\377WX\320X_\320_`\377\330\004\007\320\007\031\230\023\377\230A\330\010\017\210x\220\177v\230S\240\014\250A\024\000\373\200q9\000\210_\230A\230\177Q\330\004\013\320\013\034\007\000\337W\240G\2501f\001\047\240\337q\250\006\250aq\001*\250\337!\2506\260\021|\001-\250\337Q\250f\260A\207\0014\260\357A\260V\270\047\0026\260a\357\260v\270Q\235\001=\270Q\367\270f\300\034\002I\310\021\310\367&""\320P\024\000\340\004\037\230\377q\320 0\260\013\270;\377\300k\320QR\330\004\023\177\2209\230H\240A\240w\000\377\007\200|\2207\230!\330\377\010+\2501\250L\270\016\313\300a\213\000\210\202\000\"\022<\230\361x\227\000\210 .\006.\250a\250\337\177\270n\310A\033\031?\240\345(\303\0001\362\001g\0041\260\021\377\3202D\300N\320RS\376U\030\320\023)\250\030\260\021\373\260!/\0108\270\001\3209\277R\320R`\320`\217\031\320\377\023+\2508\2601\260A\376j\010:\270!\320;V\320\337Vd\320deY\0322\260\357(\270!\270\244\tA\300\021{\320B5\000r\320rs\224\032\177>\270h\300a\300q\340\010\377M\310Q\320N|\360\000\337\000}\001K\002\004\000K\002\373L\002\335$\360\010\000\005\010\177\200u\210J\220c\230\310`\367\017\210q\327`\t\034\230=\363\250\001\345`\220aC\230q\330\377\014\031\320\031-\320-@\377\300\005\320E]\320]^\377\320^c\320cd\340\010\377\013\2104\210q\340\014\023\365\220\213\204\002&\313@\014\020\320\020\377#\2401\330\020\023\220?\373\320\"\222\204\002\330\024*\250\047~\277!\340\014\017\210t\220\031\000\377\027\220q\360\016\000\021\025\373\320\024\343`\330\024\027\220\177\377\320&>\270a\270u\300\377A\330\030\033\2305\240\n\377\250#\250_\270M\310\023\177\310E\320Q[\320[n\000\377m\320mn\360\006\000\035\315$Z\000\004\013\233a\270\000\n\033\376\264a\021\220\024\220Q\330\010\377\020\220\007\220q\230\006\230\373l\250\250Bv\210W\220E7\230\024\230\027\000\022\220\333`r\000\377\340\010\027\220t\2307\240\367\047\250\021\370\204\004\017\320\017-\373\250T\335@\047\270\033\300G\357\3101\340\010\005\nA\200\001\376\037DL\310D\320PQ\320\357QX\320X\270 j\320j)kf\002\t\013d57?\337!\313\007\3770\260\004\260A\260W\270\237K\300w\310a\320\002\010\007q\376\234\2006\320\033-\250W\260A\376\262\0477\260t\2701\270G\177\300;\310g\320UV\270\"\372\t\007a\256,X\230T\240\033\357\250D\260\001\375\201+\025\250c\277\260\024\260Z\270w\224\207\001\007\374\260\210\001\262@*\250$\250a\250\177w\260k\300\027\310\001\260B\372\010\007\021f\017\320!9\270\024\377\320=M\310T\320Qd\377\320dh\320hw\320w\357{\320{|X0\3205L\377\310G\320SX""\320X[\377\320[_\320_n\320n\377u\320uz\320z}\360\337\000\000~\001B\335\205\001B\002\335P\344\205\001P\002W\353\205\001W\002\335\\\362\205\001\\\002_\371\205\001_\002\335c\200\206\001c\002u\207\206\001u\002\275|\216\206\001|\002}\002\211\204\007@\377\300\004\300A\300W\310K?\320W^\320^_\220\204\002\t\010\375X\210\204\013\320\0258\270\004\320\377\353\240\023\344\000\024(\000R\320R\376:\000t\320tu\340\020\021\177\330\024 \240\002\240%\370\222\002\377\024!\240\031\250*\260I\347\270Q\340\023\000\310 \034\320\034\1771\260\024\260Q\260a\366\217\001\347:\230S\375 \242!\320*?\267\270q\330,\000\026\240\004\000\025\377\330\030!\240\033\250A\250\373Q\340\006\000\032\2501\320,\357Q\320QR\206A%\320\047\377V\320VZ\320Z[\320\373[\\\272\220\0011\330\024\035\230\377Q\330\024\032\230\047\240\021\347\240!\340\000\006\023\001\340\020\035\377\230_\250A\360\014\000\021?\024\220;\230g\240&\000Z\000\377\037\230y\250\010\260\001\320\3771D\300L\320P_\320\337_h\320hib\006]\320\377]p\320pq\330\030\037\357\230q\340\024\244\226\0026\260\021\357\260&\270\007\240\000\030%\240\337Q\240n\260A\031\002\360\006\367\000\031&\n\003\360\006\000\025\337\030\220v\230T\202\000,\250}a7\003\010\t\330\014 \337`}\014\237\000\230b\240\001\240\310\000\336\365 \220\t""\230\021\350a\"\220\355G\332@\020!\265\000\"\240A\357\240V\2501\262`\220A\220\375Q \001\001\340\014\026\220a\337\330\014\021\320\021\311\226\001h\260\377e\2702\270Q\270a\330\177\014\r\330\020\025\220\\\352\000\273(\250\352`\025\320\025\217\001h\376\374`]\300%\300\177\320V\367W\340\020\022\000;\2701\270?A\340\014\025\220Z\303\000\367\227\001\356\215\227\003H\270A\265\223\001$\2401\337\240A\340\010\020\205`\010\024\327\220A\330\274c\032\332\226\001\014\210\334\007\005\031\002\021\220\021\257\204\005\032\000\357\005\016\210Q\206\224\001\023\220!\377\340\004\"\240!\330\004\n\277\210,\220g\230Q\211\224\001\020\373\210{\200A\340\010\014\210D\363\220\006\325\204\003\000\010\013\2102\210\347R\210q\327\002\227\231\0012\210S\376\202\204\001\023\2204\220q\230\002\217\230\"\230A-\n+\001\030\006r\373\230\021\261\204\003\003\2201\330\014}\017d\002\031\250$\250o\326`\377\020\027\220v\230Q\340\021\377\034\230G\2409\250D\320\2750\345\205\001\020\024\220K\342@\004\336\300a\330\020.\250\352b2\220\377W\230E\240\024\240Z\250\177q\260\003\2609\270A\264d?\025\340\r\022\220#\363!R\005\327#\250Q/\004\021\013\016$\250\257g\260Q\340o\004\014\026\031\023\373\2206\265\000\r\030\230\010\240\373\003\240\265\000\r\340\010\026\220\373k\240\315 \007\200w\210c\373\220\021\277\226\001\014\2105\320\020\372\236\207\002\330\252@U\320\032+\250}4\235\000\005\3205I\310\243`\307\017\210w\355\226\002\340\003\312\233\001\026\220\276\"\0003\2601\340\004B\001a\037\210x\320\027-\254\000\332\233\001\205\205\001\377\010\017\210v\220Q\340\004\375\005\306\210\026\010\032\230%\320\037\376\332\206\002\360\006\000\005\r\210G\377\2208\320\033,\320,@\363\300\001Q\001\337\232\004\013\210;\220\177h\230c\240\025\240d\301\222\001\377\340\014&\320&E\300Q\363\300l\350\206\002\376\205\001\330\014\033\320\257\033B\300\047\245\000\020\310\001\r\337\047\240o\260Q\235@\320\017\377\047\240s\250!\340\020*\377\320*U\320UV\320V\377W\330\020\037\320\037D\300\376\370b\023\320\022)\320)A\035\300\373\002\023\220/\264\206\001\312\230\001""\237\206\001\375a\251\230\0016\220\023\220A\330\375\014\370\233\001A\340\004\024\220O\376\310\227\001\007\200~\220S\230\005\377\230S\240\r\250V\2601\377\260C\260w\270a\330\010\367\030\230\014\232\234\002\010\027\320\027\373(\250\203\227\001\005\014\210?\230\377!\320\033+\2501\200A\377\330\010\014\210F\220!\220\1772\220\\\240\022\2408\006\n\276\266\205\001R\240x\250q#\001\0163\210l\350\211\001.\001\017\210\r\002\200\231\002\360>\001\236\204\002\311\236\002\221\000\320\023#\240\3671\240D\360\235\001\250t\2604\366\314\235\001\270d\201 \030\320QR\313\320R\346\002\010:\004\247\207\001d\250\377&\260\001\260\022\260:\270\375Q\323\236\001~\230Q\230f\240\277G\2507\260!\200\204\206\002\014\335\210\351\001L\240\004P\000\007\250\375q\361\0013\320\026(\250\004\277\250F\260!\2602\312\"\210\365t\363\235\002\020\247\205\001\177\240a\330\337\024#\320#=\317\211\001\031\320\377\0315\260Q\260g\270Ss\320@\235\211\001\200\206\003t\2201V\003\337 \230t\2401\231\233\002 \240\313\007\240\366\205\001\320\344\212\001\367\236\001g\3007W\310A\340(\020\320\203\210\001\230\210\001\365\r\276\210\002%(\004$\240E\250\377\021\340\r\023\2203\220inK\0004\240\177k\000Q\340\200\210\001\377\027\220s\320\032,\250D\377\260\006\260a\260r\270\021\365\330\226\007\027\216\204\002\250f\260G\377\2707\300$\320FY\320\375Y\212\234\001\330\030\035\320\0359\377\270\021\270\047\300\023\320D\\\226`\025\000Z\360\006\334\233\002%\225\214\001\357\016\210d\220\335\215\001\t\016\210\367[\230\017\273\237\001\360\n\000\tI\020\213A\005\001\014\302\234\001\223a1\314\234\003\373}\230\357\234\002\023\2201\340\010.\330\233\001\\\240\021\360\241\0017\306\206\003\022\002\316\365\234\001\177\230a\227\235\001\t\0046\220\375\030\337\241\002\014\025\220Y\230a\353\320\037\224\002\014&\0049\220H\377\230D\240\001\240\026\240y/\260\007\260qe\004\017u\tq\001\377z\250\024\250T\3201A\237\300\024\300Q\3404\005\300\216\001CO\230~\250T\334\214\001\363\242\001\024\224\001\3523\006\036\367@a\361@\014\000\t\376\356CA\330\014\031\230\027\240\377\013""\320+C\3001\300D\377\310\006\310a\310t\320S\367W\320W\264\236\003b\320bi\377\320im\320ms\320s\277t\320tx\320x\254\230\nC\335\002\306\213\001\014\230A\252\236\001q\330\033\020\023\201\204\025\025\310\257`\325\217\002\302C\347a\330\014\332\235\001\303\211\002y\230\004\364\355\000\231\210\001\020\321`5\260T\270\337\026\270q\300\004\207\004q\330\377\020\036\320\036/\250q\330p\370\216\001\255\216\010\360\216\007\373an\320D\211\207\002\376\177\001)\250\021\250/\270\024\273\270V\316\002\007\310x\332\244\002\\\333\320\\\305\241\001\320e\313\003q\360\337\000\000r\001H\336\240\001H\002\177I\002\330\024\025\340\024\233\003\375\010\355\205\004\360\026\000\t\032\230}\037\330\240\001\030\230\016\240d\323\244\003\362\315\245\001>\235\245\001\200\211\004\230!\330\020x\364`\367`\246\215\001\020\022\220!\261\240\001\374\016\001\211\214\003q\200A\360P\001\337\000\t\n\340\014\233 5\260\377V\2708\320CV\320V\377h\320hl\320lm\340\337\014\020\220\017\230\237\221\002\024\220\0375\230\n\240#\224\241\001\354\003\377\240\001\337u\220A\330\020\366\221\001v\240\377S\250\014\260A\340\014\035\357\230U\240!\373\215\003\320\0251\277\260\023\260E\3209\331\000_\223\320_\244\243\001\347\246\001\032\304\240\002\331%0\373\260\001C\003G\230:\240R\257\240q\360\010\204\220\0016\337\246\002\024O\036\230a\330\000\002\226\221\001\330\247\223\001\363\340\025\201\224\003\007\021\024)\320)\367:\270!\367\206\0024\260D\270w\001\270\021\215\242\001}\240CT\000\377\n\000\031+\250!\330\030\177\034\230E\240\025\320&\266\222\001\2675\300\001\202\242\001)\250\376\214\002\250\277a\340\030)\250\021\341\221\002\340\377\024\027\220u\230G\2401\267\340\030\037\235\207\001\340\030\362\223\002\330\357\034 \320 \235\247\001q\330\034\367#\2404\252\000$\000\031\034\277\230;\240c\250\026\344\210\002t\357\2701\330\034\266\221\001\004\250E\377\260\025\260e\2701\330 \337$\240D\320(\273\204\001G\310\356\013\000#\2402\347\224\001\330$(\363\320(\250\001\004\001;\2701\340\377$\047\240y\260\003\2601\377\330(,\320,>\270a\376\003\002?\270q""\340)2\260\367#\260Q\006\016!*\250#\207\250Q\340C\030Q\002W\014\265%+\273\2501\247\244\001q\330\030\365\225\001K\357\3207O\310\320\000 \240\006\377\240a\240t\2504\250v\377\260Q\260d\270\047\300\024O\300V\3101\352\242\001\202\210\004\340\274 \347L\250\001\325\244\001\345\001\320\037/\377\250q\260\004\260F\270!\377\2704\270t\3006\310\021\263\310$\273\241\001\365\214\002 \047I\0001d\260\204\004\370\222\001\034\267\226\001\310\210\001\024\220\271\202$\374\225\223\001\377C)\250\021\360\020\000\377\025\026\330\030#\2403\240}a\304AD\240\004\240A\315Az\000\002A\324D\240e\2505\320`\377\030\033\2309\240D\250\005\357\250U\260!\262B2\260!\361\340\273A\005\000\202`\320\034/\250\336\265\224\001\220t\2301\243\246\0014\320\245\037\242\213\001a\321D\313x\330\225c\320\357#3\2603\334B\030<\270\367E\320A\251\205\004\320mr\320\237ry\320yz\237\204\006\322\254\001\024\374\205\201h\244\205\t\036\230a\360\010\000\371\025\363\"\250\250\006\047\240u\250L\277\270\004\270A\320=\371\250\003_?\340\020\033\2301\340\266\215\002\244\205\005\357\025\030\220y\331##\2401;\340\031\303\224\001\030\031\330\000\000\000\003\377\026\032\230$\230d\240/?\260\021\260,\270a\220A \002_#\240T\250\021\236A7\344\205\003\267K\240w\343\226\001\034\230\005\001e\271\260\347 \232\207\001(\250#\223@#\277\260[\300\007\300u\373\243\001T\343\340\030_\004\332\207\001\261\251\001\320 3\277\2601\260G\2705 \000~\373\320U\303\230\002\034!\240\030\250\367\023\250E\315\207\003L\310A\310\377U\320R[\320[`\320\377`g\320gn\320n|\377\320|}\340\034\047\240qx\254\001E\002\357\232\001\030\036\230b\325\216\002\375\034\306\206\001?\260!\260<\270\367q\330 \221a\240\001\240\021\036+\003\024\027\220q\252\252\001\366\247\001\263\206\001\3075\320@\216\245\003\222\255\002Q\000~\260\327Y\270a\263\246\001\340\204 \034\035\177\330\034 \240\005\240Q\003\001\267\004\320$\350\207\001\005\270\010\003\240\377O\2601\260L\300\005\300.\353\226\001\035(\240\230\253\002\024\317\253\002\262 \361\021\357\205\004\355 \342e\034#\2408\267\250=\270\230\252\001\025""\030\202\0014\377\3204E\300T\310\021\320\375J\272\232\002\030\033\320\0335\260\367S\270\001\223\204\005\0241\3201\177B\300$\300a\320G\230\217\001\375\330\372\231\0012\260$\260a\340\377\0302\3202M\310S\320\275P\347\227\001\0313\260!\250\002,\363\250A\263\210\002A\001\017\300q\310\377\005\310Q\330 #\320#\372\360\260\001S\253\232\002$.\250d\260\277!\3203D\300A\264\000\020\377\000\035.\250U\260\047\270\336\367\225\001\035 \230\177\032\000%\260\177|\3001\330 1\260\255 \367 \240\006\273\211\001\047\300\021\340\375 \312\210\001[\260\004\260H\270wA\330$\262\210\001$%\340\230 \373\013\250\345\210\0028\2503\250a\374\020\005\204\233\001\034\2301\330\034-\237\250Q\320.A;\000\000\007\024\245\027\351bD\321\207\006\330\211\002\340\222&\n\362\234\263\001\020\306\000\231\213\001\035\230A\330\325\020\313\234\001\020\261A\020\237\213\001\020\032\353\230!\274\204\0011\232\235\001\021\330\024\374\333!\254\213\003\"\240!\340\025\035\377\230T\240\024\240]\260#\177\260R\260t\320;P\356\240\002\377\\\320\\`\320`e\320}e\324\234\001\330\024!\320!\373\206\003\374\344\213\003\215\205\001\025$\240G\2505\357\260\004\260E\304\213\001\035\230^\377\250?\270!\2707\300\047\177\310\027\320PT\320T\331\235\005\372\267c4\354\234\001$\240K\250zs\270\021\207\002\350\234\003z\240\034\342\253\002|\323\222\001\252\237\001<\300v\310Q\331\213\003v\211\260\001\030&\310\210\001\033\230:\311a\377*\250%\320/K\3101\217\310F\320R\250\251\001\307\213\001\232\224\001 \336\326\257\001 <\270A\223\214\001x\230\377q\330\030\035\230W\240I\377\250T\260\034\270\\\310\024~\204\205\001U\320UW\320W\205\205\006\277o\320oz\320z\221\253\001\360\247\032\000\031\337\224\002\371\235\001\031\227\227\001\320\377 ;\2704\270z\310\021>\270\236\002\330\0304\260A\331\214\003\232\242\001\177U\270$\270c\300\021\215\224\001\377V\320VX\320XY\330\377\034\"\240%\240|\3203\376\374\221\003\017\320WY\320Y[\373\320[\267 f\330\034!\240\371\027\363\216\001\351\232\001\023\2205\230\001\312\375\260\001z\322\205\001 \237\265\001\267!\025\270\375a#\001\024""\240_\260A\260_\\\300\025\300a\301\213\001D\025\007\267e\3004\215\236\002\320W\322\241\002\030K\034\230\024\006\021\356\207\001\360\215\0010\226\215\002\372\360\205\002X\261\256\002\034 \240\004\240\367E\320)\222 \270U\300);\3105\302\244\002^\320^\261\220\001\357\237\001\377\035\320\0340\260\001\260\027o\270\001\340\025\257\236\001\024\025\361\212\002\3772\260!\2607\270!\340\360\210D\256d\233\231\002\326\210\005.\250k\270\377\024\270Z\320GW\320W\376\300\241\001\360\006\000\0260\250t\313\260?\300\232\002\024\204a\206\265\001G\270\3378\3007\310!\300\215\004 \240\355\001\323\214\0034\220\352\217\002\330\024\030\177\320\030(\250\001\250\030\200\000\024\220\241\001\266\222\004\024\261\262\001;\251\222\001\346\217\004\323@~\252\245\001\027\220c\230\031\240\336\240\001\377Q\330\020\026\220e\230<\303\320\047\356@\363\222\001\363\211\002\376\226\001\026\220\307W\230LP\000\277\227\004\344 \240&\357\320(;\270\331\242\002Z\240q\355\340\333\233\003\016\330\216\205\003\023\320\023\321$\265\244\001\376\232\001r\002=\344\220\001\360\010\376\256\220\0014\320\0370\3200B\377\300!\3005\310\t\320Qwq\320q\206\266\001\340\034*\251\237\004f\000\006\030&\247\002K\004\2201\327\205\002\377\340\025\036\230d\240%\240\377u\250E\260\021\330\0240O\260\t\270\023\245\237\001\276\211\0044\316\231\002\337\034\037\320\0379\025\000E\300;\021\330\205\217\0025\3200\200\221\003\246C\312\274a\340\326\204\001\340\037\010\316\207\0014\240[t\250\031\020\330$\376\267\001=\255\222\003\277(\240u\250G\260\347\221\002x\257\240y\260\001\204\000 \235\270\0013\367\260a\340\343\212\0028\2509\260\327A\3205\311\205\001A\377\221\001E\250^\203\000&\240b\250\274\233\001$\214\273\001\177\007\250y\270\003\320;\260\245\001\372\262\271\001(\212\273\001a\330(+\250\3573\250g\260\203\205\001b\300\007\377\300y\320PS\320Si\333\320i\341\264\001\330,\233\225\0011\270\377A\330,3\2601\330,W-\330$\336A\021\201\222\001Aq\003\376\307\274\001!(\240x\250}\270wA\340\031\237\223\001u\250H\303\214\002\366\254\227\001\004\310\214\267\004\016""\250a\250\237u\260I\270S\244\213\001\307\223\0011\375\340\2304\330$)\250\031\260\377%\260w\270g\300^\320\363ST\357\211\001\254\275\001%(\240t\373\320+\244\213\001\025\310i\320W\027\\\320\\\217\250\002(\322\220\001\320\"\222\246\004R\321\214\0039\376\224\001\225\212\001\001\312\206\001\"\344\250\002\335 \275\224\001\177\260a\325\212\002$%\316\244\224\001A\240Q\214C\302\270\001\240g\273\250Q\337\247\001\036\250~\244\253\002W\334\245\263\001\355\231\tf\320f\236\227\001\320m\370\273`\367\215\001\216\223\004\"\240.\260\001\372\232eq\367\217\005\177\250a\250|\272\345\234\001\300\215\220\002\030\220\177\037>c\361\240\342\212\005\342\271\001\365\207\002t\230?\250\377!\250<\260w\270d\300\335!\267\226\001q\340\031\330\250\002\250\\\037\270\026\270t\300\343\222\005\370\254\002\372\271\004\372\204\272\0019\213\221\001\340\034=\270T\327\300\021\330\261\204\005BA\001\360\006\377\000!(\320\047T\320T\375U\352A\n\260!\330\"%\273\320%\311\252\001\330$?\270\253\002!\3472\260\025\355\236\001\047\001$\240?\377\260$\260e\270<\300s\377\310/\320Y\\\320\\]\317\330$5\260\355\215\001\027\000#\260\377T\3209J\310$\310j\277\320Xb\320be\347\232\002j\342\325\204\0011\332\227\004\217\273\003\213\217\002\340\031\036\377\230g\240U\250$\250d?\260/\300\021\300,\217\265\001\240\266\003\365`\301\206\0015\335\230\001\330\0303\260\3334\260\260\231\001\031 \224\213\001\033\320\277\0334\260C\260r\235\267\001V\323\320V\233\217\002\321\003\340\311\013\n\000\377!;\320:g\320gh\376\301\003\010\000!5\3204K\376\236\230\001\047\320\0479\270\021\330\263$Q\245\242\005\226\277\002$\047\200#\320\337Uo\320op\277\207\004\230q\364\245\t\217\207\004q\374\215\001:\240T\250\377\024\250_\270A\270\\\310\371\021\366\226\003\335\223\0025\230\004\230I\377\240T\250\022\2504\250z\317\270\024\270W\227\267\002\340\247\002W\240\365A\354\000)\201\243\002\024\027\220w\230\205\254\002\275\275\002\234\205\020\020\023\210\210\001\226\214\001q\277\250\007\250w\260g\270@\026\317\300q\310\004\344\267\001\362\"\025\026\372\333\230\004\034\260""\211\002\030\260\032\320;\372\257\271\002R\372\226\002,\250A\250X\377\260W\270G\3001\330\031\255\032\304\254\001u\240\252\276\004\007\200\234\002\035\3555\272\245\001\320>\363\254\001\320ij\376\356\222\001\006\240d\250\047\260\032\277\2704\270}\310A\321\210\001q?\340!&\240c\250\240\250\001\355\206\006_!2\3202E\266\243\001\330\336\205\001\377\320\0478\3208J\310!\377\3104\310y\320XY\360?\014\000%*\320)\307\303\004\332\215\002\244\317\210\005\337\233\0015\377\243\001\275\221\001\014\231\002Z\037\320?Q\320Q\231\247\001\364\233\002\314\214\001\047\030\270\026\271\273\001\271\277\001!\240\225\002\216\234\002\370\246\213\001\227\234\001\223\210\001\034 \240\017\250\345q\353\222\004Q\350\231\003\224\216\002\033\2308\357\240=\260\001\222\252\001t\2301\324\343\235\001\261\213A\330\320\250\003\021\242\237\001\320\000\356\355\227\001\n\000\005\200\244\002\220\001\320\375\000\353\260\001\360\020\000\005\023\220\337!\330\004#\240\346\306\001\005\010\277\200t\210=\230\003\257\262\001\023\277\2207\230(\240!\311\250\003\027\377\230\005\230T\240\027\250\001W\250\027\260\224\236\001\r\214\301\001\014\374\301\001\324\312\256\001\332\217\001\010\235\246\002\024\336\237\001\047\320})\237\245\003\027\310\010\320P\236\"\376\276\226\003%\240X\250Q\340\020\037\031\230\032\2401\235\302\004\326\230\001\302\261\001\177\013\2504\250u\3204\266\227\001\352\210\256\001\026\367\246\001?\330\205\001\360\n\000\277\026,\2501\250A\251\231\001\047\177\240e\2509\260C\260\270\303\001\367\025\"\240\270\204\002&\240U\320\235*\376\243\001K\310u\206\207\001\226\211\007\"\277\240\047\250\022\320+\276\236\001\024\337\047\240u\320,\372\252\001k\320)Q\312\252\002\224\261\001(\355\213\002\030!\004\215\250\002\377\030\230\013\320#7\260q\351\340\371\222\001\362B\320\331\222\001\270[\310\357\001\330\034%\336\260\002 O\310\377{\320Z_\320_f\320\377ft\320ty\360\000\000\333z\001\375\274\004B\002\244\216\001!\340\377\035&\240k\260\027\270\005\377\270T\300\024\300U\320J\377f\320fg\320gm\320\377mx\320xy\330\034*\245\250 ""\000\036&\002\302\223\0035\247\217\002\270\377G\3005\310\007\310~\320\365]\300\264\002 \254!S\260\005\260\277S\270\005\320=P\322\302\002V\373\320V\250\242\003k\320kr\360\367\000\000sp\007\360\010\000!\375,\327\226\0034\240q\330$0\3767\000U\270+\300S\310\001\377\310\021\310%\310q\340$\177,\250H\260A\260Q\265\214\001\317\024\250Q\250\362\232\001\036\006Q\330\375 \260\211\001\006\000\035\036\330 \262\353\312\001 \267\251\002\237\241\002\250\001\001\003\013s\2601\355\225\001f\001/\250a\374\211\001\325*\270\216\001$\310\236\002Q$\004\340 \337.\250a\340!\243\265\001U\270\345!\010\003\030\320\231\002\376\204\002\035\330 \257$\320$5\260\232\001\340\002\005f\276\217\305\001\310A\330\034\035\210\247\002\340\377\020&\240a\240x\250{\361\270\305\230\001\226\247\001\246Au\260D\320\3578L\310L\347\313\004\024\031\320\377\0316\260a\3207M\310\375V\371\215\001\004\013\210=\230\007\003\230q"; + PyObject *data = __Pyx_DecompressString_LZSS(cstring, 11349, 17377); + #define __Pyx_DecompressString_UNUSED + if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) + const char* const bytes = __Pyx_PyBytes_AsString(data); + #if !CYTHON_ASSUME_SAFE_MACROS + if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } + #endif + #else /* compression: none (17377 bytes) */ +static const char bytes[] = " -- ( Cmd: Kill: Stop: in library raised from within the callback set in sys.settrace.\nDebugging will be disabled for this thread ((tree fragment))).\n..invalid..pyc/1?Error in linecache.checkcache(%r)Error in linecache.getline(%r, %s, f_globals)Ignore exception NoneNot used in sys.monitoring mode.Note that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the \047annotation_typing\047 directive to False.State:Stop inside ipython callUnable to get topmost frame for thread: %s, thread.ident: %s, id(thread): %s\nCurrent frames: %s.\nGEVENT_SUPPORT: %s[^#]*#.*@IgnoreException\\_pydev_execfile.py_pydevd_bundle/pydevd_cython.pyxadd_notedisableenablegcisenabledpydevd.pypydevd_traceproperty.pythread._ident is None in _get_related_thread! - thread: %sutf-8ALLCMD_SET_FUNCTION_BREAKDEBUG_STARTDEBUG_START_PY3KEXCEPTION_TYPE_HANDLEDEXCEPTION_TYPE_USER_UNHANDLEDFalseForkSafeLockIGNORE_EXCEPTION_TAGNORM_PATHS_AND_BASE_CONTAINERNO_FTRACENonePYDEVD_IPYTHON_CONTEXTPYDEVD_USE_SYS_MONITORINGPYDEV_FILEPYTHON_SUSPENDPyDBAdditionalThreadInfoPyDBAdditionalThreadInfo.__reduce_cython__PyDBAdditionalThreadInfo.__setstate_cython__PyDBAdditionalThreadInfo._get_related_threadPyDBAdditionalThreadInfo._is_steppingPyDBAdditionalThreadInfo.get_topmost_framePyDBAdditionalThreadInfo.update_stepping_infoPyDBFramePyDBFrame.__reduce_cython__PyDBFrame.__setstate_cython__PyDBFrame.do_wait_suspendPyDBFrame.handle_user_exceptionPyDBFrame.set_suspendPyDBFrame.trace_dispatchPyDBFrame.trace_exceptionRETURN_VALUES_DICTSTATE_RUNSTATE_SUSPENDSUPPORT_GEVENTSafeCallWrapperSafeCallWrapper.__reduce_cython__SafeCallWrapper.__setstate_cython__SafeCallWrapper.get_method_objectStopAsyncIterationTRACE_PROPERTYThreadThreadTracerThreadTracer.__reduce_cython__ThreadTracer.__setstate_cython__TopLevelThreadTracerNoBackFrameTopLevelThreadTracerNoBackFrame.__reduce_cython__TopLevelThreadTracerNoBackFrame.__setstate_cython__TopLeve""lThreadTracerNoBackFrame.get_trace_dispatch_funcTopLevelThreadTracerNoBackFrame.trace_dispatch_and_unhandled_exceptionsTopLevelThreadTracerOnlyUnhandledExceptionsTopLevelThreadTracerOnlyUnhandledExceptions.__reduce_cython__TopLevelThreadTracerOnlyUnhandledExceptions.__setstate_cython__TopLevelThreadTracerOnlyUnhandledExceptions.get_trace_dispatch_funcTopLevelThreadTracerOnlyUnhandledExceptions.trace_unhandled_exceptionsTrueUSE_CUSTOM_SYS_CURRENT_FRAMES_MAP_TryExceptContainerObj_TryExceptContainerObj.__reduce_cython___TryExceptContainerObj.__setstate_cython____Pyx_PyDict_NextRef__annotate____bootstrap__bootstrap_inner__call____class_getitem____dict____enter____exit____func____getstate____main____module____name____new____pyx_capi____pyx_checksum__pyx_result__pyx_state__pyx_type__pyx_unpickle_PyDBAdditionalThreadInfo__pyx_unpickle_PyDBFrame__pyx_unpickle_SafeCallWrapper__pyx_unpickle_ThreadTracer__pyx_unpickle_TopLevelThreadTracerNoBackFrame__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__pyx_unpickle__TryExceptContainerObj__pyx_vtable____qualname____reduce____reduce_cython____reduce_ex____set_name____setstate____setstate_cython____test___active_args_bootstrap_bootstrap_inner_current_frames_dict_exec_get_related_thread_global_notify_skipped_step_in_lock_ident_is_coroutine_is_stepping_next_additional_info_original_call_pydev_bundle_pydev_bundle._pydev_saved_modules_pydev_bundle.pydev_is_thread_alive_pydev_bundle.pydev_log_pydevd_bundle_pydevd_bundle.pydevd_bytecode_utils_pydevd_bundle.pydevd_comm_constants_pydevd_bundle.pydevd_constants_pydevd_bundle.pydevd_cython_pydevd_bundle.pydevd_frame_utils_pydevd_bundle.pydevd_utils_set_additional_thread_info_lockabs_real_path_and_baseabsolute_filenameaddadd_additional_infoadd_commandadd_exception_to_frameadditional_infoany_thread_steppingappendapply_files_filterapply_to_settraceargargsasyncio.coroutinesbasenamebreak_on_caught_exceptionsbreak_on_user_uncaught_exceptionsbreakpointscallcan_skipcanonical_normalized_filena""mecheck_excscheck_trace_objcheckcachechildren_variantscline_in_tracebackcmd_factorycmd_step_intocmd_step_overco_filenameco_firstlinenoco_flagsco_namecollect_return_infocollect_try_except_infocompileconditionconstant_to_strconstructed_tid_to_last_framecontainer_objcriticalcurr_statcustom_keydebugdisdisable_tracingdo_wait_suspendenable_tracingencodeendswitheventexc_breakexc_break_caughtexc_break_userexc_infoexc_linenoexcept_lineexceptionexception_breakexception_breakpointexception_typeexclude_exception_by_filterexecfileexpressionff_backf_codef_globalsf_lastif_linenof_localsf_tracef_unhandledfilenamefilename_to_lines_where_exceptions_are_ignoredfilename_to_stat_infofindlinestartsfix_top_level_trace_and_get_trace_funcforce_only_unhandled_tracerframeframe_cache_keyframe_id_to_frameframe_skips_cacheframe_trace_dispatchfrom_user_inputfunc_namefunction_breakpoint_name_to_breakpointgetget_abs_path_real_path_and_base_from_frameget_breakpointget_clsname_for_codeget_current_thread_idget_exception_breakpointget_file_typeget_global_debuggerget_internal_queue_and_eventget_method_objectget_smart_step_into_variant_from_frame_offsetget_thread_idget_topmost_frameget_trace_dispatch_funcgetlineglobal_cache_frame_skipsglobal_cache_skipshandle_breakpoint_conditionhandle_breakpoint_expressionhandle_exceptionhandle_user_exceptionhas_conditionhas_plugin_exception_breakshas_plugin_line_breaksiididentignore_exception_traceignore_exceptions_thrown_in_lines_with_ignore_exceptionignore_system_exit_codein_project_scopeinfoinitial_trace_objis_files_filter_enabledis_line_in_except_blockis_line_in_try_blockis_logpointis_thread_aliveis_unhandled_exceptionis_unwindis_user_uncaughtitemsjjust_raisedkwargslast_raise_linelast_statlinelinecachelineslines_ignoredlinesepmainmake_console_messagemake_io_messagematchmaybe_user_uncaught_exc_infomergedmethod_objectnamenotify_on_first_raise_onlynotify_skipped_step_in_because_of_filtersnotify_thread_not_aliveoriginal_step_cmdosos.pathpathpluginpopprev_user_uncaught_""exc_infopy_dbpydb_disposedpydev_do_not_tracepydev_logpydev_log_exceptionpydev_monkeypydevdpydevd_dont_tracepydevd_file_utilspydevd_tracingqnamequittingraise_linesraise_lines_in_exceptrerefremove_additional_inforemove_exception_from_frameremove_return_values_flagresultretreturnreturn_linereturnsrunselfsend_caught_exception_stacksend_caught_exception_stack_proceededsetset_additional_thread_infoset_suspendset_trace_for_frame_and_parentssetdefaultshould_stopshould_stop_on_exceptionshould_trace_hookshow_return_valuesskip_on_exceptions_thrown_in_same_contextst_mtimest_sizestartswithstatstatestopstop_on_unhandled_exceptionstoppedsuspendsuspend_other_threadssuspend_policysuspended_at_unhandledsysttb_frametb_linenotb_nextthreadthread_trace_functhread_tracerthreadingthreading_activethreading_current_threadthreading_get_identtop_level_thread_tracertop_level_thread_tracer_no_back_framestop_level_thread_tracer_unhandledtracetrace_dispatchtrace_dispatch_and_unhandled_exceptionstrace_exceptiontrace_objtrace_unhandled_exceptionstry_exc_infotry_except_infotry_except_infosupdateupdate_stepping_infouse_setstatevalid_try_except_infosvaluevaluesversionwas_just_raisedweak_threadweakrefwriterPyObject *(PyObject *, int __pyx_skip_dispatch)\000PyObject *(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, int __pyx_skip_dispatch)\000\000int (int __pyx_skip_dispatch)\000set_additional_thread_info\000add_additional_info\000remove_additional_info\000any_thread_stepping\200\001\330\004\005\340\t\n\330\010\013\2101\360\006\000\r\016\330\010)\250\021\330\010\r\320\r7\260q\270\001\200\001\330\004\027\320\027+\2505\3200W\320WX\320X_\320_`\330\004\007\320\007\031\230\023\230A\330\010\017\210x\220v\230S\240\014\250A\330\004\007\200q\330\010\r\210_\230A\230Q\330\004\013\320\013\034\230A\230W\240G\2501\200\001\330\004\047\240q\250\006\250a\200\001\330\004*\250!\2506\260\021\200\001\330\004-\250Q\250f\260A\200\001\330\0044\260A\260V\2701\200\001\330\0046\260a\260v\270Q\200\001""\330\004=\270Q\270f\300A\200\001\330\004I\310\021\310&\320PQ\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\2209\230H\240A\240Q\330\004\007\200|\2207\230!\330\010+\2501\250L\270\016\300a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\177\270n\310A\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220?\240(\250!\2501\330\004\007\200|\2207\230!\330\0101\260\021\3202D\300N\320RS\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023)\250\030\260\021\260!\330\004\007\200|\2207\230!\330\0108\270\001\3209R\320R`\320`a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023+\2508\2601\260A\330\004\007\200|\2207\230!\330\010:\270!\320;V\320Vd\320de\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\0232\260(\270!\2701\330\004\007\200|\2207\230!\330\010A\300\021\320Bd\320dr\320rs\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023>\270h\300a\300q\330\004\007\200|\2207\230!\330\010M\310Q\320N|\360\000\000}\001K\002\360\000\000K\002L\002\330\004\013\2101\200\001\360\010\000\005\010\200u\210J\220c\230\021\330\010\017\210q\360\006\000\t\034\230=\250\001\330\010\013\320\013\034\230C\230q\330\014\031\320\031-\320-@\300\005\320E]\320]^\320^c\320cd\340\010\013\2104\210q\340\014\023\2201\360\006\000\r&\240Q\330\014\020\320\020#\2401\330\020\023\220?\320\"7\260q\270\001\330\024*\250\047\260\021\260!\340\014\017\210t\2201\330\020\027\220q\360\016\000\021\025\320\024\047\240q\330\024\027\220\177\320&>\270a\270u\300A\330\030\033\2305\240\n\250#\250_\270M\310\023\310E\320Q[\320[^\320^m\320mn\360\006\000\035$\2401\330\004\013\2101\200\001\360\010\000\n\033\230!\330\010\021\220\024\220Q\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!""\330\010\027\220q\340\010\027\220t\2307\240\047\250\021\330\004\007\200q\330\010\017\320\017-\250T\260\021\260\047\270\033\300G\3101\340\010\017\320\017-\250T\260\021\260\047\270\033\300A\200\001\360\010\000\n\033\230!\330\010\021\220\024\220Q\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240\047\250\021\330\004\007\200q\330\010\017\320\017L\310D\320PQ\320QX\320Xc\320cj\320jk\340\010\017\320\017L\310D\320PQ\320QX\320Xc\320cd\200\001\360\010\000\n\033\230!\330\010\021\220\024\220Q\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\230?\250\047\260\021\330\004\007\200q\330\010\017\320\0170\260\004\260A\260W\270K\300w\310a\340\010\017\320\0170\260\004\260A\260W\270K\300q\200\001\360\010\000\n\033\230!\330\010\021\220\024\220Q\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033-\250W\260A\330\004\007\200q\330\010\017\320\0177\260t\2701\270G\300;\310g\320UV\340\010\017\320\0177\260t\2701\270G\300;\310a\200\001\360\010\000\n\033\230!\330\010\021\220\024\220X\230T\240\033\250D\260\001\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240\047\250\025\250c\260\024\260Z\270w\300a\330\004\007\200q\330\010\017\320\017*\250$\250a\250w\260k\300\027\310\001\340\010\017\320\017*\250$\250a\250w\260k\300\021\200\001\360\010\000\n\033\230!\330\010\021\220\024\220X\230T\320!9\270\024\320=M\310T\320Qd\320dh\320hw\320w{\320{|\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\2307\240\047\250\025\250c\260\024\3205L\310G\320SX\320X[\320[_\320_n\320nu\320uz\320z}\360\000\000~\001B\002\360\000\000B\002P\002\360\000\000P\002W\002\360\000\000W\002\\\002\360\000""\000\\\002_\002\360\000\000_\002c\002\360\000\000c\002u\002\360\000\000u\002|\002\360\000\000|\002}\002\330\004\007\200q\330\010\017\320\017@\300\004\300A\300W\310K\320W^\320^_\340\010\017\320\017@\300\004\300A\300W\310K\320WX\200\001\360\010\000\n\033\230!\330\010\021\220\024\320\0258\270\004\320\240\023\240A\330\024$\320$R\320RS\320St\320tu\340\020\021\330\024 \240\002\240%\240q\250\001\330\024!\240\031\250*\260I\270Q\340\024 \240\001\340\020\034\320\0341\260\024\260Q\260a\330\020\023\220:\230S\240\001\330\024)\250\021\320*?\270q\330\024!\240\026\240q\330\024\025\330\030!\240\033\250A\250Q\340\030!\240\032\2501\320,Q\320QR\340\020\"\240%\320\047V\320VZ\320Z[\320[\\\330\020\023\2201\330\024\035\230Q\330\024\032\230\047\240\021\240!\340\024\032\230\047\240\021\240!\340\024\035\230Q\340\020\035\230_\250A\360\014\000\021\024\220;\230g\240Q\330\024\025\330\030\037\230y\250\010\260\001\3201D\300L\320P_\320_h\320hi\340\030!\240\032\2501\320,]\320]p\320pq\330\030\037\230q\340\024\027\320\027+\2506\260\021\260&\270\007\270q\330\030%\240Q\240n\260A\330\030\037\230q\360\006\000\031&\240Q\240n\260A\360\006\000\025\030\220v\230T\240\021\240,\250a\330\030\037\230q\340\010\t\330\014 \240\001\330\014\035\230Q\230b\240\001\240\032\2501\330\014\020\220\t\230\021\330\014\022\220\"\220G\2301\330\020!\240\021\240\"\240A\240V\2501\330\020\024\220A\220Q\330\014\020\220\001\340\014\026\220a\330\014\021\320\021-\250Q\250h\260e\2702\270Q\270a\330\014\r\330\020\025\220\\\240\021\240(\250!\330\020\025\320\025%\240Q\240h\250g\260]\300%\300\177\320VW\340\020\025\320\025;\2701\270A\340\014\025\220Z\230q\340\010\r\320\r-\250Q\250f\260H\270A\360\006\000\t$\2401\240A\340\010\020\220\001\330\010\024\220A\330\010\034\230A\330\010\032\230!\330\010\014\210A\330\010\034\230A\330\010\020\220\001\330\010\021\220\021\340\004\013\2101\200\001\360\032\000\005\016\210Q\360\010\000\005\023\220!\340\004\"\240!\330\004\n\210,\220g\230Q\360\006\000\t\020\210{\230\047\240\021\340\010\014\210D\220\006\220a\220q\330\010\014\210D\220\006\220a\220q\330\010\013\2102\210R\210q\330\014\020\220\001\330\010\013\2102\210S\220\001\330\014\023\2204\220q\230\002\230\"\230A\340\010\014\210D\220\006\220a\220q\330\010\013\2102\210S\220\001\330\014\023\2204\220r\230\021\340\010\013\2105\220\003\2201""\330\014\017\210{\230\047\240\031\250$\250o\270Q\340\020\027\220v\230Q\340\021\034\230G\2409\250D\3200E\300Q\340\020\024\220K\230y\250\004\250A\250Q\330\020.\250a\330\020\023\2202\220W\230E\240\024\240Z\250q\260\003\2609\270A\330\024\035\230Q\330\024\025\340\r\022\220#\220Q\330\014\017\210{\230\047\240\031\250#\250Q\330\020.\250a\330\020\021\340\r\022\220#\220Q\330\014\017\210{\230\047\240\031\250$\250g\260Q\340\020\027\220v\230Q\340\014\017\210{\230\047\240\031\250#\250Q\330\020.\250a\330\020\021\340\r\022\220#\220Q\330\014\023\2206\230\021\340\r\030\230\010\240\003\2401\330\014\r\340\010\026\220k\240\021\340\004\007\200w\210c\220\021\360\006\000\t\014\2105\320\020%\240W\250A\330\014\025\220U\320\032+\2504\250q\260\005\3205I\310\021\330\014\017\210w\220c\230\021\330\020\027\220v\230Q\360\006\000\r\026\220U\320\0323\2601\340\004\007\200w\210a\210x\320\027-\250Q\330\010\r\320\r\035\230Q\330\010\017\210v\220Q\340\004\005\330\010\032\230&\240\001\330\010\013\320\013\033\2303\230a\330\014\022\220.\240\001\340\010\032\230%\320\037:\270!\2701\360\006\000\005\r\210G\2208\320\033,\320,@\300\001\340\004\007\200|\2207\230!\330\010\013\210;\220h\230c\240\025\240d\250$\250a\340\014&\320&E\300Q\300l\320RS\320SZ\320Z[\330\014\033\320\033B\300\047\310\021\330\020\021\360\006\000\r\047\240o\260Q\330\014\017\320\017\047\240s\250!\340\020*\320*U\320UV\320VW\330\020\037\320\037D\300A\360\006\000\t\023\320\022)\320)A\300\021\360\006\000\t\023\220/\240\021\240!\360\006\000\t\024\220;\230a\340\010\013\2106\220\023\220A\330\014\023\2209\230A\340\004\024\220O\2401\330\004\007\200~\220S\230\005\230S\240\r\250V\2601\260C\260w\270a\330\010\030\230\014\240A\240Q\330\010\027\320\027(\250\001\360\010\000\005\014\210?\230!\320\033+\2501\200A\330\010\014\210F\220!\2202\220\\\240\022\2408\2501\200A\330\010\014\210F\220!\2202\320\025%\240R\240x\250q\200A\330\010\016\210l\230!\2301\200A\330\010\017\210q\200A\330\010\017\210t\2201\200A\330\010\023\2204\220q\330\010\013\2101\330\014\023\320\023#\2401""\240D\250\006\250a\250t\2604\260v\270Q\270d\300\047\310\030\320QR\320RV\320VW\330\010\017\210q\200A\330\010%\240Q\240d\250&\260\001\260\022\260:\270Q\330\010\017\210~\230Q\230f\240G\2507\260!\200A\360\006\000\t\014\2106\220\023\220L\240\004\240D\250\007\250q\330\014\023\2203\320\026(\250\004\250F\260!\2602\260Q\330\014\017\210t\2207\230!\330\020\023\2204\220\177\240a\330\024#\320#=\270Q\340\024\031\320\0315\260Q\260g\270S\320@Q\320QR\360\006\000\t\020\210t\2201\200A\360\006\000\t \230t\2401\330\010\013\320\013 \240\007\240q\330\014\020\320\020)\320)=\270Q\270g\300W\310A\340\010\013\2106\220\023\220A\330\014\020\320\020!\240\021\330\014\020\220\r\230T\240\021\240%\240q\330\014\020\320\020$\240E\250\021\340\r\023\2203\220i\230t\2404\240\177\260g\270Q\340\014\r\330\020\027\220s\320\032,\250D\260\006\260a\260r\270\021\330\020\023\2204\220\177\240a\330\024\027\320\027-\250Q\250f\260G\2707\300$\320FY\320Y]\320]^\330\030\035\320\0359\270\021\270\047\300\023\320DU\320UY\320YZ\360\006\000\021\025\320\024%\240Q\340\010\016\210d\220!\360\n\000\t\016\210[\230\017\240q\250\001\360\n\000\t\020\210q\200A\360\n\000\t\014\2104\210q\330\014\023\2201\340\010\013\2104\210}\230C\230q\330\014\023\2201\340\010\021\220\024\220\\\240\021\330\010\013\2107\220#\220Q\330\014\023\2201\340\010\013\2104\210\177\230a\230q\330\014\023\2201\340\010\013\2106\220\030\230\023\230A\330\014\025\220Y\230a\320\037]\320]^\330\014\023\2201\340\010\013\2109\220H\230D\240\001\240\026\240y\260\007\260q\330\014\023\2201\340\010\017\210q\200A\360\n\000\t\014\2104\210}\230C\230z\250\024\250T\3201A\300\024\300Q\340\014\023\2201\340\010\013\2104\210}\230C\230~\250T\260\024\260Q\360\006\000\r\024\2201\340\010\017\210q\200A\360\n\000\t\036\230Q\230a\200A\360\014\000\t\014\2106\220\023\220A\330\014\031\230\027\240\013\320+C\3001\300D\310\006\310a\310t\320SW\320W]\320]^\320^b\320bi\320im\320ms\320st\320tx\320x}\360\000\000~\001B\002\360\000\000B\002C\002\330\014\020\220\014\230A\340\014\017\210q\330\020\023\320\023#""\2401\240D\250\006\250a\250t\2604\260v\270Q\270d\300\047\310\025\310a\330\024\033\2304\230q\340\r\023\2203\220a\330\014\027\220t\2301\330\014\017\210y\230\004\230D\240\003\2401\330\020#\320#5\260T\270\026\270q\300\004\300D\310\006\310a\310q\330\020\036\320\036/\250q\330\020 \320 1\260\024\260Q\260a\330\020\023\220>\240\023\240A\330\024$\320$5\260Q\260n\320DZ\320Z[\330\020\023\320\023)\250\021\250/\270\024\270V\3001\300D\310\007\310x\320WX\320X\\\320\\d\320de\320ei\320im\320mq\360\000\000r\001H\002\360\000\000H\002I\002\330\024\025\340\024\033\2304\230q\340\010\017\210t\2201\200A\360\026\000\t\032\230\037\250\001\330\010\030\230\016\240d\250!\2506\260\021\330\010\013\210>\230\023\230A\360\006\000\r\026\220U\230!\330\020\021\330\020\021\330\020\026\220a\330\020\022\220!\2201\330\020\021\330\020\021\360\006\000\t\020\210q\200A\360P\001\000\t\n\340\014\023\320\0235\260V\2708\320CV\320Vh\320hl\320lm\340\014\020\220\017\230q\360\n\000\r\024\2205\230\n\240#\240Q\330\014\036\320\036/\250q\340\014\017\210u\220A\330\020\027\220x\230v\240S\250\014\260A\340\014\035\230U\240!\330\014\r\330\020\025\320\0251\260\023\260E\3209\\\320\\_\320_d\320de\360\006\000\r\032\230\024\230Q\330\014\027\220t\2301\330\0140\260\001\340\014\017\210u\220G\230:\240R\240q\360\010\000\021\024\2206\230\023\230A\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\025\033\2303\230a\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\024)\320):\270!\330\024#\320#4\260D\270\001\270\021\330\024\027\220}\240C\240q\360\n\000\031+\250!\330\030\034\230E\240\025\320&:\270!\2705\300\001\360\006\000\035)\250\004\250A\250Q\250a\340\030)\250\021\320*?\270q\340\024\027\220u\230G\2401\340\030\037\230t\2401\340\030\033\2304\230q\330\034 \320 6\260a\260q\330\034#\2404\240q\360$\000\031\034\230;\240c\250\026\250t\2604\260t\2701\330\034\037\230y\250\004\250E\260\025\260e\2701\330 $\240D\320(C\3001\300G\3101\330 #\2402\240W\250A\330$(\320(:\270!\330$(\320(;\2701\340$\047\240y\260\003""\2601\330(,\320,>\270a\330(,\320,?\270q\340)2\260#\260Q\330(,\320,>\270a\330(,\320,?\270q\340!*\250#\250Q\340 $\240D\320(C\3001\300G\3101\330 #\2402\240W\250A\330$(\320(;\2701\340$(\320(:\270!\330$(\320(;\2701\340\025\033\2303\230a\330\024+\2501\330\024\027\220q\330\030%\240W\250K\3207O\310q\330\034 \240\006\240a\240t\2504\250v\260Q\260d\270\047\300\024\300V\3101\310D\320PU\320UY\320YZ\340\030\034\230L\250\001\330\030\033\2301\330\034\037\320\037/\250q\260\004\260F\270!\2704\270t\3006\310\021\310$\310g\320UZ\320Z[\330 \047\240t\2501\340\024\033\2304\230q\360\006\000\025\034\2304\230q\360\006\000\021\024\2206\230\023\230A\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\340\025\033\2303\230a\330\024\036\230a\330\024 \240\001\330\024\036\230a\330\024)\250\021\360\020\000\025\026\330\030#\2403\240a\330\030\034\230D\240\004\240A\330\030\034\230A\330\030\034\230A\330\030\034\230E\240\025\240e\2505\260\001\340\030\033\2309\240D\250\005\250U\260!\330\034 \320 2\260!\340\034 \320 2\260!\330\030\034\320\034/\250q\340\024\027\220t\2301\330\030\033\2304\320\0375\260Q\260a\330\034#\2404\240q\340\025\033\2303\230a\330\024\036\230a\330\024\036\230a\330\024 \240\001\330\024)\250\021\330\024\027\220u\230G\320#3\2603\260e\2701\330\030<\270E\320Ah\320hl\320lm\320mr\320ry\320yz\340\025\033\2303\230a\330\024)\250\021\330\024+\2501\330\024\027\220q\330\030%\240W\250K\3207O\310q\330\034 \240\006\240a\240t\2504\250v\260Q\260d\270\047\300\024\300V\3101\310D\320PU\320UY\320YZ\340\030\034\230L\250\001\330\030\033\2301\330\034\037\320\037/\250q\260\004\260F\270!\2704\270t\3006\310\021\310$\310g\320UZ\320Z[\330 \047\240t\2501\330\024\036\230a\330\024 \240\001\330\024\036\230a\360\010\000\025\034\2304\230q\340\014\017\210t\2201\330\020\047\240u\250L\270\004\270A\320=]\320]^\320^_\340\020\033\2301\340\020\023\2204\220}\240C\240q\360\n\000\025\030\220y\240\004\240A\330\030#\2401\340\031\"\240!\330\030\031\330\030\031\330\030\031\330\030\031\330\026\032\230$\230d\240/\260\021""\260,\270a\330\030#\2401\340\031\"\240#\240T\250\021\330\030#\2407\250!\330\030\034\230K\240w\250a\330\030\034\230K\240w\250e\2601\330\030\035\230U\240(\250#\250U\260#\260[\300\007\300u\310G\320ST\340\030#\2401\340\031\"\240#\240Q\330\030\033\2305\320 3\2601\260G\2705\300\007\300~\320U[\320[\\\330\034!\240\030\250\023\250E\260\023\260E\3209L\310A\310U\320R[\320[`\320`g\320gn\320n|\320|}\340\034\047\240q\340\031\"\240#\240Q\330\030\034\230A\330\030\036\230b\240\007\240q\330\034\037\230t\240?\260!\260<\270q\330 !\330\034 \240\001\240\021\340\034\047\240q\340\024\027\220q\330\030\033\230?\250\047\260\025\260e\2705\320@X\320X[\320[`\320`a\330\034\047\240~\260Y\270a\270w\300a\340\030\031\330\034\035\330\034 \240\005\240Q\330\034 \240\004\320$4\260D\270\005\270Q\330\034 \240\004\240O\2601\260L\300\005\300Q\360\006\000\035(\240q\360\016\000\021\024\2201\360\006\000\026\032\230\021\330\024\027\220q\330\030\033\2301\330\034#\2404\240q\340\034#\2408\250=\270\001\360\010\000\025\030\220q\330\0304\3204E\300T\310\021\320J[\320[\\\330\030\033\320\0335\260S\270\001\330\034#\2404\240q\340\0241\3201B\300$\300a\320GY\320YZ\330\024\027\320\0272\260$\260a\340\0302\3202M\310S\320PQ\360\006\000\0313\260!\340\030\031\330\034,\250A\330\034 \320 5\260S\270\017\300q\310\005\310Q\330 #\320#4\260A\260S\270\007\270q\330$.\250d\260!\3203D\300A\300Q\360\020\000\035.\250U\260\047\270\021\360\006\000\035 \230\177\250d\260%\260|\3001\330 1\260\021\340\034 \240\006\320&:\270\047\300\021\340 #\2402\240[\260\004\260H\270A\330$>\270a\330$%\340\034 \240\013\2501\330 #\2408\2503\250a\330$>\270a\330$%\360\006\000\031\034\2301\330\034-\250Q\320.A\300\021\340\034-\250Q\320.A\300\021\340\024\027\220y\240\004\240D\250\001\330\030\033\2301\330\034#\2404\240q\340\034#\2408\250=\270\001\360\n\000\r\016\330\020,\250A\360\010\000\021\035\230A\330\020\035\230Q\330\020\027\220q\330\020\036\230a\330\020\032\230!\340\020\023\2201\330\024!\240\021\330\024\033\2301\330\024 \240\001\330\024\"\240!\340\025\035\230T\240""\024\240]\260#\260R\260t\320;P\320PW\320W\\\320\\`\320`e\320eh\320hi\330\024!\320!5\260Q\260a\330\024 \240\001\330\024\033\2301\340\025$\240G\2505\260\004\260E\270\021\330\024\035\230^\250?\270!\2707\300\047\310\027\320PT\320TZ\320Z[\320[\\\330\024\027\220q\330\0304\260A\330\030$\240K\250z\270\021\340\020\023\2201\360\006\000\025\030\220z\240\034\250W\260A\330\030\035\320\035:\270!\270<\300v\310Q\340\024\027\220u\230C\230q\330\030&\240a\330\030\033\230:\240Q\330\034*\250%\320/K\3101\310F\320R^\320^_\330\034\037\230t\2401\330 \047\240q\330 <\270A\340\024\027\220x\230q\330\030\035\230W\240I\250T\260\034\270\\\310\024\310U\320RU\320UW\320W[\320[`\320`g\320go\320oz\320z{\320{|\360\032\000\031 \230t\2401\360\006\000\025\031\230\005\230S\320 ;\2704\270z\310\021\330\030\037\230q\330\0304\260A\340\030\033\2304\230\177\250g\260U\270$\270c\300\021\300$\320FV\320VX\320XY\330\034\"\240%\240|\3203C\3001\300D\310\017\320WY\320Y[\320[e\320ef\330\034!\240\027\250\014\260A\260Q\340\020\023\2205\230\001\330\024\027\220z\240\021\340\034 \320 0\260\004\260E\270\025\270a\330\034!\240\024\240_\260A\260\\\300\025\300a\340\030\034\230D\320 0\260\004\260E\270\025\270e\3004\300\177\320VW\320Wc\320cd\330\030\034\230D\320 0\260\004\260E\270\021\330\030\031\330\034 \320 0\260\003\2601\330\034 \240\005\240X\250W\260A\330\034 \240\004\240E\320)<\270A\270U\300)\3105\320PW\320W^\320^l\320lm\360\006\000\031\035\320\0340\260\001\260\027\270\001\340\025\032\230!\330\024\025\330\030\034\320\0342\260!\2607\270!\340\030\035\320\035:\270!\340\020\023\2201\330\024\030\230\014\240A\330\030\031\330\030\031\330\030.\250k\270\024\270Z\320GW\320WZ\320Z[\360\006\000\0260\250t\260?\300\047\310\021\330\024\035\230^\2508\2601\260G\2708\3007\310!\330\024\027\220q\330\030 \240\001\360\006\000\021\024\2204\220}\240C\240q\330\024\030\320\030(\250\001\250\030\260\027\270\007\270q\330\024\033\2304\230q\340\024\027\220t\230;\240d\250!\340\030)\250\021\320*<\270A\360\n\000\021\027\220c\230\031\240\"\240A\240Q\330\020\026""\220e\230<\320\047<\270A\330\024\025\340\030\031\330\030\031\360\006\000\021\026\220W\230L\250\001\250\021\330\020\023\2204\220z\240\021\240&\320(;\2701\330\024\035\230Z\240q\340\020\021\360\006\000\r\016\330\020\036\230a\330\020\023\320\023$\320$7\260w\270a\330\024\027\220t\230=\250\004\250A\360\010\000\031\034\2304\320\0370\3200B\300!\3005\310\t\320Qq\320qr\320rs\340\034*\250$\250o\270Q\340\034*\250$\250o\270Q\340\030&\240d\250!\340\020\036\230a\330\020\023\2201\330\024\033\2301\340\025\036\230d\240%\240u\250E\260\021\330\0240\260\t\270\023\270A\330\024\027\220q\330\030\033\2304\230t\2401\330\034\037\320\0379\270\023\270E\300\021\330 \047\240t\2505\3200C\3001\300G\3105\320PW\320We\320ef\340 \047\240q\340\034\037\320\0379\270\023\270E\300\021\340 #\2404\240t\2505\3200C\3001\300G\3105\320PW\320We\320ef\330$+\2508\260=\300\001\360\006\000\035(\240u\250G\2601\330\034\037\230x\240y\260\001\260\021\330 +\2508\2603\260a\340\034\037\230t\2408\2509\260A\3205K\3101\310A\330 $\240E\250\021\330 &\240b\250\007\250q\330$\047\240q\250\007\250y\270\003\320;Q\320QR\320RS\330(-\250Q\250a\330(+\2503\250g\260U\270$\270b\300\007\300y\320PS\320Si\320ij\320jk\330,5\260V\2701\270A\330,3\2601\330,-\330$(\250\001\250\021\340 $\240A\340\034\037\230t\2401\360\006\000!(\240x\250}\270A\340\031#\2404\240u\250H\260G\2705\300\004\300D\310\004\310A\330\030\033\2305\240\016\250a\250u\260I\270S\300\005\300Q\330\034#\2401\340\034\037\320\0379\270\023\270E\300\021\330 \047\240t\2505\3200C\3001\330$)\250\031\260%\260w\270g\300^\320ST\340 #\2401\360\006\000%(\240t\320+E\300T\310\025\310i\320W\\\320\\c\320cd\330(/\250q\340 \047\240q\340\030\037\230q\340\024\027\220q\330\030\033\2309\240C\240q\340\034 \240\001\330\034\"\240\"\240G\2501\330 #\2404\240\177\260a\260|\3001\330$%\330 $\240A\240Q\340 \047\240q\340\024\027\220\177\240g\250Q\330\030!\240\036\250~\270Q\270g\300W\310G\320SW\320W]\320]^\320^b\320bf\320fl\320lm\320mq\320q|\320|}\330\030\033\2301\330\034\"\240.\260\001\340\025\036\230d\240%\240q\360""\010\000\025\034\2304\230\177\250a\250|\2707\300$\300a\360\010\000\025\030\220\177\240g\250Q\330\030!\240\036\250~\270Q\270g\300W\310G\320SW\320W]\320]^\320^b\320bf\320fl\320lm\320mq\320q|\320|}\330\030\033\2301\330\034\"\240.\260\001\340\025\036\230c\240\021\330\024\033\2301\330\024\033\2305\240\001\330\024\027\220t\230?\250!\250<\260w\270d\300!\340\030\037\230q\340\031\035\230_\250A\250\\\270\026\270t\3001\330\030\033\2304\320\0379\270\024\270Q\360\006\000\035$\2401\360\006\000\0359\270\004\270A\340\034=\270T\300\021\330\034\037\320\0379\270\023\270B\270d\300!\360\006\000!(\320\047T\320TU\330$(\250\n\260!\330\"%\320%R\320RS\330$?\270q\360\n\000!2\260\025\260g\270Q\360\006\000!$\240?\260$\260e\270<\300s\310/\320Y\\\320\\]\330$5\260Q\330 #\240?\260#\260T\3209J\310$\310j\320Xb\320be\320ei\320ij\330$+\2501\340\030\033\2304\230q\360\006\000\035$\2408\250=\270\001\340\031\036\230g\240U\250$\250d\260/\300\021\300,\310d\320R[\320[_\320_`\360\010\000\0315\260D\270\001\330\0303\2604\260q\360\010\000\031 \230q\330\030\033\320\0334\260C\260r\270\024\320=V\320VY\320YZ\330\034=\270T\300\021\340\034\037\320\0379\270\023\270B\270d\300!\360\n\000!;\320:g\320gh\330$?\270q\360\010\000!5\3204K\3101\330 \047\320\0479\270\021\330$Q\320QR\320RV\320V`\320`a\330$\047\320\047T\320TU\320Uo\320op\360\010\000\031\034\2304\230q\360\006\000\035$\2408\250=\270\001\340\025\036\230d\240%\240q\330\024\033\230:\240T\250\024\250_\270A\270\\\310\021\360\006\000\025\034\2301\340\020\023\2205\230\004\230I\240T\250\022\2504\250z\270\024\270W\300A\300W\310A\330\024\035\230W\240A\240U\250)\260:\270Q\330\024\027\220w\230g\240Q\330\030\033\2305\240\016\250a\250u\260I\270S\300\005\300Q\330\034#\2401\340\020\023\2201\330\024\"\240%\240q\250\007\250w\260g\270T\300\026\300q\310\004\310K\320W\\\320\\]\330\025\026\330\024\027\220q\330\030\034\230L\250\001\250\030\260\032\320;M\310T\320QR\330\030\034\320\034,\250A\250X\260W\270G\3001\330\031\032\330\030\037\230u\240A\330\030\033\2305\240\007\240q\360\010\000\0355""\260C\260w\320>h\320hi\320ij\330\034 \240\006\240d\250\047\260\032\2704\270}\310A\330 \047\240q\340!&\240c\250\021\360\006\000!(\240x\250}\270A\340!2\3202E\300W\310A\330 #\2404\320\0478\3208J\310!\3104\310y\320XY\360\014\000%*\320)I\310\021\310&\320PX\320XY\330$+\2508\260=\300\001\340\030\033\2305\240\007\240q\340\034 \240\014\250A\250X\260Z\320?Q\320QU\320UV\330\034 \320 0\260\001\260\030\270\026\270w\300a\360\006\000\035!\320 3\2601\330\034 \320 <\270A\330\034 \320 3\2601\330\034 \240\017\250q\330\034 \320 5\260Q\360\006\000\021\024\2205\230\001\330\024\033\2308\240=\260\001\340\020\027\220t\2301\360\010\000\021\027\220c\230\031\240\"\240A\240Q\330\020\026\220e\230<\320\047<\270A\330\024\025\340\030\031\330\030\031\360\006\000\021\026\220W\230L\250\001\250\021\330\020\023\2204\220z\240\021\240&\320(;\2701\330\024\035\230Z\240q\330\020\021\360\006\000\r\021\220\017\230q\320\000\036\230a\360\n\000\005\014\2104\210q\220\001\320\000t\320tu\360\020\000\005\023\220!\330\004#\2401\360\006\000\005\010\200t\210=\230\003\2301\330\010\023\2207\230(\240!\340\010\013\2106\220\027\230\005\230T\240\027\250\001\250\027\260\001\360\006\000\r\033\230!\330\014#\2401\330\014\r\330\020\023\2205\230\010\240\007\240q\330\024\035\230U\240\047\320)9\270\021\270\047\300\027\310\010\320PU\320UV\330\024\027\220q\330\030%\240X\250Q\340\020\031\230\032\2401\340\014\017\210t\2201\340\020\023\220:\230S\240\013\2504\250u\3204L\310A\310Q\360\006\000\026 \230t\240?\260/\300\021\360\n\000\026,\2501\250A\360\010\000\025\047\240e\2509\260C\260q\360\006\000\025\"\240\021\360\006\000\025&\240U\320*C\3001\300K\310u\320TU\330\024\027\220\177\240g\250Q\330\030\"\240\047\250\022\320+;\2701\340\024\047\240u\320,E\300Q\300k\320QV\320VW\330\024\027\320\027(\250\007\250q\330\030\"\240\047\250\022\320+=\270Q\340\024\030\230\013\320#7\260q\340\030&\240a\340\030\033\2305\320 <\270A\270[\310\001\330\034%\240V\2501\330 O\310{\320Z_\320_f\320ft\320ty\360\000\000z\001A\002\360\000\000A\002B\002\340\034*\250!\340\035&""\240k\260\027\270\005\270T\300\024\300U\320Jf\320fg\320gm\320mx\320xy\330\034*\250!\340\035\036\340\034*\250!\330\034\037\230t\2405\320(;\2701\270G\3005\310\007\310~\320]c\320cd\330 %\240X\250S\260\005\260S\270\005\320=P\320PQ\320QV\320V_\320_d\320dk\320kr\360\000\000s\001A\002\360\000\000A\002B\002\360\010\000!,\2501\330 #\2404\240q\330$0\260\005\260U\270+\300S\310\001\310\021\310%\310q\340$,\250H\260A\260Q\330$)\250\024\250Q\250e\2601\330$0\260\005\260U\270+\300Q\330 ?\270q\360\006\000\035\036\330 )\250\021\330 $\240E\250\021\330 $\240D\250\001\330 $\240D\250\013\2601\260E\270\021\360\010\000!/\250a\360\006\000!*\250\021\330 $\240D\250\005\250Q\330 $\240D\250\001\340 .\250a\340!1\260\024\260U\270!\340 .\250a\340\030\033\2301\330\0343\2601\330\034\035\330 $\320$5\260Y\270a\340 $\320$5\260Y\270f\300G\3101\310A\330\034\035\340\014\017\210q\340\020&\240a\240x\250{\270\047\300\021\340\020\023\320\023(\250\007\250u\260D\3208L\310L\320X_\320_`\330\024\031\320\0316\260a\3207M\310V\320ST\340\004\013\210=\230\007\230q"; PyObject *data = NULL; - CYTHON_UNUSED_VAR(__Pyx_DecompressString); + #define __Pyx_DecompressString_UNUSED + #define __Pyx_DecompressString_LZSS_UNUSED #endif PyObject **stringtab = __pyx_mstate->__pyx_string_tab; Py_ssize_t pos = 0; - for (int i = 0; i < 404; i++) { - Py_ssize_t bytes_length = index[i].length; + for (int i = 0; i < 405; i++) { + Py_ssize_t bytes_length = str_length_index[i].length; PyObject *string = PyUnicode_DecodeUTF8(bytes + pos, bytes_length, NULL); if (likely(string) && i >= 41) PyUnicode_InternInPlace(&string); if (unlikely(!string)) { @@ -43742,8 +49438,8 @@ const char* const bytes = "1 Cmd: Error in linecache.checkcache(%r)Error in line stringtab[i] = string; pos += bytes_length; } - for (int i = 404; i < 451; i++) { - Py_ssize_t bytes_length = index[i].length; + for (int i = 405; i < 452; i++) { + Py_ssize_t bytes_length = bytes_length_index[i-405].length; PyObject *string = PyBytes_FromStringAndSize(bytes + pos, bytes_length); stringtab[i] = string; pos += bytes_length; @@ -43753,25 +49449,29 @@ const char* const bytes = "1 Cmd: Error in linecache.checkcache(%r)Error in line } } Py_XDECREF(data); - for (Py_ssize_t i = 0; i < 451; i++) { + for (Py_ssize_t i = 0; i < 452; i++) { if (unlikely(PyObject_Hash(stringtab[i]) == -1)) { __PYX_ERR(0, 1, __pyx_L1_error) } } #if CYTHON_IMMORTAL_CONSTANTS { - PyObject **table = stringtab + 404; + PyObject **table = stringtab + 405; for (Py_ssize_t i=0; i<47; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -43792,16 +49492,20 @@ const char* const bytes = "1 Cmd: Error in linecache.checkcache(%r)Error in line { PyObject **table = __pyx_mstate->__pyx_number_tab; for (Py_ssize_t i=0; i<14; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -43812,6 +49516,9 @@ const char* const bytes = "1 Cmd: Error in linecache.checkcache(%r)Error in line return -1; } /* #### Code section: init_codeobjects ### */ +#ifdef __cplusplus +namespace { +#endif typedef struct { unsigned int argcount : 3; unsigned int num_posonly_args : 1; @@ -43820,6 +49527,9 @@ typedef struct { unsigned int flags : 10; unsigned int first_line : 12; } __Pyx_PyCode_New_function_description; +#ifdef __cplusplus +} /* anonymous namespace */ +#endif /* NewCodeObj.proto */ static PyObject* __Pyx_PyCode_New( const __Pyx_PyCode_New_function_description descr, @@ -43857,12 +49567,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[4] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_4D8J_m___xx_X_X_y_y_O_O_S_S_c, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[4])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[4] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_8_NdR__cc_A_A_A_A_S_S_W_W_g_g_k, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[4])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[5] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6avQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[5])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[5] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6avQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[5])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 223}; @@ -43897,12 +49607,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[12] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_WA_q_7t1G_gUV, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[12])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[12] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_WA_q_7t1G_gUV_7, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[12])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[13] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_4AV1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[13])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[13] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_4AV1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[13])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS), 493}; @@ -43932,12 +49642,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[19] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_A_G1F_a_vWE_Q_q_t7_c_Zwa_q_aw, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[19])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[19] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_XT_D_q_l_vWE_Q_q_t7_c_Zwa_q_awk, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[19])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[20] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_q_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[20])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[20] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_q_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[20])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {7, 0, 0, 22, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1380}; @@ -43962,12 +49672,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[25] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_q_0_AWKwa_0_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[25])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[25] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_q_0_AWKwa_0_AWK, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[25])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[26] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_QfA, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[26])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[26] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_QfA, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[26])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 15, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1710}; @@ -43992,12 +49702,12 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[31] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t7_q_LDPQQXXccj, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[31])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[31] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t7_q_LDPQQXXccjjk, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[31])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[32] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_I_PQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[32])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[32] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_I_PQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[32])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 9, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1927}; @@ -44012,22 +49722,22 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[35] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_5T9I_M_ddsswwx_G1F_a_vWE_Q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[35])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[35] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_XT_9_MTQddhhww_q_l_vWE_Q_q_t7_c, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[35])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[36] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_QfA_2, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[36])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[36] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_QfA_2, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[36])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[37] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t7_q_T_G1_T_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[37])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[37] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t7_q_T_G1_T_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[37])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[38] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[38])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[38] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[38])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 2167}; @@ -44042,37 +49752,37 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[41] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_81A_7_VVdde_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[41])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[41] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_PyDBAdditionalThr, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_81A_7_VVdde_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[41])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[42] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle__TryExceptContain, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[42])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[42] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle__TryExceptContain, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[42])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[43] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_PyDBFrame, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_9HAQ_7_1L_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[43])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[43] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_PyDBFrame, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_9HAQ_7_1L_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[43])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[44] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_SafeCallWrapper, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_1_7_1_2DNRS_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[44])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[44] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_SafeCallWrapper, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_1_7_1_2DNRS_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[44])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[45] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_TopLevelThreadTra, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_haq_7_MQN_K_K_L_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[45])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[45] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_TopLevelThreadTra, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_haq_7_MQN_K_K_L_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[45])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[46] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_2_1_7_A_Bddrrs_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[46])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[46] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_TopLevelThreadTra_2, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_2_1_7_A_Bddrrs_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[46])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[47] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_ThreadTracer, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[47])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[47] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_ThreadTracer, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[47])) goto bad; } Py_DECREF(tuple_dedup_map); return 0; @@ -44083,8 +49793,33 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { /* #### Code section: init_globals ### */ static int __Pyx_InitGlobals(void) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; /* PythonCompatibility.init */ - if (likely(__Pyx_init_co_variables() == 0)); else + if (likely(__Pyx_init_co_variables() == 0 && __Pyx_init_tpflags_variables() == 0)); else + + if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) + + /* PyFrozenDict.init */ + #if CYTHON_COMPILING_IN_LIMITED_API + { + PyObject *builtins = PyEval_GetBuiltins(); // borrowed + if (likely(builtins)) { + PyObject *type_name = PyUnicode_FromStringAndSize("frozendict", sizeof("frozendict")-1); + if (likely(type_name)) { + PyObject *frozendict_type = PyObject_GetItem(builtins, type_name); + Py_DECREF(type_name); + if (!frozendict_type && PyErr_ExceptionMatches(PyExc_KeyError)) { + PyErr_Clear(); + frozendict_type = (PyObject*) &PyDict_Type; + Py_INCREF(frozendict_type); + } + __pyx_mstate_global->__Pyx_PyFrozenDictType = frozendict_type; + } + } + } // error handling follows + #endif if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) @@ -44107,7 +49842,17 @@ static int __Pyx_InitGlobals(void) { if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) - /* CythonFunctionShared.init */ + return 0; + __pyx_L1_error:; + return -1; +} +/* #### Code section: init_after_shared_utility ### */ + +static int __Pyx_InitAfterSharedUtility(void) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + /* CythonFunctionPerModule.init */ if (likely(__pyx_CyFunction_init(__pyx_m) == 0)); else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) @@ -44151,48 +49896,50 @@ static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) { } #endif -/* PyErrExceptionMatches (used by PyObjectGetAttrStrNoError) */ -#if CYTHON_FAST_THREAD_STATE -static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(tuple); - for (i=0; itp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) + return 1; + } + return 0; } - return 0; + return __Pyx_InBases(a, b); } -static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) { - int result; - PyObject *exc_type; -#if PY_VERSION_HEX >= 0x030C00A6 - PyObject *current_exception = tstate->current_exception; - if (unlikely(!current_exception)) return 0; - exc_type = (PyObject*) Py_TYPE(current_exception); - if (exc_type == err) return 1; -#else - exc_type = tstate->curexc_type; - if (exc_type == err) return 1; - if (unlikely(!exc_type)) return 0; -#endif - #if CYTHON_AVOID_BORROWED_REFS - Py_INCREF(exc_type); - #endif - if (unlikely(PyTuple_Check(err))) { - result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); - } else { - result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { + PyObject *mro; + if (cls == a || cls == b) return 1; + mro = cls->tp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + PyObject *base = PyTuple_GET_ITEM(mro, i); + if (base == (PyObject *)a || base == (PyObject *)b) + return 1; + } + return 0; } - #if CYTHON_AVOID_BORROWED_REFS - Py_DECREF(exc_type); - #endif - return result; + return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); } #endif -/* PyErrFetchRestore (used by PyObjectGetAttrStrNoError) */ +/* PyErrFetchRestore (used by GivenExceptionMatches) */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { #if PY_VERSION_HEX >= 0x030C00A6 @@ -44251,6 +49998,95 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject } #endif +/* GivenExceptionMatches (used by PyErrExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { + if (exc_type1) { + return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); + } else { + return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); + } +} +static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { + Py_ssize_t i, n; + assert(PyExceptionClass_Check(exc_type)); + n = PyTuple_GET_SIZE(tuple); + for (i=0; i= 0x030C00A6 + PyObject *current_exception = tstate->current_exception; + if (unlikely(!current_exception)) return 0; + exc_type = (PyObject*) Py_TYPE(current_exception); + if (exc_type == err) return 1; +#else + exc_type = tstate->curexc_type; + if (exc_type == err) return 1; + if (unlikely(!exc_type)) return 0; +#endif + #if CYTHON_AVOID_BORROWED_REFS + Py_INCREF(exc_type); + #endif + if (unlikely(PyTuple_Check(err))) { + result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); + } else { + result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); + } + #if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(exc_type); + #endif + return result; +} +#endif + /* PyObjectGetAttrStr (used by PyObjectGetAttrStrNoError) */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { @@ -44300,28 +50136,8 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name) { return result; } -/* TupleAndListFromArray (used by fastcall) */ -#if !CYTHON_COMPILING_IN_CPYTHON && CYTHON_METH_FASTCALL -static CYTHON_INLINE PyObject * -__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; - Py_ssize_t i; - if (n <= 0) { - return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); - } - res = PyTuple_New(n); - if (unlikely(res == NULL)) return NULL; - for (i = 0; i < n; i++) { - if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) { - Py_DECREF(res); - return NULL; - } - Py_INCREF(src[i]); - } - return res; -} -#elif CYTHON_COMPILING_IN_CPYTHON +/* CopyObjectArray (used by TupleOrListFromArrayImpl) */ +#if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) { PyObject *v; Py_ssize_t i; @@ -44330,156 +50146,84 @@ static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRI Py_INCREF(v); } } -static CYTHON_INLINE PyObject * -__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; +#endif + +/* TupleOrListFromArrayImpl (used by TupleFromArray) */ +#if !(PY_VERSION_HEX >= 0x030F0000 && !CYTHON_COMPILING_IN_LIMITED_API) +CYTHON_UNUSED static PyObject * +__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) { if (n <= 0) { return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); } - res = PyTuple_New(n); + PyObject *res = PyTuple_New(n); if (unlikely(res == NULL)) return NULL; + #if CYTHON_COMPILING_IN_CPYTHON __Pyx_copy_object_array(src, ((PyTupleObject*)res)->ob_item, n); - return res; -} -static CYTHON_INLINE PyObject * -__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; - if (n <= 0) { - return PyList_New(0); + #else + Py_ssize_t i; + for (i = 0; i < n; i++) { + Py_INCREF(src[i]); + if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) { + Py_DECREF(res); + return NULL; + } } - res = PyList_New(n); - if (unlikely(res == NULL)) return NULL; - __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); + #endif return res; } #endif -/* BytesEquals (used by UnicodeEquals) */ -static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) { -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL ||\ - !(CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS) - return PyObject_RichCompareBool(s1, s2, equals); -#else - if (s1 == s2) { - return (equals == Py_EQ); - } else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) { - const char *ps1, *ps2; - Py_ssize_t length = PyBytes_GET_SIZE(s1); - if (length != PyBytes_GET_SIZE(s2)) - return (equals == Py_NE); - ps1 = PyBytes_AS_STRING(s1); - ps2 = PyBytes_AS_STRING(s2); - if (ps1[0] != ps2[0]) { - return (equals == Py_NE); - } else if (length == 1) { - return (equals == Py_EQ); - } else { - int result; -#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) - Py_hash_t hash1, hash2; - hash1 = ((PyBytesObject*)s1)->ob_shash; - hash2 = ((PyBytesObject*)s2)->ob_shash; - if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { - return (equals == Py_NE); - } +/* PyObjectCompare (used by UnicodeEquals) */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} #endif - result = memcmp(ps1, ps2, (size_t)length); - return (equals == Py_EQ) ? (result == 0) : (result != 0); - } - } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) { - return (equals == Py_NE); - } else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) { - return (equals == Py_NE); - } else { - int result; - PyObject* py_result = PyObject_RichCompare(s1, s2, equals); - if (!py_result) - return -1; - result = __Pyx_PyObject_IsTrue(py_result); - Py_DECREF(py_result); - return result; +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_str_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + if (op2 == Py_None) goto __pyx_return_true; else goto __pyx_return_false; } -#endif -} - -/* UnicodeEquals (used by fastcall) */ -static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) { -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL - return PyObject_RichCompareBool(s1, s2, equals); -#else - int s1_is_unicode, s2_is_unicode; - if (s1 == s2) { - goto return_eq; + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_return_false; } - s1_is_unicode = PyUnicode_CheckExact(s1); - s2_is_unicode = PyUnicode_CheckExact(s2); - if (s1_is_unicode & s2_is_unicode) { - Py_ssize_t length, length2; - int kind; - void *data1, *data2; - #if !CYTHON_COMPILING_IN_LIMITED_API - if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0)) - return -1; - #endif - length = __Pyx_PyUnicode_GET_LENGTH(s1); - #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely(length < 0)) return -1; - #endif - length2 = __Pyx_PyUnicode_GET_LENGTH(s2); - #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely(length2 < 0)) return -1; - #endif - if (length != length2) { - goto return_ne; - } -#if CYTHON_USE_UNICODE_INTERNALS - { - Py_hash_t hash1, hash2; - hash1 = ((PyASCIIObject*)s1)->hash; - hash2 = ((PyASCIIObject*)s2)->hash; - if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { - goto return_ne; - } - } -#endif - kind = __Pyx_PyUnicode_KIND(s1); - if (kind != __Pyx_PyUnicode_KIND(s2)) { - goto return_ne; - } - data1 = __Pyx_PyUnicode_DATA(s1); - data2 = __Pyx_PyUnicode_DATA(s2); - if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) { - goto return_ne; - } else if (length == 1) { - goto return_eq; - } else { - int result = memcmp(data1, data2, (size_t)(length * kind)); - return (equals == Py_EQ) ? (result == 0) : (result != 0); + + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); } - } else if ((s1 == Py_None) & s2_is_unicode) { - goto return_ne; - } else if ((s2 == Py_None) & s1_is_unicode) { - goto return_ne; - } else { - int result; - PyObject* py_result = PyObject_RichCompare(s1, s2, equals); - if (!py_result) - return -1; - result = __Pyx_PyObject_IsTrue(py_result); - Py_DECREF(py_result); - return result; + goto __pyx_richcmp; } -return_eq: - return (equals == Py_EQ); -return_ne: - return (equals == Py_NE); -#endif + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; } /* fastcall */ -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s) { Py_ssize_t i, n = __Pyx_PyTuple_GET_SIZE(kwnames); @@ -44500,7 +50244,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(!namei)) return NULL; #endif - int eq = __Pyx_PyUnicode_Equals(s, namei, Py_EQ); + int eq = __Pyx_PyUnicode_Equals(s, namei); if (unlikely(eq != 0)) { if (unlikely(eq < 0)) return NULL; return kwvalues[i]; @@ -44508,7 +50252,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO } return NULL; } -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { Py_ssize_t i, nkwargs; PyObject *dict; @@ -44606,7 +50350,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject #endif /* PyObjectFastCall (used by PyObjectCallOneArg) */ -#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs) { PyObject *argstuple; PyObject *result = 0; @@ -44623,10 +50367,8 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * con return result; } #endif -#if CYTHON_VECTORCALL && !CYTHON_COMPILING_IN_LIMITED_API - #if PY_VERSION_HEX < 0x03090000 - #define __Pyx_PyVectorcall_Function(callable) _PyVectorcall_Function(callable) - #elif CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_VECTORCALL && !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY) + #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callable) { PyTypeObject *tp = Py_TYPE(callable); #if defined(__Pyx_CyFunction_USED) @@ -44648,8 +50390,8 @@ static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callab #define __Pyx_PyVectorcall_Function(callable) PyVectorcall_Function(callable) #endif #endif -static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t _nargs, PyObject *kwargs) { - Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs); +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwargs) { + Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(nargsf); #if CYTHON_COMPILING_IN_CPYTHON if (nargs == 0 && kwargs == NULL) { if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS)) @@ -44662,12 +50404,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj #endif if (kwargs == NULL) { #if CYTHON_VECTORCALL - #if CYTHON_COMPILING_IN_LIMITED_API - return PyObject_Vectorcall(func, args, _nargs, NULL); + #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY + return PyObject_Vectorcall(func, args, nargsf, NULL); #else vectorcallfunc f = __Pyx_PyVectorcall_Function(func); if (f) { - return f(func, args, _nargs, NULL); + return f(func, args, nargsf, NULL); } #endif #endif @@ -44675,10 +50417,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj if (nargs == 0) { return __Pyx_PyObject_Call(func, __pyx_mstate_global->__pyx_empty_tuple, kwargs); } - #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API - return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs); - #else + #if CYTHON_COMPILING_IN_LIMITED_API return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs); + #elif CYTHON_COMPILING_IN_PYPY + return PyObject_VectorcallDict(func, args, (size_t) nargs, kwargs); + #else + return PyObject_VectorcallDict(func, args, nargsf, kwargs); #endif } @@ -44688,7 +50432,16 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObjec return __Pyx_PyObject_FastCall(func, args+1, 1 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); } -/* UnpackUnboundCMethod (used by CallUnboundCMethod0) */ +/* IgnoreException (used by UnpackUnboundCMethod_impl) */ +static CYTHON_INLINE int __Pyx_IgnoreGivenException(PyObject *given_exception, PyObject *ignorable_exception) { + if (PyErr_GivenExceptionMatches(given_exception ? given_exception : PyErr_Occurred(), ignorable_exception)) { + PyErr_Clear(); + return 1; + } + return 0; +} + +/* UnpackUnboundCMethod_impl (used by UnpackUnboundCMethod) */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030C0000 static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) { PyObject *result; @@ -44698,20 +50451,9 @@ static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject * Py_DECREF(selfless_args); return result; } -#elif CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x03090000 -static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) { - return _PyObject_Vectorcall - (method, args ? args+1 : NULL, nargs ? nargs-1 : 0, kwnames); -} #else static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { - return -#if PY_VERSION_HEX < 0x03090000 - _PyObject_Vectorcall -#else - PyObject_Vectorcall -#endif - (method, args ? args+1 : NULL, nargs ? (size_t) nargs-1 : 0, kwnames); + return PyObject_Vectorcall(method, args ? args+1 : NULL, nargs ? (size_t) nargs-1 : 0, kwnames); } #endif static PyMethodDef __Pyx_UnboundCMethod_Def = { @@ -44735,7 +50477,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { { PyMethodDescrObject *descr = (PyMethodDescrObject*) method; target->func = descr->d_method->ml_meth; - target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS); + target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST); } else #endif #if CYTHON_COMPILING_IN_PYPY @@ -44747,8 +50489,8 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { int self_found; #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY self = PyObject_GetAttrString(method, "__self__"); - if (!self) { - PyErr_Clear(); + if (!self && !__Pyx_IgnoreException(PyExc_AttributeError)) { + return -1; } #else self = PyCFunction_GET_SELF(method); @@ -44882,7 +50624,7 @@ static int __Pyx_PyDict_NextRef(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, /* RejectKeywords */ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds) { PyObject *key = NULL; - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) { + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kwds))) { key = __Pyx_PySequence_ITEM(kwds, 0); } else { #if CYTHON_AVOID_BORROWED_REFS @@ -44950,9 +50692,15 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) if (likely(result)) { return result; } - PyErr_Clear(); + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; // BaseException + } #elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) PyErr_Clear(); + if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) { + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; // BaseException + } + } __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version) if (likely(result)) { return result; @@ -44963,15 +50711,30 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) if (likely(result)) { return __Pyx_NewRef(result); } - PyErr_Clear(); + PyObject *exc = PyErr_Occurred(); + if (unlikely(exc) && !__Pyx_IgnoreGivenException(exc, PyExc_Exception)) { + return NULL; // BaseException + } #endif return __Pyx_GetBuiltinName(name); } /* PyObjectFastCallMethod */ -#if !CYTHON_VECTORCALL || PY_VERSION_HEX < 0x03090000 +#if !CYTHON_VECTORCALL static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf) { PyObject *result; + switch (__Pyx_PyVectorcall_NARGS(nargsf)) { + case 1: + return PyObject_CallMethodObjArgs(args[0], name, NULL); + case 2: + return PyObject_CallMethodObjArgs(args[0], name, args[1], NULL); + case 3: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], NULL); + case 4: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], args[3], NULL); + case 5: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], args[3], args[4], NULL); + } PyObject *attr = PyObject_GetAttr(args[0], name); if (unlikely(!attr)) return NULL; @@ -44981,6 +50744,142 @@ static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const * } #endif +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +static int __Pyx_PyObject_CompareIntFloatBoolEq(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_false; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign1 > 0) goto __pyx_return_false; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_int_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + if (op2 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_true; + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_true; + if (likely(PyLong_CheckExact(op2))) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* RaiseDoubleKeywords (used by ParseKeywordsImpl) */ static void __Pyx_RaiseDoubleKeywordsError( const char* func_name, @@ -45207,13 +51106,13 @@ static void __Pyx_RejectUnknownKeyword( #endif PyObject *key = NULL; __Pyx_BEGIN_CRITICAL_SECTION(kwds); - while ( - #if CYTHON_AVOID_BORROWED_REFS - __Pyx_PyDict_NextRef(kwds, &pos, &key, NULL) - #else - PyDict_Next(kwds, &pos, &key, NULL) - #endif - ) { + #if CYTHON_AVOID_BORROWED_REFS + while (__Pyx_PyDict_NextRef(kwds, &pos, &key, NULL)) + #else + (void) &__Pyx_PyDict_NextRef; + while (PyDict_Next(kwds, &pos, &key, NULL)) + #endif + { PyObject** const *name = first_kw_arg; while (*name && (**name != key)) name++; if (!*name) { @@ -45423,7 +51322,7 @@ static int __Pyx_ParseKeywords( const char* function_name, int ignore_unknown_kwargs) { - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kwds))) return __Pyx_ParseKeywordsTuple(kwds, kwvalues, argnames, kwds2, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs); else if (kwds2) return __Pyx_ParseKeywordDictToDict(kwds, argnames, kwds2, values, num_pos_args, function_name); @@ -45690,18 +51589,19 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObj } /* JoinPyUnicode */ -static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, - Py_UCS4 max_char) { -#if CYTHON_USE_UNICODE_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS +static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, int kind) { +#if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH && CYTHON_USE_UNICODE_INTERNALS PyObject *result_uval; int result_ukind, kind_shift; Py_ssize_t i, char_pos; void *result_udata; - if (max_char > 1114111) max_char = 1114111; - result_uval = PyUnicode_New(result_ulength, max_char); + static const Py_UCS4 max_char[5] = {0x7fU, 0xffU, 0xffffU, 0xffffU, 0x10ffffU}; + assert (kind >= 0); + if (kind > PyUnicode_4BYTE_KIND) kind = PyUnicode_4BYTE_KIND; + result_uval = PyUnicode_New(result_ulength, max_char[kind]); if (unlikely(!result_uval)) return NULL; - result_ukind = (max_char <= 255) ? PyUnicode_1BYTE_KIND : (max_char <= 65535) ? PyUnicode_2BYTE_KIND : PyUnicode_4BYTE_KIND; - kind_shift = (result_ukind == PyUnicode_4BYTE_KIND) ? 2 : result_ukind - 1; + kind_shift = kind >> 1; // 0, 1, 2 + result_ukind = 1 << kind_shift; // 1, 2, 4 result_udata = PyUnicode_DATA(result_uval); assert(kind_shift == 2 || kind_shift == 1 || kind_shift == 0); if (unlikely((PY_SSIZE_T_MAX >> kind_shift) - result_ulength < 0)) @@ -45712,10 +51612,8 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t ulength; void *udata; PyObject *uval = values[i]; - #if !CYTHON_COMPILING_IN_LIMITED_API if (__Pyx_PyUnicode_READY(uval) == (-1)) goto bad; - #endif ulength = __Pyx_PyUnicode_GET_LENGTH(uval); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(ulength < 0)) goto bad; @@ -45754,11 +51652,11 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, PyObject *result = NULL; PyObject *value_tuple = PyTuple_New(value_count); if (unlikely(!value_tuple)) return NULL; - CYTHON_UNUSED_VAR(max_char); + CYTHON_UNUSED_VAR(kind); CYTHON_UNUSED_VAR(result_ulength); for (i=0; i__pyx_empty_unicode, value_tuple); bad: @@ -45767,14 +51665,60 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, #endif } -/* RaiseUnexpectedTypeError */ -static int -__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) +/* FormatTypeName (used by RaiseErrorWithObjectType1) */ +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +static __Pyx_TypeName +__Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp) { - __Pyx_TypeName obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME, - expected, obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); + PyObject *module = NULL, *name = NULL, *result = NULL; + #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 + name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, + __pyx_mstate_global->__pyx_n_u_qualname); + #else + name = PyType_GetQualName(tp); + #endif + if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad; + module = __Pyx_PyObject_GetAttrStr((PyObject *)tp, + __pyx_mstate_global->__pyx_n_u_module); + if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad; + if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) { + result = name; + name = NULL; + goto done; + } + result = PyUnicode_FromFormat("%U.%U", module, name); + if (unlikely(result == NULL)) goto bad; + done: + Py_XDECREF(name); + Py_XDECREF(module); + return result; + bad: + PyErr_Clear(); + if (name) { + result = name; + name = NULL; + } else { + result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u__2); + } + goto done; +} +#endif + +/* RaiseErrorWithObjectType1 (used by RaiseUnexpectedTypeError) */ +static void __Pyx_RaiseErrorWithType1(PyObject* exc_type, const char* message, const char *arg, PyTypeObject *type_obj) { + __Pyx_TypeName type_name = __Pyx_PyType_GetFullyQualifiedName(type_obj); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif + PyErr_Format(exc_type, message, arg, type_name); + __Pyx_DECREF_TypeName(type_name); +} + +/* RaiseUnexpectedTypeError */ +static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) { + __Pyx_RaiseTypeErrorWithObjectType1( + "Expected %.42s, got " __Pyx_FMT_TYPENAME, + expected, obj); return 0; } @@ -46021,12 +51965,12 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) tstate->curexc_value = 0; tstate->curexc_traceback = 0; #endif -#elif __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#elif __PYX_LIMITED_VERSION_HEX >= 0x030C0000 local_value = PyErr_GetRaisedException(); #else PyErr_Fetch(&local_type, &local_value, &local_tb); #endif -#if __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#if __PYX_LIMITED_VERSION_HEX >= 0x030C0000 if (likely(local_value)) { local_type = (PyObject*) Py_TYPE(local_value); Py_INCREF(local_type); @@ -46044,7 +51988,7 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0)) goto bad; } -#endif // __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#endif // __PYX_LIMITED_VERSION_HEX >= 0x030C0000 Py_XINCREF(local_tb); Py_XINCREF(local_type); Py_XINCREF(local_value); @@ -46091,7 +52035,7 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) PyErr_SetExcInfo(local_type, local_value, local_tb); #endif return 0; -#if __PYX_LIMITED_VERSION_HEX <= 0x030C0000 +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 bad: *type = 0; *value = 0; @@ -46123,6 +52067,31 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb } #endif +/* PyFrozenDict (used by GetItemInt) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE PyObject* __Pyx__PyFrozenDict_New(PyObject* frozendict_type, PyObject* it) { + return PyObject_CallFunctionObjArgs(frozendict_type, it, NULL); +} +#endif + +/* GettItemInt_wraparound (used by GetItemInt) */ +#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY +static int __Pyx_GetItemInt_wraparound(PyObject *o, PySequenceMethods *sm, Py_ssize_t *i) { + assert(*i < 0); + if (likely(sm->sq_length)) { + Py_ssize_t l = sm->sq_length(o); + if (likely(l >= 0)) { + *i += l; + } else { + if (!PyErr_ExceptionMatches(PyExc_OverflowError)) + return -1; + PyErr_Clear(); + } + } + return 0; +} +#endif + /* GetItemInt */ static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { PyObject *r; @@ -46131,21 +52100,33 @@ static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { Py_DECREF(j); return r; } +static PyObject *__Pyx_GetItemInt_Generic_size(PyObject *o, Py_ssize_t i) { + return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); +} static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_SIZE +#if CYTHON_AVOID_BORROWED_REFS + CYTHON_UNUSED_VAR(boundscheck); Py_ssize_t wrapped_i = i; if (wraparound & unlikely(i < 0)) { - wrapped_i += PyList_GET_SIZE(o); + Py_ssize_t size = __Pyx_PyList_GET_SIZE(o); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(size < 0)) return NULL; + #endif + wrapped_i += size; } - if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS)) { - return __Pyx_PyList_GetItemRefFast(o, wrapped_i, unsafe_shared); - } else - if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) { - return __Pyx_NewRef(PyList_GET_ITEM(o, wrapped_i)); + return __Pyx_PyList_GetItemRef(o, wrapped_i); +#elif CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + Py_ssize_t wrapped_i = i; + Py_ssize_t size = (wraparound | boundscheck) ? PyList_GET_SIZE(o) : -1; + if (wraparound & unlikely(i < 0)) { + wrapped_i += size; } - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, size))) { + return __Pyx_PyList_GET_ITEM_REF(o, wrapped_i, unsafe_shared); + } + return __Pyx_GetItemInt_Generic_size(o, i); #else (void)wraparound; (void)boundscheck; @@ -46155,75 +52136,103 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS +#if CYTHON_AVOID_BORROWED_REFS + CYTHON_UNUSED_VAR(boundscheck); + Py_ssize_t wrapped_i = i; + if (wraparound & unlikely(i < 0)) { + Py_ssize_t size = __Pyx_PyTuple_GET_SIZE(o); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(size < 0)) return NULL; + #endif + wrapped_i += size; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_COMPILING_IN_LIMITED_API + return PySequence_ITEM(o, wrapped_i); + #else + if (unlikely(wrapped_i < 0)) { + PyErr_SetString(PyExc_IndexError, "tuple index out of range"); + return NULL; + } + return PySequence_GetItem(o, wrapped_i); + #endif +#elif CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS Py_ssize_t wrapped_i = i; + Py_ssize_t size = (wraparound | boundscheck) ? PyTuple_GET_SIZE(o) : -1; if (wraparound & unlikely(i < 0)) { - wrapped_i += PyTuple_GET_SIZE(o); + wrapped_i += size; } - if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyTuple_GET_SIZE(o)))) { - return __Pyx_NewRef(PyTuple_GET_ITEM(o, wrapped_i)); + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, size))) { + return __Pyx_NewRef(__Pyx_PyTuple_GET_ITEM(o, wrapped_i)); } - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + return __Pyx_GetItemInt_Generic_size(o, i); #else (void)wraparound; (void)boundscheck; return PySequence_GetItem(o, i); #endif } -static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list, +#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast_mapping(PyObject *o, binaryfunc getitem, Py_ssize_t i) { + PyObject *r, *key = PyLong_FromSsize_t(i); + if (unlikely(!key)) return NULL; + r = getitem(o, key); + Py_DECREF(key); + return r; +} +#endif +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE - if (is_list || PyList_CheckExact(o)) { - Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); - if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS)) { - return __Pyx_PyList_GetItemRefFast(o, n, unsafe_shared); - } else if ((!boundscheck) || (likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o))))) { - return __Pyx_NewRef(PyList_GET_ITEM(o, n)); - } +#if CYTHON_ASSUME_SAFE_SIZE + if (PyList_CheckExact(o)) { + return __Pyx_GetItemInt_List_Fast(o, i, wraparound, boundscheck, unsafe_shared); } else - #if !CYTHON_AVOID_BORROWED_REFS + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (PyTuple_CheckExact(o)) { - Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); - if ((!boundscheck) || likely(__Pyx_is_valid_index(n, PyTuple_GET_SIZE(o)))) { - return __Pyx_NewRef(PyTuple_GET_ITEM(o, n)); - } + return __Pyx_GetItemInt_Tuple_Fast(o, i, wraparound, boundscheck, unsafe_shared); } else #endif +#else + if ((!wraparound || i >= 0) & PyList_CheckExact(o)) { + return boundscheck ? __Pyx_PyList_GetItemRef(o, i) : __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared); + } else #endif #if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY + if (PyDict_CheckExact(o)) { + return __Pyx_GetItemInt_Fast_mapping(o, PyDict_Type.tp_as_mapping->mp_subscript, i); + #if defined(PyFrozenDict_CheckExact) + } else if (PyFrozenDict_CheckExact(o)) { + return __Pyx_GetItemInt_Fast_mapping(o, PyFrozenDict_Type.tp_as_mapping->mp_subscript, i); + #endif + } else { - PyMappingMethods *mm = Py_TYPE(o)->tp_as_mapping; - PySequenceMethods *sm = Py_TYPE(o)->tp_as_sequence; - if (!is_list && mm && mm->mp_subscript) { - PyObject *r, *key = PyLong_FromSsize_t(i); - if (unlikely(!key)) return NULL; - r = mm->mp_subscript(o, key); - Py_DECREF(key); - return r; - } - if (is_list || likely(sm && sm->sq_item)) { - if (wraparound && unlikely(i < 0) && likely(sm->sq_length)) { - Py_ssize_t l = sm->sq_length(o); - if (likely(l >= 0)) { - i += l; - } else { - if (!PyErr_ExceptionMatches(PyExc_OverflowError)) - return NULL; - PyErr_Clear(); - } - } + PyTypeObject *obj_type = Py_TYPE(o); + int seq_or_mapping = __Pyx_PyType_GetFlags(obj_type) & (Py_TPFLAGS_SEQUENCE|Py_TPFLAGS_MAPPING); + if (seq_or_mapping != Py_TPFLAGS_SEQUENCE) { + PyMappingMethods *mm = obj_type->tp_as_mapping; + if (mm && mm->mp_subscript) + return __Pyx_GetItemInt_Fast_mapping(o, mm->mp_subscript, i); + } + PySequenceMethods *sm = obj_type->tp_as_sequence; + if (likely(sm && sm->sq_item)) { + if (wraparound && (i < 0) && unlikely(__Pyx_GetItemInt_wraparound(o, sm, &i) == -1)) + return NULL; return sm->sq_item(o, i); } + if (seq_or_mapping == Py_TPFLAGS_SEQUENCE) { + PyMappingMethods *mm = obj_type->tp_as_mapping; + if (likely(mm && mm->mp_subscript)) + return __Pyx_GetItemInt_Fast_mapping(o, mm->mp_subscript, i); + } } #else - if (is_list || !PyMapping_Check(o)) { + if (!PyMapping_Check(o)) { return PySequence_GetItem(o, i); } #endif (void)wraparound; (void)boundscheck; - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + return __Pyx_GetItemInt_Generic_size(o, i); } /* PyObjectSetAttrStr */ @@ -46236,35 +52245,58 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr } #endif +/* RaiseErrorWithObjectTypes (used by ExtTypeTest) */ +static void __Pyx_RaiseErrorWithTypes1(PyObject* exc_type, const char *message, const char *arg, PyTypeObject *type_obj1, PyTypeObject *type_obj2) { + __Pyx_TypeName type_name1 = __Pyx_PyType_GetFullyQualifiedName(type_obj1); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name1)) return; + #endif + __Pyx_TypeName type_name2 = __Pyx_PyType_GetFullyQualifiedName(type_obj2); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name2)) goto type2_failed; + #endif + PyErr_Format(exc_type, message, arg, type_name1, type_name2); + __Pyx_DECREF_TypeName(type_name2); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +type2_failed: +#endif + __Pyx_DECREF_TypeName(type_name1); +} + /* ExtTypeTest */ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) { - __Pyx_TypeName obj_type_name; - __Pyx_TypeName type_name; if (unlikely(!type)) { PyErr_SetString(PyExc_SystemError, "Missing type object"); return 0; } if (likely(__Pyx_TypeCheck(obj, type))) return 1; - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - type_name = __Pyx_PyType_GetFullyQualifiedName(type); - PyErr_Format(PyExc_TypeError, - "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME, - obj_type_name, type_name); - __Pyx_DECREF_TypeName(obj_type_name); - __Pyx_DECREF_TypeName(type_name); + __Pyx_RaiseTypeErrorWithTypes( + "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME, + Py_TYPE(obj), type); return 0; } +/* RaiseErrorWithObjectType (used by SliceObject) */ +static void __Pyx_RaiseErrorWithType(PyObject* exc_type, const char* message, PyTypeObject *type_obj) { + __Pyx_TypeName type_name = __Pyx_PyType_GetFullyQualifiedName(type_obj); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif + PyErr_Format(exc_type, message, type_name); + __Pyx_DECREF_TypeName(type_name); +} + /* SliceObject */ static CYTHON_INLINE int __Pyx_PyObject_SetSlice(PyObject* obj, PyObject* value, Py_ssize_t cstart, Py_ssize_t cstop, PyObject** _py_start, PyObject** _py_stop, PyObject** _py_slice, int has_cstart, int has_cstop, CYTHON_UNUSED int wraparound) { - __Pyx_TypeName obj_type_name; #if CYTHON_USE_TYPE_SLOTS PyMappingMethods* mp = Py_TYPE(obj)->tp_as_mapping; if (likely(mp && mp->mp_ass_subscript)) +#else + if ((1)) #endif { int result; @@ -46309,138 +52341,48 @@ static CYTHON_INLINE int __Pyx_PyObject_SetSlice(PyObject* obj, PyObject* value, Py_DECREF(py_slice); } return result; + } else { + __Pyx_RaiseTypeErrorWithObjectType( + (value) ? + "'" __Pyx_FMT_TYPENAME "' object does not support slice assignment" : + "'" __Pyx_FMT_TYPENAME "' object does not support slice deletion", + obj); } - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "'" __Pyx_FMT_TYPENAME "' object does not support slice %.10s", - obj_type_name, value ? "assignment" : "deletion"); - __Pyx_DECREF_TypeName(obj_type_name); bad: return -1; } -/* PyObjectCall2Args (used by PyObjectCallMethod1) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) { - PyObject *args[3] = {NULL, arg1, arg2}; - return __Pyx_PyObject_FastCall(function, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +/* ListAppendAndDecrefInternal (used by ListAppend) */ +#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE +static CYTHON_INLINE void __Pyx__ListComp_AppendAndDecref(PyObject* list, Py_ssize_t len, PyObject* x) { + PyList_SET_ITEM(list, len, x); + Py_SET_SIZE(list, len + 1); } - -/* PyObjectGetMethod (used by PyObjectCallMethod1) */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) { - PyObject *attr; -#if CYTHON_UNPACK_METHODS && CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_PYTYPE_LOOKUP - __Pyx_TypeName type_name; - PyTypeObject *tp = Py_TYPE(obj); - PyObject *descr; - descrgetfunc f = NULL; - PyObject **dictptr, *dict; - int meth_found = 0; - assert (*method == NULL); - if (unlikely(tp->tp_getattro != PyObject_GenericGetAttr)) { - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; - } - if (unlikely(tp->tp_dict == NULL) && unlikely(PyType_Ready(tp) < 0)) { - return 0; - } - descr = _PyType_Lookup(tp, name); - if (likely(descr != NULL)) { - Py_INCREF(descr); -#if defined(Py_TPFLAGS_METHOD_DESCRIPTOR) && Py_TPFLAGS_METHOD_DESCRIPTOR - if (__Pyx_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) -#else - #ifdef __Pyx_CyFunction_USED - if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr))) - #else - if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type))) - #endif #endif - { - meth_found = 1; - } else { - f = Py_TYPE(descr)->tp_descr_get; - if (f != NULL && PyDescr_IsData(descr)) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - } - } - dictptr = _PyObject_GetDictPtr(obj); - if (dictptr != NULL && (dict = *dictptr) != NULL) { - Py_INCREF(dict); - attr = __Pyx_PyDict_GetItemStr(dict, name); - if (attr != NULL) { - Py_INCREF(attr); - Py_DECREF(dict); - Py_XDECREF(descr); - goto try_unpack; - } - Py_DECREF(dict); - } - if (meth_found) { - *method = descr; - return 1; - } - if (f != NULL) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - if (likely(descr != NULL)) { - *method = descr; + +/* ListAppend (used by append) */ +#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE +static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) { + PyListObject* L = (PyListObject*) list; + Py_ssize_t len = Py_SIZE(list); + if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) { + Py_INCREF(x); + __Pyx__ListComp_AppendAndDecref(list, len, x); return 0; } - type_name = __Pyx_PyType_GetFullyQualifiedName(tp); - PyErr_Format(PyExc_AttributeError, - "'" __Pyx_FMT_TYPENAME "' object has no attribute '%U'", - type_name, name); - __Pyx_DECREF_TypeName(type_name); - return 0; -#else - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; -#endif -try_unpack: -#if CYTHON_UNPACK_METHODS - if (likely(attr) && PyMethod_Check(attr) && likely(PyMethod_GET_SELF(attr) == obj)) { - PyObject *function = PyMethod_GET_FUNCTION(attr); - Py_INCREF(function); - Py_DECREF(attr); - *method = function; - return 1; - } -#endif - *method = attr; - return 0; + return PyList_Append(list, x); } #endif /* PyObjectCallMethod1 (used by append) */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) { - PyObject *result = __Pyx_PyObject_CallOneArg(method, arg); - Py_DECREF(method); - return result; -} -#endif -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) { -#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)) +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) { +#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || !CYTHON_COMPILING_IN_LIMITED_API) PyObject *args[2] = {obj, arg}; - (void) __Pyx_PyObject_CallOneArg; - (void) __Pyx_PyObject_Call2Args; return PyObject_VectorcallMethod(method_name, args, 2 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API + return PyObject_CallMethodObjArgs(obj, method_name, arg, NULL); #else - PyObject *method = NULL, *result; - int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); - if (likely(is_method)) { - result = __Pyx_PyObject_Call2Args(method, obj, arg); - Py_DECREF(method); - return result; - } - if (unlikely(!method)) return NULL; - return __Pyx__PyObject_CallMethod1(method, arg); + return PyObject_CallMethodOneArg(obj, method_name, arg); #endif } @@ -46551,8 +52493,8 @@ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { return __Pyx_IterFinish(); } -/* ArgTypeTestFunc (used by ArgTypeTest) */ -static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) +/* ArgTypeTestError (used by ArgTypeTest) */ +static void __Pyx_ArgTypeError(PyObject *obj, PyTypeObject *type, const char *name, int exact) { __Pyx_TypeName type_name; __Pyx_TypeName obj_type_name; @@ -46560,10 +52502,7 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam int from_annotation_subclass = 0; if (unlikely(!type)) { PyErr_SetString(PyExc_SystemError, "Missing type object"); - return 0; - } - else if (!exact) { - if (likely(__Pyx_TypeCheck(obj, type))) return 1; + return; } else if (exact == 2) { if (__Pyx_TypeCheck(obj, type)) { from_annotation_subclass = 1; @@ -46571,10 +52510,15 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam } } type_name = __Pyx_PyType_GetFullyQualifiedName(type); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!obj_type_name)) goto obj_type_name_failed; + #endif PyErr_Format(PyExc_TypeError, - "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME - ", got " __Pyx_FMT_TYPENAME ")" + "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME ", got " __Pyx_FMT_TYPENAME ")" #if __PYX_LIMITED_VERSION_HEX < 0x030C0000 "%s%U" #endif @@ -46594,58 +52538,52 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam PyErr_SetRaisedException(vargs[0]); } #endif - __Pyx_DECREF_TypeName(type_name); __Pyx_DECREF_TypeName(obj_type_name); - return 0; +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +obj_type_name_failed: +#endif + __Pyx_DECREF_TypeName(type_name); + return; } -/* PyObjectCallNoArg (used by pyfrozenset_new) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) { - PyObject *arg[2] = {NULL, NULL}; - return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +/* ArgTypeTest */ +static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, const char *name, int exact) { + if (likely(Py_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) + return 1; + if (!exact && likely(type) && likely(__Pyx_TypeCheck(obj, type))) + return 1; + __Pyx_ArgTypeError(obj, type, name, exact); + return 0; } /* pyfrozenset_new (used by py_set_discard_unhashable) */ -static CYTHON_INLINE PyObject* __Pyx_PyFrozenSet_New(PyObject* it) { - if (it) { - PyObject* result; -#if CYTHON_COMPILING_IN_PYPY - PyObject* args; - args = PyTuple_Pack(1, it); - if (unlikely(!args)) - return NULL; - result = PyObject_Call((PyObject*)&PyFrozenSet_Type, args, NULL); - Py_DECREF(args); - return result; -#else - if (PyFrozenSet_CheckExact(it)) { - Py_INCREF(it); - return it; - } - result = PyFrozenSet_New(it); - if (unlikely(!result)) - return NULL; - if ((__PYX_LIMITED_VERSION_HEX >= 0x030A0000) +static PyObject* __Pyx_PyFrozenSet_New(PyObject* it) { + PyObject* result; + if (PyFrozenSet_CheckExact(it)) { + Py_INCREF(it); + return it; + } + result = PyFrozenSet_New(it); + if (unlikely(!result)) { + return NULL; + } + if ((__PYX_LIMITED_VERSION_HEX >= 0x030A0000) #if CYTHON_COMPILING_IN_LIMITED_API - || __Pyx_get_runtime_version() >= 0x030A0000 + || likely(__Pyx_get_runtime_version() >= 0x030A0000) #endif - ) - return result; - { - Py_ssize_t size = __Pyx_PySet_GET_SIZE(result); - if (likely(size > 0)) - return result; + ) + return result; + Py_ssize_t size = __Pyx_PySet_GET_SIZE(result); + if (likely(size > 0)) + return result; #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely(size < 0)) { - Py_DECREF(result); - return NULL; - } -#endif - } + if (unlikely(size < 0)) { Py_DECREF(result); -#endif + return NULL; } - return __Pyx_PyObject_CallNoArg((PyObject*) &PyFrozenSet_Type); +#endif + Py_DECREF(result); + return PyFrozenSet_New(NULL); } /* py_set_discard_unhashable (used by py_set_discard) */ @@ -46673,41 +52611,12 @@ static CYTHON_INLINE int __Pyx_PySet_Discard(PyObject *set, PyObject *key) { } /* KeywordStringCheck */ -static int __Pyx_CheckKeywordStrings( - const char* function_name, - PyObject *kw) -{ -#if CYTHON_COMPILING_IN_PYPY && !defined(PyArg_ValidateKeywordArguments) - CYTHON_UNUSED_VAR(function_name); +static int __Pyx_CheckKeywordStrings(PyObject *kw) { +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyArg_ValidateKeywordArguments) CYTHON_UNUSED_VAR(kw); return 0; #else - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kw))) { -#if PY_VERSION_HEX >= 0x03090000 - CYTHON_UNUSED_VAR(function_name); -#else - Py_ssize_t kwsize; - #if CYTHON_ASSUME_SAFE_SIZE - kwsize = PyTuple_GET_SIZE(kw); - #else - kwsize = PyTuple_Size(kw); - if (unlikely(kwsize < 0)) return -1; - #endif - for (Py_ssize_t pos = 0; pos < kwsize; pos++) { - PyObject* key = NULL; - #if CYTHON_ASSUME_SAFE_MACROS - key = PyTuple_GET_ITEM(kw, pos); - #else - key = PyTuple_GetItem(kw, pos); - if (unlikely(!key)) return -1; - #endif - if (unlikely(!PyUnicode_Check(key))) { - PyErr_Format(PyExc_TypeError, - "%.200s() keywords must be strings", function_name); - return -1; - } - } -#endif + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kw))) { } else { if (unlikely(!PyArg_ValidateKeywordArguments(kw))) return -1; } @@ -46737,6 +52646,396 @@ static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, in return unlikely(result < 0) ? result : (result == (eq == Py_EQ)); } +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyBytesBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; +#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) + Py_hash_t hash1 = ((PyBytesObject*)s1)->ob_shash; + Py_hash_t hash2 = ((PyBytesObject*)s2)->ob_shash; + if (hash1 != hash2 && hash1 != -1 && hash2 != -1) goto __pyx_return_false; +#endif + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyByteArrayBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyBytesBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (length == 0) goto __pyx_return_true; + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (length == 0) goto __pyx_return_true; + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +static int __Pyx_PyObject_CompareFloatIntBoolEq(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 == ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_false; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign2 > 0) goto __pyx_return_false; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 == ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +static int __Pyx_PyObject_CompareIntFloatBoolEq(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_false; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign1 > 0) goto __pyx_return_false; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (PyFloat_CheckExact(op1)) { + if (PyFloat_CheckExact(op2)) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + if (float_op1 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareFloatIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + if (PyUnicode_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyUnicode_CheckExact(op2)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyBytes_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyBytesBoolEq(op1, op2); + } + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyByteArrayBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + #endif + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyByteArray_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolEq(op1, op2); + } + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyBytesBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + #endif + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* PyUnicode_Unicode */ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Unicode(PyObject *obj) { if (unlikely(obj == Py_None)) @@ -46831,41 +53130,34 @@ static PyObject* __Pyx_Unpacked___Pyx_PyLong_AndObjC(PyObject *op1, PyObject *op a = (long) digits[0]; if (!is_positive) a *= -1; } else { - switch (size) { - case 2: - if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { - a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 3: - if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { - a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 4: - if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { - a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - } + if (size == 2 && 8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 2 && 8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 3 && 8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 3 && 8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 4 && 8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 4 && 8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + {} return PyLong_Type.tp_as_number->nb_and(op1, op2); } calculate_long: @@ -46895,6 +53187,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_AndObjC(PyObject *op1, PyObject *op2 } #endif +/* PyObjectCall2Args (used by CallUnboundCMethod1) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) { + PyObject *args[3] = {NULL, arg1, arg2}; + return __Pyx_PyObject_FastCall(function, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +} + /* CallUnboundCMethod1 */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) { @@ -46978,26 +53276,14 @@ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObjec return value; } -/* PyObjectCallMethod0 (used by dict_iter) */ -static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) { -#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)) - PyObject *args[1] = {obj}; - (void) __Pyx_PyObject_CallOneArg; - (void) __Pyx_PyObject_CallNoArg; - return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); +/* PyObjectCallMethod0 (used by dict_iter_common) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) { +#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || !CYTHON_COMPILING_IN_LIMITED_API) + return PyObject_VectorcallMethod(method_name, &obj, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API + return PyObject_CallMethodObjArgs(obj, method_name, NULL); #else - PyObject *method = NULL, *result = NULL; - int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); - if (likely(is_method)) { - result = __Pyx_PyObject_CallOneArg(method, obj); - Py_DECREF(method); - return result; - } - if (unlikely(!method)) goto bad; - result = __Pyx_PyObject_CallNoArg(method); - Py_DECREF(method); -bad: - return result; + return PyObject_CallMethodNoArgs(obj, method_name); #endif } @@ -47018,7 +53304,7 @@ static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) { } } -/* UnpackTuple2 (used by dict_iter) */ +/* UnpackTuple2 (used by dict_iter_common) */ static CYTHON_INLINE int __Pyx_unpack_tuple2( PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple) { if (likely(is_tuple || PyTuple_Check(tuple))) { @@ -47089,53 +53375,19 @@ static int __Pyx_unpack_tuple2_generic(PyObject* tuple, PyObject** pvalue1, PyOb return -1; } -/* dict_iter */ -#if CYTHON_COMPILING_IN_PYPY -#include -#endif -static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name, - Py_ssize_t* p_orig_length, int* p_source_is_dict) { - is_dict = is_dict || likely(PyDict_CheckExact(iterable)); - *p_source_is_dict = is_dict; - if (is_dict) { -#if !CYTHON_COMPILING_IN_PYPY - *p_orig_length = PyDict_Size(iterable); - Py_INCREF(iterable); +/* dict_iter_common (used by dict_iter) */ +static PyObject *__Pyx_dict_call_to_get_iterable(PyObject* iterable, PyObject* method_name) { + PyObject* iter; + iterable = __Pyx_PyObject_CallMethod0(iterable, method_name); + if (!iterable) + return NULL; +#if !CYTHON_AVOID_BORROWED_REFS + if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable)) return iterable; -#else - static PyObject *py_items = NULL, *py_keys = NULL, *py_values = NULL; - PyObject **pp = NULL; - if (method_name) { - const char *name = PyUnicode_AsUTF8(method_name); - if (strcmp(name, "iteritems") == 0) pp = &py_items; - else if (strcmp(name, "iterkeys") == 0) pp = &py_keys; - else if (strcmp(name, "itervalues") == 0) pp = &py_values; - if (pp) { - if (!*pp) { - *pp = PyUnicode_FromString(name + 4); - if (!*pp) - return NULL; - } - method_name = *pp; - } - } #endif - } - *p_orig_length = 0; - if (method_name) { - PyObject* iter; - iterable = __Pyx_PyObject_CallMethod0(iterable, method_name); - if (!iterable) - return NULL; -#if !CYTHON_COMPILING_IN_PYPY - if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable)) - return iterable; -#endif - iter = PyObject_GetIter(iterable); - Py_DECREF(iterable); - return iter; - } - return PyObject_GetIter(iterable); + iter = PyObject_GetIter(iterable); + Py_DECREF(iterable); + return iter; } #if !CYTHON_AVOID_BORROWED_REFS static CYTHON_INLINE int __Pyx_dict_iter_next_source_is_dict( @@ -47222,7 +53474,7 @@ static CYTHON_INLINE int __Pyx_dict_iter_next( #endif if (unlikely(pos >= list_size)) return 0; *ppos = pos + 1; - next_item = __Pyx_PyList_GetItemRef(iter_obj, pos); + next_item = __Pyx_PyList_GET_ITEM_REF(iter_obj, pos, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!next_item)) return -1; } else #endif @@ -47245,6 +53497,129 @@ static CYTHON_INLINE int __Pyx_dict_iter_next( return 1; } +/* dict_iter */ +static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name, + Py_ssize_t* p_orig_length, int* p_source_is_dict) { + is_dict = is_dict || likely(__Pyx_PyAnyDict_CheckExact(iterable)); + *p_source_is_dict = is_dict; +#if !CYTHON_AVOID_BORROWED_REFS + if (is_dict) { + *p_orig_length = PyDict_Size(iterable); + Py_INCREF(iterable); + return iterable; + } +#endif + *p_orig_length = 0; + if (method_name) { + return __Pyx_dict_call_to_get_iterable(iterable, method_name); + } else { + return PyObject_GetIter(iterable); + } +} + +/* UnicodeEqualsUCS4 (used by UnicodeEquals_uchar) */ +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) +static CYTHON_INLINE int __Pyx__PyUnicode_EqualsUCS4(PyObject* s1, Py_UCS4 ch2, int equals) { + Py_ssize_t length; + Py_UCS4 ch1; + int kind; + if (unlikely(__Pyx_PyUnicode_READY(s1) < 0)) goto bad; + length = __Pyx_PyUnicode_GET_LENGTH(s1); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(length < 0)) goto bad; + #endif + if (length != 1) goto return_ne; + kind = PyUnicode_KIND(s1); + if (ch2 < 256) { + if (likely(kind == PyUnicode_1BYTE_KIND)) { + ch1 = PyUnicode_1BYTE_DATA(s1)[0]; + } else if (kind == PyUnicode_2BYTE_KIND) { + ch1 = PyUnicode_2BYTE_DATA(s1)[0]; + } else { + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } + } else if (ch2 < 65536) { + if (kind == PyUnicode_2BYTE_KIND) { + ch1 = PyUnicode_2BYTE_DATA(s1)[0]; + } else if (kind == PyUnicode_4BYTE_KIND) { + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } else { + goto return_ne; + } + } else { + if (kind == PyUnicode_4BYTE_KIND){ + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } else { + goto return_ne; + } + } + if (ch1 == ch2) { + goto return_eq; + } else { + goto return_ne; + } +return_eq: + return (equals == Py_EQ); +return_ne: + return (equals == Py_NE); +bad: + return -1; +} +#endif + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (PyFloat_CheckExact(op1)) { + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + goto __pyx_richcmp; + } + + if (likely(PyUnicode_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* DictGetItem */ #if !CYTHON_COMPILING_IN_PYPY static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) { @@ -47264,46 +53639,102 @@ static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) { } #endif -/* PyObjectVectorCallKwBuilder (used by PyObjectVectorCallMethodKwBuilder) */ -#if CYTHON_VECTORCALL -static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - (void)__Pyx_PyObject_FastCallDict; - if (__Pyx_PyTuple_SET_ITEM(builder, n, key) != (0)) return -1; - Py_INCREF(key); - args[n] = value; - return 0; +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrEq +#define __Pyx_DEFINED_PyObject_CompareStrStrEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareStrStrEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return NULL; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return NULL; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + Py_RETURN_TRUE; +__pyx_return_false: + Py_RETURN_FALSE; } -CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - (void)__Pyx_VectorcallBuilder_AddArgStr; +#endif +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareEq_object_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (PyFloat_CheckExact(op1)) { + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + goto __pyx_richcmp; + } + + if (likely(PyUnicode_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrEq(op1, op2); + } + goto __pyx_richcmp; + } + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return PyObject_RichCompare(op1, op2, Py_EQ); +__pyx_return_true: + Py_RETURN_TRUE; +__pyx_return_false: + Py_RETURN_FALSE; +} + +/* PyObjectVectorcallKwds (used by PyObjectVectorcallMethodKwds) */ +#if CYTHON_VECTORCALL +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject *kwnames, Py_ssize_t i) { + PyObject *key = __Pyx_PyTuple_GET_ITEM(kwnames, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!key)) return -1; +#endif if (unlikely(!PyUnicode_Check(key))) { PyErr_SetString(PyExc_TypeError, "keywords must be strings"); return -1; } - return __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n); + return 0; } -static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - PyObject *pyKey = PyUnicode_FromString(key); - if (!pyKey) return -1; - return __Pyx_VectorcallBuilder_AddArg(pyKey, value, builder, args, n); +#else +CYTHON_UNUSED static PyObject *__Pyx_MakeKwargDict(PyObject **keys, PyObject **values, Py_ssize_t n) { + PyObject *out = PyDict_New(); + if (unlikely(!out)) return NULL; + for (Py_ssize_t i=0; itp_as_mapping; if (likely(mp && mp->mp_subscript)) +#else + if ((1)) #endif { PyObject* result; @@ -47362,15 +53794,153 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(PyObject* obj, Py_DECREF(py_slice); } return result; + } else { + __Pyx_RaiseTypeErrorWithObjectType( + "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj); } - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); bad: return NULL; } +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +static int __Pyx_PyObject_CompareFloatIntBoolEq(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 == ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_false; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign2 > 0) goto __pyx_return_false; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 == ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_int(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_true; + if (PyFloat_CheckExact(op1)) { + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareFloatIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if (likely(PyLong_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* HasAttr */ #if __PYX_LIMITED_VERSION_HEX < 0x030d0000 static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { @@ -47390,6 +53960,610 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { } #endif +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolNe +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolNe +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolNe(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result != 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result != 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolNe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolNe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyBytesBoolNe(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_true; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_true; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_true; + if (length == 1) goto __pyx_return_false; + { + int cmp; +#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) + Py_hash_t hash1 = ((PyBytesObject*)s1)->ob_shash; + Py_hash_t hash2 = ((PyBytesObject*)s2)->ob_shash; + if (hash1 != hash2 && hash1 != -1 && hash2 != -1) goto __pyx_return_true; +#endif + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp != 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolNe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolNe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyByteArrayBoolNe(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_true; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_true; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_true; + if (length == 1) goto __pyx_return_false; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp != 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolNe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolNe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyBytesBoolNe(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_true; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_true; + #endif + if (length == 0) goto __pyx_return_false; + if (ps1[0] != ps2[0]) goto __pyx_return_true; + if (length == 1) goto __pyx_return_false; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp != 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolNe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolNe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolNe(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_true; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_true; + #endif + if (length == 0) goto __pyx_return_false; + if (ps1[0] != ps2[0]) goto __pyx_return_true; + if (length == 1) goto __pyx_return_false; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp != 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolNe +static int __Pyx_PyObject_CompareFloatIntBoolNe(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 != ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 != 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_true; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } else { + if (sign2 > 0) goto __pyx_return_true; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 != 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 != ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_true; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_true; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolNe +static int __Pyx_PyObject_CompareIntFloatBoolNe(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_true; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } else { + if (sign1 > 0) goto __pyx_return_true; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_true; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_true; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static int __Pyx_PyObject_CompareIntIntBoolNe(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 0; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 1; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntNe(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolNe(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static int __Pyx_PyObject_CompareIntIntBoolNe(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 != iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 != overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_object_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (PyFloat_CheckExact(op1)) { + if (PyFloat_CheckExact(op2)) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + if (float_op1 != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareFloatIntBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_false; + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntIntBoolNe(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + + if (PyUnicode_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_false; + if (PyUnicode_CheckExact(op2)) { + return __Pyx_PyObject_CompareStrStrBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyBytes_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_false; + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyBytesBoolNe(op1, op2); + } + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyByteArrayBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyByteArray_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_false; + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolNe(op1, op2); + } + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyBytesBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* pybuiltin_invalid (used by pyint_simplify) */ +static void __Pyx_PyBuiltin_Invalid(PyObject *obj, const char *builtin_type_name, const char *argname) { + __Pyx_TypeName obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!obj_type_name)) return; + #endif + if (argname) { + PyErr_Format(PyExc_TypeError, + "Argument '%.200s' has incorrect type (expected %.5s, got " __Pyx_FMT_TYPENAME ")", + argname, builtin_type_name, obj_type_name + ); + } else { + PyErr_Format(PyExc_TypeError, + "Expected %.5s, got " __Pyx_FMT_TYPENAME, + builtin_type_name, obj_type_name + ); + } + __Pyx_DECREF_TypeName(obj_type_name); +} + +/* pyint_simplify */ +static int __Pyx__PyInt_FromNumber(PyObject **number_var, const char *argname); +static CYTHON_INLINE int __Pyx_PyInt_FromNumber(PyObject **number_var, const char *argname, int accept_none) { + PyObject *number = *number_var; + if (likely((accept_none && number == Py_None) || PyLong_CheckExact(number))) { + return 0; + } + return __Pyx__PyInt_FromNumber(number_var, argname); +} +static int __Pyx__PyInt_FromNumber(PyObject **number_var, const char *argname) { + PyObject *number = *number_var; + PyObject *int_object; + if (likely(PyNumber_Check(number))) { + int_object = PyNumber_Long(number); + if (unlikely(!int_object)) goto bad; + } else { + __Pyx_PyBuiltin_Invalid(number, "int", argname); + goto bad; + } + *number_var = int_object; + Py_DECREF(number); + return 0; +bad: + *number_var = NULL; + Py_DECREF(number); + return -1; +} + +/* PyObjectCompare */ +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +static int __Pyx_PyObject_CompareIntIntBoolGt(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 0; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return (cmp > 0); +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntGt(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolGt(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGt +static int __Pyx_PyObject_CompareIntIntBoolGt(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 > iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 > overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GT); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGt_int_int(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + goto __pyx_richcmp; + } + if (unlikely(op2 == Py_None)) { + goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_false; + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_false; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareIntIntBoolGt(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GT); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* PyObjectCompare */ +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static int __Pyx_PyObject_CompareIntIntBoolGe(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return (cmp >= 0); +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntGe(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolGe(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static int __Pyx_PyObject_CompareIntIntBoolGe(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 >= iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 >= overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGe_int_int(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + goto __pyx_richcmp; + } + if (unlikely(op2 == Py_None)) { + goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_true; + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareIntIntBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* PyLongBinop */ #if !CYTHON_COMPILING_IN_PYPY static PyObject* __Pyx_Fallback___Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op2, int inplace) { @@ -47413,41 +54587,34 @@ static PyObject* __Pyx_Unpacked___Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op a = (long) digits[0]; if (!is_positive) a *= -1; } else { - switch (size) { - case 2: - if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { - a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 3: - if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { - a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 4: - if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { - a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - } + if (size == 2 && 8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 2 && 8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 3 && 8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 3 && 8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 4 && 8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 4 && 8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + {} return PyLong_Type.tp_as_number->nb_add(op1, op2); } calculate_long: @@ -47493,9 +54660,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op2 static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Substring( PyObject* text, Py_ssize_t start, Py_ssize_t stop) { Py_ssize_t length; - #if !CYTHON_COMPILING_IN_LIMITED_API if (unlikely(__Pyx_PyUnicode_READY(text) == -1)) return NULL; - #endif length = __Pyx_PyUnicode_GET_LENGTH(text); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(length < 0)) return NULL; @@ -47521,6 +54686,26 @@ static CYTHON_INLINE PyObject* __Pyx_PyUnicode_Substring( #endif } +/* TupleOrListFromArrayImpl (used by ListFromArray) */ +CYTHON_UNUSED static PyObject * +__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) { + PyObject *res = PyList_New(n); + if (unlikely(res == NULL)) return NULL; + #if CYTHON_COMPILING_IN_CPYTHON + __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); + #else + Py_ssize_t i; + for (i = 0; i < n; i++) { + Py_INCREF(src[i]); + if (unlikely(__Pyx_PyList_SET_ITEM(res, i, src[i]) < (0))) { + Py_DECREF(res); + return NULL; + } + } + #endif + return res; +} + /* SliceTupleAndList */ #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop, Py_ssize_t* _length) { @@ -47620,8 +54805,7 @@ static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, l double a = __Pyx_PyFloat_AS_DOUBLE(op1); return ((double)a == (double)b); } - return __Pyx_PyObject_IsTrueAndDecref( - PyObject_RichCompare(op1, op2, Py_EQ)); + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); } /* ObjectGetItem */ @@ -47631,33 +54815,35 @@ static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject *index) { Py_ssize_t key_value; key_value = __Pyx_PyIndex_AsSsize_t(index); if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) { - return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1, 1); + return __Pyx_GetItemInt_Fast(obj, key_value, 1, 1, 1); } if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) { - __Pyx_TypeName index_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(index)); PyErr_Clear(); - PyErr_Format(PyExc_IndexError, - "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", index_type_name); - __Pyx_DECREF_TypeName(index_type_name); + __Pyx_RaiseErrorWithObjectType( + PyExc_IndexError, + "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", + index); } return NULL; } static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) { - __Pyx_TypeName obj_type_name; if (likely(PyType_Check(obj))) { + if ((PyTypeObject*)obj == &PyType_Type) { + return Py_GenericAlias(obj, key); + } PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_mstate_global->__pyx_n_u_class_getitem); if (!meth) { - PyErr_Clear(); + if (PyErr_Occurred()) { + return NULL; + } } else { PyObject *result = __Pyx_PyObject_CallOneArg(meth, key); Py_DECREF(meth); return result; } } - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); + __Pyx_RaiseTypeErrorWithObjectType( + "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj); return NULL; } static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) { @@ -47696,13 +54882,223 @@ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final) { } } +/* CallSlotAsVectorcallUnpackDict (used by CallSlotAsVectorcall) */ +static CYTHON_INLINE int __Pyx_CallSlotAsVectorcallUnpackDict(Py_ssize_t args_size, PyObject *keys_dict, PyObject **args, PyObject *kwnames) { + Py_ssize_t pos = 0, i = 0; + PyObject *key, *value; + while (PyDict_Next(keys_dict, &pos, &key, &value)) { + Py_INCREF(value); + args[args_size+i] = value; + Py_INCREF(key); + if (unlikely(__Pyx_PyTuple_SET_ITEM(kwnames, i, key) == -1)) { + return -1; + } + ++i; + } + return 0; +} + +/* CallSlotAsVectorcall */ +#if CYTHON_VECTORCALL_TPNEW +static PyObject * __Pyx_CallTpnewAsVectorcall(__Pyx_tpnewvectorcallfunc f, PyTypeObject* o, PyObject *a, PyObject *k) { + Py_ssize_t k_size = k ? __Pyx_PyDict_GET_SIZE(k) : 0; +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(k_size < 0)) return NULL; +#endif + Py_ssize_t a_size = __Pyx_PyTuple_GET_SIZE(a); +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(a_size < 0)) return NULL; +#endif +#if CYTHON_ASSUME_SAFE_MACROS + if (k_size == 0) { + return f(o, &PyTuple_GET_ITEM(a, 0), a_size, NULL); + } +#else + if (k_size == 0 && a_size == 0) { + return f(o, NULL, 0, NULL); + } +#endif + PyObject *stack_args[5]; + PyObject **args = stack_args; + Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(PyObject*) - 1; + if (a_size > maxnargs - k_size) { + PyErr_NoMemory(); + return NULL; + } + Py_ssize_t total_size = a_size + k_size; + if (total_size > 5) { + args = (PyObject**)PyMem_Malloc(((size_t)total_size)*sizeof(PyObject*)); + if (unlikely(!args)) { + PyErr_NoMemory(); + return NULL; + } + } + PyObject * result = NULL; + PyObject *kwnames = NULL; + int unpack_dict_result; + Py_ssize_t i = 0; + for (; i < a_size; ++i) { + args[i] = __Pyx_PyTuple_GET_ITEM(a, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!args[i])) goto cleanup; +#endif + } +#if !CYTHON_ASSUME_SAFE_MACROS + if (k) // There's a specific shortcut earlier for ASSUME_SAFE_MACROS with no keywords +#endif + { + kwnames = PyTuple_New(k_size); + if (unlikely(!kwnames)) goto cleanup; + __Pyx_BEGIN_CRITICAL_SECTION(k); + unpack_dict_result = __Pyx_CallSlotAsVectorcallUnpackDict(a_size, k, args, kwnames); + __Pyx_END_CRITICAL_SECTION(); + if (unlikely(unpack_dict_result == -1)) goto cleanup; + } + result = f(o, args, a_size, kwnames); + cleanup: + Py_XDECREF(kwnames); + for (i=a_size; i__pyx_empty_tuple); + } + result = tp_new(t, args_tuple, kwds_dict); + if (unlikely(!result)) { + goto end; + } + if (PyObject_TypeCheck(result, t)) { + initproc tp_init = __Pyx_PyObject_GetSlot(result, tp_init, initproc); + if (tp_init && unlikely(tp_init(result, args_tuple, kwds_dict) < 0)) { + Py_CLEAR(result); + } + } + end: + Py_XDECREF(args_tuple); + Py_XDECREF(kwds_dict); + return result; +} +#endif + +/* CallSlotAsVectorcall */ +#if CYTHON_VECTORCALL_TPNEW +static int __Pyx_CallTpinitAsVectorcall(__Pyx_tpinitvectorcallfunc f, PyObject* o, PyObject *a, PyObject *k) { + Py_ssize_t k_size = k ? __Pyx_PyDict_GET_SIZE(k) : 0; +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(k_size < 0)) return -1; +#endif + Py_ssize_t a_size = __Pyx_PyTuple_GET_SIZE(a); +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(a_size < 0)) return -1; +#endif +#if CYTHON_ASSUME_SAFE_MACROS + if (k_size == 0) { + return f(o, &PyTuple_GET_ITEM(a, 0), a_size, NULL); + } +#else + if (k_size == 0 && a_size == 0) { + return f(o, NULL, 0, NULL); + } +#endif + PyObject *stack_args[5]; + PyObject **args = stack_args; + Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(PyObject*) - 1; + if (a_size > maxnargs - k_size) { + PyErr_NoMemory(); + return -1; + } + Py_ssize_t total_size = a_size + k_size; + if (total_size > 5) { + args = (PyObject**)PyMem_Malloc(((size_t)total_size)*sizeof(PyObject*)); + if (unlikely(!args)) { + PyErr_NoMemory(); + return -1; + } + } + int result = -1; + PyObject *kwnames = NULL; + int unpack_dict_result; + Py_ssize_t i = 0; + for (; i < a_size; ++i) { + args[i] = __Pyx_PyTuple_GET_ITEM(a, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!args[i])) goto cleanup; +#endif + } +#if !CYTHON_ASSUME_SAFE_MACROS + if (k) // There's a specific shortcut earlier for ASSUME_SAFE_MACROS with no keywords +#endif + { + kwnames = PyTuple_New(k_size); + if (unlikely(!kwnames)) goto cleanup; + __Pyx_BEGIN_CRITICAL_SECTION(k); + unpack_dict_result = __Pyx_CallSlotAsVectorcallUnpackDict(a_size, k, args, kwnames); + __Pyx_END_CRITICAL_SECTION(); + if (unlikely(unpack_dict_result == -1)) goto cleanup; + } + result = f(o, args, a_size, kwnames); + cleanup: + Py_XDECREF(kwnames); + for (i=a_size; itp_dict; -#endif - result = PyDict_SetItem(tp_dict, k, v); - if (likely(!result)) { - PyType_Modified(tp); - if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name))) { - PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name, (PyObject *) tp, k, NULL); - if (!setNameResult) return -1; - Py_DECREF(setNameResult); - } - } - return result; -} - -/* FixUpExtensionType */ -static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type) { -#if __PYX_LIMITED_VERSION_HEX > 0x030900B1 - CYTHON_UNUSED_VAR(spec); - CYTHON_UNUSED_VAR(type); - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); -#else - const PyType_Slot *slot = spec->slots; - int changed = 0; -#if !CYTHON_COMPILING_IN_LIMITED_API - while (slot && slot->slot && slot->slot != Py_tp_members) - slot++; - if (slot && slot->slot == Py_tp_members) { -#if !CYTHON_COMPILING_IN_CPYTHON - const -#endif // !CYTHON_COMPILING_IN_CPYTHON) - PyMemberDef *memb = (PyMemberDef*) slot->pfunc; - while (memb && memb->name) { - if (memb->name[0] == '_' && memb->name[1] == '_') { - if (strcmp(memb->name, "__weaklistoffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_weaklistoffset = memb->offset; - changed = 1; - } - else if (strcmp(memb->name, "__dictoffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_dictoffset = memb->offset; - changed = 1; - } -#if CYTHON_METH_FASTCALL - else if (strcmp(memb->name, "__vectorcalloffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_vectorcall_offset = memb->offset; - changed = 1; - } -#endif // CYTHON_METH_FASTCALL -#if !CYTHON_COMPILING_IN_PYPY - else if (strcmp(memb->name, "__module__") == 0) { - PyObject *descr; - assert(memb->type == T_OBJECT); - assert(memb->flags == 0 || memb->flags == READONLY); - descr = PyDescr_NewMember(type, memb); - if (unlikely(!descr)) - return -1; - int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); - Py_DECREF(descr); - if (unlikely(set_item_result < 0)) { - return -1; - } - changed = 1; - } -#endif // !CYTHON_COMPILING_IN_PYPY - } - memb++; - } - } -#endif // !CYTHON_COMPILING_IN_LIMITED_API -#if !CYTHON_COMPILING_IN_PYPY - slot = spec->slots; - while (slot && slot->slot && slot->slot != Py_tp_getset) - slot++; - if (slot && slot->slot == Py_tp_getset) { - PyGetSetDef *getset = (PyGetSetDef*) slot->pfunc; - while (getset && getset->name) { - if (getset->name[0] == '_' && getset->name[1] == '_' && strcmp(getset->name, "__module__") == 0) { - PyObject *descr = PyDescr_NewGetSet(type, getset); - if (unlikely(!descr)) - return -1; - #if CYTHON_COMPILING_IN_LIMITED_API - PyObject *pyname = PyUnicode_FromString(getset->name); - if (unlikely(!pyname)) { - Py_DECREF(descr); - return -1; - } - int set_item_result = __Pyx_SetItemOnTypeDict(type, pyname, descr); - Py_DECREF(pyname); - #else - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); - int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); - #endif - Py_DECREF(descr); - if (unlikely(set_item_result < 0)) { - return -1; - } - changed = 1; - } - ++getset; - } - } -#else - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); -#endif // !CYTHON_COMPILING_IN_PYPY - if (changed) - PyType_Modified(type); -#endif // PY_VERSION_HEX > 0x030900B1 - return 0; -} - /* ValidateBasesTuple (used by PyType_Ready) */ #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS -static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases) { +static int __Pyx_validate_bases_tuple(const char *type_name, int has_dictoffset, PyObject *bases) { Py_ssize_t i, n; #if CYTHON_ASSUME_SAFE_SIZE n = PyTuple_GET_SIZE(bases); @@ -47922,6 +55184,30 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs n = PyTuple_Size(bases); if (unlikely(n < 0)) return -1; #endif + if (!has_dictoffset) { + PyObject *b; +#if CYTHON_AVOID_BORROWED_REFS + b = PySequence_GetItem(bases, 0); + if (!b) return -1; +#elif CYTHON_ASSUME_SAFE_MACROS + b = PyTuple_GET_ITEM(bases, 0); +#else + b = PyTuple_GetItem(bases, 0); + if (!b) return -1; +#endif +#if CYTHON_USE_TYPE_SLOTS + has_dictoffset = ((PyTypeObject*)b)->tp_dictoffset != 0; +#else + Py_ssize_t dictoffset = __Pyx_GetTypeDictOffset(b, 0); + has_dictoffset = dictoffset != 0; +#endif +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b); +#endif +#if !CYTHON_USE_TYPE_SLOTS + if (dictoffset == -1 && PyErr_Occurred()) return -1; +#endif + } for (i = 1; i < n; i++) { PyTypeObject *b; @@ -47937,38 +55223,30 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs b = (PyTypeObject*) b0; if (!__Pyx_PyType_HasFeature(b, Py_TPFLAGS_HEAPTYPE)) { - __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b); - PyErr_Format(PyExc_TypeError, - "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b_name); - __Pyx_DECREF_TypeName(b_name); + __Pyx_RaiseErrorWithType( + PyExc_TypeError, "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(b0); #endif return -1; } - if (dictoffset == 0) + if (!has_dictoffset) { Py_ssize_t b_dictoffset = 0; #if CYTHON_USE_TYPE_SLOTS b_dictoffset = b->tp_dictoffset; #else - PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__"); - if (!py_b_dictoffset) goto dictoffset_return; - b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset); - Py_DECREF(py_b_dictoffset); + b_dictoffset = __Pyx_GetTypeDictOffset((PyObject*)b, 0); if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return; #endif if (b_dictoffset) { - { - __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b); - PyErr_Format(PyExc_TypeError, - "extension type '%.200s' has no __dict__ slot, " - "but base type '" __Pyx_FMT_TYPENAME "' has: " - "either add 'cdef dict __dict__' to the extension type " - "or add '__slots__ = [...]' to the base type", - type_name, b_name); - __Pyx_DECREF_TypeName(b_name); - } + __Pyx_RaiseErrorWithType1( + PyExc_TypeError, + "extension type '%.200s' has no __dict__ slot, " + "but base type '" __Pyx_FMT_TYPENAME "' has: " + "either add 'cdef dict __dict__' to the extension type " + "or add '__slots__ = [...]' to the base type", + type_name, b); #if !CYTHON_USE_TYPE_SLOTS dictoffset_return: #endif @@ -47998,10 +55276,10 @@ CYTHON_UNUSED static int __Pyx_PyType_HasMultipleInheritance(PyTypeObject *t) { return 0; } static int __Pyx_PyType_Ready(PyTypeObject *t) { -#if CYTHON_USE_TYPE_SPECS || !CYTHON_COMPILING_IN_CPYTHON || defined(PYSTON_MAJOR_VERSION) - (void)__Pyx_PyObject_CallMethod0; +#if CYTHON_USE_TYPE_SPECS || !CYTHON_COMPILING_IN_CPYTHON + (void)&__Pyx_PyObject_CallMethod0; #if CYTHON_USE_TYPE_SPECS - (void)__Pyx_validate_bases_tuple; + (void)&__Pyx_validate_bases_tuple; #endif return PyType_Ready(t); #else @@ -48010,14 +55288,13 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { return PyType_Ready(t); } PyObject *bases = __Pyx_PyType_GetSlot(t, tp_bases, PyObject*); - if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset, bases) == -1)) + if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset != 0, bases) == -1)) return -1; -#if !defined(PYSTON_MAJOR_VERSION) { int gc_was_enabled; #if PY_VERSION_HEX >= 0x030A00b1 gc_was_enabled = PyGC_Disable(); - (void)__Pyx_PyObject_CallMethod0; + (void)&__Pyx_PyObject_CallMethod0; #else PyObject *ret, *py_status; PyObject *gc = NULL; @@ -48050,11 +55327,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { #if PY_VERSION_HEX >= 0x030A0000 t->tp_flags |= Py_TPFLAGS_IMMUTABLETYPE; #endif -#else - (void)__Pyx_PyObject_CallMethod0; -#endif - r = PyType_Ready(t); -#if !defined(PYSTON_MAJOR_VERSION) + r = PyType_Ready(t); t->tp_flags &= ~Py_TPFLAGS_HEAPTYPE; #if PY_VERSION_HEX >= 0x030A00b1 if (gc_was_enabled) @@ -48077,56 +55350,40 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { Py_DECREF(gc); #endif } -#endif return r; #endif } -/* SetVTable */ -static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) { - PyObject *ob = PyCapsule_New(vtable, 0, 0); - if (unlikely(!ob)) - goto bad; -#if CYTHON_COMPILING_IN_LIMITED_API - if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) -#else - if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) -#endif - goto bad; - Py_DECREF(ob); - return 0; -bad: - Py_XDECREF(ob); - return -1; -} - /* GetVTable (used by MergeVTables) */ -static void* __Pyx_GetVtable(PyTypeObject *type) { +static int __Pyx_GetVtable(PyTypeObject *type, void** table) { void* ptr; + *table = NULL; #if CYTHON_COMPILING_IN_LIMITED_API PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_mstate_global->__pyx_n_u_pyx_vtable); #else PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable); #endif if (!ob) - goto bad; + goto no_attr; ptr = PyCapsule_GetPointer(ob, 0); if (!ptr && !PyErr_Occurred()) PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type"); Py_DECREF(ob); - return ptr; -bad: + *table = ptr; + return 1; +no_attr: + if (PyErr_ExceptionMatches(CYTHON_COMPILING_IN_LIMITED_API ? PyExc_AttributeError : PyExc_KeyError)) { + return 0; + } Py_XDECREF(ob); - return NULL; + return -1; } -/* MergeVTables */ +/* MergeVTables (used by SetVTable) */ static int __Pyx_MergeVtables(PyTypeObject *type) { int i=0; Py_ssize_t size; void** base_vtables; - __Pyx_TypeName tp_base_name = NULL; - __Pyx_TypeName base_name = NULL; void* unknown = (void*)-1; PyObject* bases = __Pyx_PyType_GetSlot(type, tp_bases, PyObject*); int base_depth = 0; @@ -48134,10 +55391,14 @@ static int __Pyx_MergeVtables(PyTypeObject *type) { PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); while (base) { base_depth += 1; - base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*); + base = __Pyx_PyType_TryGetSlot(base, tp_base, PyTypeObject*); } } base_vtables = (void**) PyMem_Malloc(sizeof(void*) * (size_t)(base_depth + 1)); + if (unlikely(!base_vtables)) { + PyErr_NoMemory(); + return -1; + } base_vtables[0] = unknown; #if CYTHON_COMPILING_IN_LIMITED_API size = PyTuple_Size(bases); @@ -48157,69 +55418,111 @@ static int __Pyx_MergeVtables(PyTypeObject *type) { #else basei = PyTuple_GET_ITEM(bases, i); #endif - base_vtable = __Pyx_GetVtable((PyTypeObject*)basei); + int get_vtable_result = __Pyx_GetVtable((PyTypeObject*)basei, &base_vtable); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(basei); #endif - if (base_vtable != NULL) { + if (get_vtable_result != 1) { + if (get_vtable_result == -1) { + goto other_failure; + } + PyErr_Clear(); // Class doesn't have a vtable. + } else { + assert(base_vtable != NULL); int j; - PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); + PyTypeObject* base = __Pyx_PyType_TryGetSlot(type, tp_base, PyTypeObject*); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + if (!base) goto bad; +#endif for (j = 0; j < base_depth; j++) { if (base_vtables[j] == unknown) { - base_vtables[j] = __Pyx_GetVtable(base); + switch (__Pyx_GetVtable(base, &base_vtables[j])) { + case 1: + assert(base_vtables[j] == NULL); + break; + case 0: + goto bad; + case -1: + default: + goto other_failure; + } base_vtables[j + 1] = unknown; } if (base_vtables[j] == base_vtable) { break; - } else if (base_vtables[j] == NULL) { - goto bad; } - base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*); + base = __Pyx_PyType_TryGetSlot(base, tp_base, PyTypeObject*); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + if (!base) goto bad; +#endif } } } - PyErr_Clear(); PyMem_Free(base_vtables); return 0; bad: { - PyTypeObject* basei = NULL; PyTypeObject* tp_base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); - tp_base_name = __Pyx_PyType_GetFullyQualifiedName(tp_base); + PyTypeObject* basei; #if CYTHON_AVOID_BORROWED_REFS basei = (PyTypeObject*)PySequence_GetItem(bases, i); - if (unlikely(!basei)) goto really_bad; + if (unlikely(!basei)) goto other_failure; #elif !CYTHON_ASSUME_SAFE_MACROS basei = (PyTypeObject*)PyTuple_GetItem(bases, i); - if (unlikely(!basei)) goto really_bad; + if (unlikely(!basei)) goto other_failure; #else basei = (PyTypeObject*)PyTuple_GET_ITEM(bases, i); #endif - base_name = __Pyx_PyType_GetFullyQualifiedName(basei); + __Pyx_RaiseTypeErrorWithTypes( + "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base, basei); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(basei); #endif } - PyErr_Format(PyExc_TypeError, - "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base_name, base_name); -#if CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS -really_bad: // bad has failed! -#endif - __Pyx_DECREF_TypeName(tp_base_name); - __Pyx_DECREF_TypeName(base_name); -#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS other_failure: -#endif PyMem_Free(base_vtables); return -1; } +/* SetVTable */ +static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) { + PyObject *ob = PyCapsule_New(vtable, 0, 0); + if (unlikely(!ob)) + goto bad; +#if CYTHON_COMPILING_IN_LIMITED_API + if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) +#else + if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) +#endif + goto bad; + Py_DECREF(ob); + return __Pyx_MergeVtables(type); +bad: + Py_XDECREF(ob); + return -1; +} + +/* LimitedApiGetTypeTypeDict (used by DelItemOnTypeDict) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_GetTypeTypeDict(PyTypeObject *tp) { + static Py_ssize_t tp_dictoffset = 0; + if (unlikely(tp_dictoffset == 0)) { + tp_dictoffset = __Pyx_GetTypeDictOffset((PyObject*)(&PyType_Type), 1); + if (unlikely(tp_dictoffset == -1 && PyErr_Occurred())) { + tp_dictoffset = 0; // try again next time? + return NULL; + } + } + return *(PyObject**)((char*)tp + tp_dictoffset); +} +#endif + /* DelItemOnTypeDict (used by SetupReduce) */ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k) { int result; PyObject *tp_dict; #if CYTHON_COMPILING_IN_LIMITED_API - tp_dict = __Pyx_GetTypeDict(tp); + tp_dict = __Pyx_GetTypeTypeDict(tp); if (unlikely(!tp_dict)) return -1; #else tp_dict = tp->tp_dict; @@ -48229,6 +55532,28 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k) { return result; } +/* SetItemOnTypeDict (used by SetupReduce) */ +static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) { + int result; + PyObject *tp_dict; +#if CYTHON_COMPILING_IN_LIMITED_API + tp_dict = __Pyx_GetTypeTypeDict(tp); + if (unlikely(!tp_dict)) return -1; +#else + tp_dict = tp->tp_dict; +#endif + result = PyDict_SetItem(tp_dict, k, v); + if (likely(!result)) { + PyType_Modified(tp); + if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name))) { + PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name, (PyObject *) tp, k, NULL); + if (!setNameResult) return -1; + Py_DECREF(setNameResult); + } + } + return result; +} + /* SetupReduce */ static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { int ret; @@ -48239,13 +55564,24 @@ static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { } else { ret = -1; } - if (unlikely(ret < 0)) { - PyErr_Clear(); - ret = 0; + if (unlikely(ret < 0) && __Pyx_IgnoreException(PyExc_Exception)) { + ret = 0; // But BaseException is still propagated. } Py_XDECREF(name_attr); return ret; } +static PyObject *__Pyx_setup_reduce_get_reduce_attribute(PyObject *type_obj, PyObject *name, int allow_not_present) { +#if CYTHON_USE_PYTYPE_LOOKUP + CYTHON_UNUSED_VAR(allow_not_present); + return _PyType_Lookup((PyTypeObject*)type_obj, name); +#else + if (allow_not_present) { + return __Pyx_PyObject_GetAttrStrNoError(type_obj, name); + } else { + return __Pyx_PyObject_GetAttrStr(type_obj, name); + } +#endif +} static int __Pyx_setup_reduce(PyObject* type_obj) { int ret = 0; PyObject *object_reduce = NULL; @@ -48257,41 +55593,34 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { PyObject *setstate = NULL; PyObject *setstate_cython = NULL; PyObject *getstate = NULL; -#if CYTHON_USE_PYTYPE_LOOKUP - getstate = _PyType_Lookup((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_getstate); -#else - getstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_getstate); + getstate = __Pyx_setup_reduce_get_reduce_attribute(type_obj, __pyx_mstate_global->__pyx_n_u_getstate, 1); if (!getstate && PyErr_Occurred()) { goto __PYX_BAD; } -#endif if (getstate) { -#if CYTHON_USE_PYTYPE_LOOKUP - object_getstate = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate); -#else - object_getstate = __Pyx_PyObject_GetAttrStrNoError((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate); + object_getstate = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate, 1); if (!object_getstate && PyErr_Occurred()) { goto __PYX_BAD; } -#endif if (object_getstate != getstate) { goto __PYX_GOOD; } } -#if CYTHON_USE_PYTYPE_LOOKUP - object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; -#else - object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; -#endif + object_reduce_ex = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex, 0); + if (unlikely(!object_reduce_ex)) goto __PYX_BAD; reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD; if (reduce_ex == object_reduce_ex) { -#if CYTHON_USE_PYTYPE_LOOKUP - object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD; -#else - object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD; -#endif + object_reduce = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce, 0); + if (!object_reduce) goto __PYX_BAD; reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce); if (unlikely(!reduce)) goto __PYX_BAD; - if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_mstate_global->__pyx_n_u_reduce_cython)) { + int try_to_replace_reduce = (reduce == object_reduce); + if (!try_to_replace_reduce) { + try_to_replace_reduce = __Pyx_setup_reduce_is_named(reduce, __pyx_mstate_global->__pyx_n_u_reduce_cython); + if (unlikely(try_to_replace_reduce < 0)) { + goto __PYX_BAD; + } + } + if (try_to_replace_reduce) { reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_cython); if (likely(reduce_cython)) { ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD; @@ -48300,8 +55629,20 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { goto __PYX_BAD; } setstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate); - if (!setstate) PyErr_Clear(); - if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_mstate_global->__pyx_n_u_setstate_cython)) { + int try_to_replace_setstate; + if (!setstate) { + PyObject *exc = PyErr_Occurred(); + if (exc && !__Pyx_IgnoreGivenException(exc, PyExc_Exception)) { + goto __PYX_BAD; + } + try_to_replace_setstate = 1; + } else { + try_to_replace_setstate = __Pyx_setup_reduce_is_named(setstate, __pyx_mstate_global->__pyx_n_u_setstate_cython); + if (unlikely(try_to_replace_setstate < 0)) { + goto __PYX_BAD; + } + } + if (try_to_replace_setstate) { setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate_cython); if (likely(setstate_cython)) { ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD; @@ -48316,11 +55657,10 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { goto __PYX_GOOD; __PYX_BAD: if (!PyErr_Occurred()) { - __Pyx_TypeName type_obj_name = - __Pyx_PyType_GetFullyQualifiedName((PyTypeObject*)type_obj); - PyErr_Format(PyExc_RuntimeError, - "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, type_obj_name); - __Pyx_DECREF_TypeName(type_obj_name); + __Pyx_RaiseErrorWithType( + PyExc_RuntimeError, + "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, + (PyTypeObject*)type_obj); } ret = -1; __PYX_GOOD: @@ -48339,10 +55679,10 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { } /* TypeImport */ -#ifndef __PYX_HAVE_RT_ImportType_3_2_4 -#define __PYX_HAVE_RT_ImportType_3_2_4 -static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module_name, const char *class_name, - size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_4 check_size) +#ifndef __PYX_HAVE_RT_ImportType_3_3_1 +#define __PYX_HAVE_RT_ImportType_3_3_1 +static PyTypeObject *__Pyx_ImportType_3_3_1(PyObject *module, const char *module_name, const char *class_name, + size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_3_1 check_size) { PyObject *result = 0; Py_ssize_t basicsize; @@ -48398,7 +55738,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module module_name, class_name, size, basicsize+itemsize); goto bad; } - if (check_size == __Pyx_ImportType_CheckSize_Error_3_2_4 && + if (check_size == __Pyx_ImportType_CheckSize_Error_3_3_1 && ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) { PyErr_Format(PyExc_ValueError, "%.200s.%.200s size changed, may indicate binary incompatibility. " @@ -48406,7 +55746,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module module_name, class_name, size, basicsize, basicsize+itemsize); goto bad; } - else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_2_4 && (size_t)basicsize > size) { + else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_3_1 && (size_t)basicsize > size) { if (PyErr_WarnFormat(NULL, 0, "%.200s.%.200s size changed, may indicate binary incompatibility. " "Expected %zd from C header, got %zd from PyObject", @@ -48496,21 +55836,17 @@ static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, } else if (unlikely(module_found == -1)) { return NULL; } + #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030f00a6 + empty_dict = PyFrozenDict_New(NULL); + #else empty_dict = PyDict_New(); + #endif if (unlikely(!empty_dict)) goto bad; if (imported_names) { -#if CYTHON_COMPILING_IN_CPYTHON from_list = __Pyx_PyList_FromArray(imported_names, len_imported_names); if (unlikely(!from_list)) goto bad; -#else - from_list = PyList_New(len_imported_names); - if (unlikely(!from_list)) goto bad; - for (Py_ssize_t i=0; i__pyx_kp_u__2); + module_dot = PyUnicode_Concat(module_name, __pyx_mstate_global->__pyx_kp_u__3); if (unlikely(!module_dot)) { goto modbad; } full_name = PyUnicode_Concat(module_dot, name); if (unlikely(!full_name)) { goto modbad; } @@ -48598,7 +55934,7 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke } /* AddModuleRef (used by FetchSharedCythonModule) */ -#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING +#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && PY_VERSION_HEX < 0x030F00a3 static PyObject *__Pyx_PyImport_AddModuleObjectRef(PyObject *name) { PyObject *module_dict = PyImport_GetModuleDict(); PyObject *m; @@ -48626,15 +55962,16 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke } } static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { + if ((PY_VERSION_HEX >= 0x030E0000) && Py_Version >= 0x030E0100) { + return PyImport_AddModuleRef(name); + } PyObject *py_name = PyUnicode_FromString(name); if (!py_name) return NULL; PyObject *module = __Pyx_PyImport_AddModuleObjectRef(py_name); Py_DECREF(py_name); return module; } -#elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name) -#else +#elif __PYX_LIMITED_VERSION_HEX < 0x030d0000 static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { PyObject *module = PyImport_AddModule(name); Py_XINCREF(module); @@ -48647,25 +55984,7 @@ static PyObject *__Pyx_FetchSharedCythonABIModule(void) { return __Pyx_PyImport_AddModuleRef(__PYX_ABI_MODULE_NAME); } -/* FetchCommonType (used by CommonTypesMetaclass) */ -#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 -static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { - PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases); - if (result && metaclass) { - PyObject *old_tp = (PyObject*)Py_TYPE(result); - Py_INCREF((PyObject*)metaclass); -#if __PYX_LIMITED_VERSION_HEX >= 0x03090000 - Py_SET_TYPE(result, metaclass); -#else - result->ob_type = metaclass; -#endif - Py_DECREF(old_tp); - } - return result; -} -#else -#define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b) -#endif +/* VerifyCachedType (used by FetchCommonType) */ static int __Pyx_VerifyCachedType(PyObject *cached_type, const char *name, Py_ssize_t expected_basicsize) { @@ -48678,18 +55997,27 @@ static int __Pyx_VerifyCachedType(PyObject *cached_type, if (expected_basicsize == 0) { return 0; // size is inherited, nothing useful to check } -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_basicsize; - py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); - if (unlikely(!py_basicsize)) return -1; - basicsize = PyLong_AsSsize_t(py_basicsize); - Py_DECREF(py_basicsize); - py_basicsize = NULL; - if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1; -#else - basicsize = ((PyTypeObject*) cached_type)->tp_basicsize; +#if CYTHON_COMPILING_IN_LIMITED_API && CYTHON_OPAQUE_OBJECTS + if (expected_basicsize < 0) { + basicsize = PyType_GetTypeDataSize((PyTypeObject*)cached_type); + } else #endif - if (basicsize != expected_basicsize) { + { + #if CYTHON_COMPILING_IN_LIMITED_API + PyObject *py_basicsize; + py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); + if (unlikely(!py_basicsize)) return -1; + basicsize = PyLong_AsSsize_t(py_basicsize); + Py_DECREF(py_basicsize); + py_basicsize = NULL; + if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1; + #else + basicsize = ((PyTypeObject*) cached_type)->tp_basicsize; + #endif + } + if ((expected_basicsize >= 0) ? + (basicsize != expected_basicsize) : + (basicsize < -expected_basicsize)) { PyErr_Format(PyExc_TypeError, "Shared Cython type %.200s has the wrong size, try recompiling", name); @@ -48697,6 +56025,23 @@ static int __Pyx_VerifyCachedType(PyObject *cached_type, } return 0; } + +/* FetchCommonType (used by CommonTypesMetaclass) */ +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 +static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { + PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases); + if (result && metaclass) { + PyObject *old_tp = (PyObject*)Py_TYPE(result); + Py_INCREF((PyObject*)metaclass); + Py_SET_TYPE(result, metaclass); + Py_DECREF(old_tp); + PyType_Modified((PyTypeObject*)result); + } + return result; +} +#else +#define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b) +#endif static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { PyObject *abi_module = NULL, *cached_type = NULL, *abi_module_dict, *new_cached_type, *py_object_name; int get_item_ref_result; @@ -48725,7 +56070,6 @@ static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyOb CYTHON_USE_MODULE_STATE ? module : abi_module, spec, bases); if (unlikely(!cached_type)) goto bad; - if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad; new_cached_type = __Pyx_PyDict_SetDefault(abi_module_dict, py_object_name, cached_type); if (unlikely(new_cached_type != cached_type)) { if (unlikely(!new_cached_type)) goto bad; @@ -48802,6 +56146,87 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) { return 0; } +/* CythonFunctionPerModule (used by CythonFunctionShared) */ +#if CYTHON_OPAQUE_SHARED_TYPES && CYTHON_USE_MODULE_STATE +static __pyx_CyFunctionObject *__Pyx_as_CyFunctionObject_safe(PyObject *o) { + PyTypeObject *cyfunctype = Py_TYPE(o); + while (1) { + PyTypeObject *base = (PyTypeObject *)PyType_GetSlot(cyfunctype, Py_tp_base); + if (base == &PyBaseObject_Type || base == NULL) { + break; + } + cyfunctype = base; + } + return (__pyx_CyFunctionObject *)PyObject_GetTypeData((o), cyfunctype); +} +#else +#define __Pyx_as_CyFunctionObject_safe __Pyx_as_CyFunctionObject +#endif +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) { + if (__Pyx_CyFunction_Check(func)) { + return __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_meth == (PyCFunction) cfunc; + } else if (PyCFunction_Check(func)) { + return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; + } + return 0; +} +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { + if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) { + int result; + PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func); + if (unlikely(!newFunc)) { + PyErr_Clear(); // It's only an optimization, so don't throw an error + return 0; + } + result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc); + Py_DECREF(newFunc); + return result; + } + return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc); +} +#else +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { + if (PyMethod_Check(func)) { + func = PyMethod_GET_FUNCTION(func); + } + return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; +} +#endif +static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + __Pyx_Py_XDECREF_SET( + __Pyx_CyFunction_ClassObj(f), + ((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#else + __Pyx_Py_XDECREF_SET( + ((PyCMethodObject *) (f))->mm_class, + (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#endif +} +static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type); + if (unlikely(!m->defaults)) + return NULL; + return m->defaults; +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults_tuple = tuple; + Py_INCREF(tuple); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults_kwdict = dict; + Py_INCREF(dict); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->func_annotations = dict; + Py_INCREF(dict); +} + /* PyMethodNew (used by CythonFunctionShared) */ #if CYTHON_COMPILING_IN_LIMITED_API static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) { @@ -48829,7 +56254,7 @@ static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *ty #endif /* PyVectorcallFastCallDict (used by CythonFunctionShared) */ -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL +#if CYTHON_VECTORCALL static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) { PyObject *res = NULL; @@ -48919,87 +56344,43 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _ #endif /* CythonFunctionShared (used by CythonFunction) */ -#if CYTHON_COMPILING_IN_LIMITED_API -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) { - if (__Pyx_CyFunction_Check(func)) { - return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc; - } else if (PyCFunction_Check(func)) { - return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; - } - return 0; -} -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { - if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) { - int result; - PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func); - if (unlikely(!newFunc)) { - PyErr_Clear(); // It's only an optimization, so don't throw an error - return 0; - } - result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc); - Py_DECREF(newFunc); - return result; - } - return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc); -} -#else -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { - if (PyMethod_Check(func)) { - func = PyMethod_GET_FUNCTION(func); - } - return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; -} -#endif -static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - __Pyx_Py_XDECREF_SET( - __Pyx_CyFunction_GetClassObj(f), - ((classobj) ? __Pyx_NewRef(classobj) : NULL)); -#else - __Pyx_Py_XDECREF_SET( - ((PyCMethodObject *) (f))->mm_class, - (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); -#endif -} static PyObject * __Pyx_CyFunction_get_doc_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_doc == NULL)) { -#if CYTHON_COMPILING_IN_LIMITED_API - op->func_doc = PyObject_GetAttrString(op->func, "__doc__"); - if (unlikely(!op->func_doc)) return NULL; -#else - if (((PyCFunctionObject*)op)->m_ml->ml_doc) { - op->func_doc = PyUnicode_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc); + const char *doc = __Pyx_CyFunction_MethodDef(op)->ml_doc; + if (doc) { + op->func_doc = PyUnicode_FromString(doc); if (unlikely(op->func_doc == NULL)) return NULL; } else { Py_INCREF(Py_None); return Py_None; } -#endif } Py_INCREF(op->func_doc); return op->func_doc; } static PyObject * -__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, void *closure) { +__Pyx_CyFunction_get_doc(PyObject *op_in, void *closure) { PyObject *result; + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(closure); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); result = __Pyx_CyFunction_get_doc_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_doc(PyObject *op_in, PyObject *value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (value == NULL) { value = Py_None; } Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_doc, value); __Pyx_END_CRITICAL_SECTION(); return 0; @@ -49008,11 +56389,8 @@ static PyObject * __Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_name == NULL)) { -#if CYTHON_COMPILING_IN_LIMITED_API - op->func_name = PyObject_GetAttrString(op->func, "__name__"); -#else - op->func_name = PyUnicode_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name); -#endif + const char *name = __Pyx_CyFunction_MethodDef(op)->ml_name; + op->func_name = PyUnicode_InternFromString(name); if (unlikely(op->func_name == NULL)) return NULL; } @@ -49020,17 +56398,17 @@ __Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op) return op->func_name; } static PyObject * -__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_name(PyObject *op, void *context) { PyObject *result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); - result = __Pyx_CyFunction_get_name_locked(op); + result = __Pyx_CyFunction_get_name_locked(__Pyx_as_CyFunctionObject(op)); __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_name(PyObject *op_in, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { @@ -49038,25 +56416,27 @@ __Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *con "__name__ must be set to a string object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_name, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_qualname(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *result; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); Py_INCREF(op->func_qualname); result = op->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_qualname(PyObject *op_in, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { @@ -49064,8 +56444,9 @@ __Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void "__qualname__ must be set to a string object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_qualname, value); __Pyx_END_CRITICAL_SECTION(); return 0; @@ -49085,14 +56466,15 @@ __Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op, void *context) } #endif static PyObject * -__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_globals(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(op->func_globals); return op->func_globals; } static PyObject * -__Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_closure(PyObject *op, void *context) { CYTHON_UNUSED_VAR(op); CYTHON_UNUSED_VAR(context); @@ -49100,17 +56482,18 @@ __Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) return Py_None; } static PyObject * -__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_code(PyObject *op_in, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = (op->func_code) ? op->func_code : Py_None; CYTHON_UNUSED_VAR(context); Py_INCREF(result); return result; } static int -__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op, PyObject *op_obj) { int result = 0; - PyObject *res = op->defaults_getter((PyObject *) op); + PyObject *res = op->defaults_getter(op_obj); if (unlikely(!res)) return -1; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS @@ -49130,7 +56513,8 @@ __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { return result; } static int -__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_defaults(PyObject *op_in, PyObject* value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; @@ -49142,17 +56526,18 @@ __Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__defaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->defaults_tuple, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_get_defaults_locked(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = op->defaults_tuple; if (unlikely(!result)) { if (op->defaults_getter) { - if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + if (unlikely(__Pyx_CyFunction_init_defaults(op, op_in) < 0)) return NULL; result = op->defaults_tuple; } else { result = Py_None; @@ -49162,7 +56547,7 @@ __Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_defaults(PyObject *op, void *context) { PyObject* result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); @@ -49171,7 +56556,8 @@ __Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { return result; } static int -__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_kwdefaults(PyObject *op_in, PyObject* value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; @@ -49183,17 +56569,18 @@ __Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, voi PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__kwdefaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->defaults_kwdict, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_get_kwdefaults_locked(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = op->defaults_kwdict; if (unlikely(!result)) { if (op->defaults_getter) { - if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + if (unlikely(__Pyx_CyFunction_init_defaults(op, op_in) < 0)) return NULL; result = op->defaults_kwdict; } else { result = Py_None; @@ -49203,7 +56590,7 @@ __Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_kwdefaults(PyObject *op, void *context) { PyObject* result; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); @@ -49211,8 +56598,9 @@ __Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { __Pyx_END_CRITICAL_SECTION(); return result; } +static int __Pyx_CyFunction_set_annotate_in_dict_if_exists(PyObject *op_in, PyObject *value); static int -__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_annotations(PyObject *op_in, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); if (!value || value == Py_None) { value = NULL; @@ -49221,12 +56609,71 @@ __Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, vo "__annotations__ must be set to a dict object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_XINCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_annotations, value); __Pyx_END_CRITICAL_SECTION(); + if (unlikely(__Pyx_CyFunction_set_annotate_in_dict_if_exists(op_in, Py_None) < 0)) return -1; return 0; } +static int +__Pyx_CyFunction_get_dict_if_exists(PyObject *op_in, PyObject **dict) { + /* Return 1 if the function dict exists, 0 otherwise. This cannot fail: + * _PyObject_GetDictPtr() may clear errors internally, but never reports them. */ +#if CYTHON_COMPILING_IN_PYPY + *dict = PyObject_GenericGetDict(op_in, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX < 0x030C0000 + *dict = __Pyx_as_CyFunctionObject(op_in)->func_dict; +#else + PyObject **dictptr = _PyObject_GetDictPtr(op_in); + *dict = likely(dictptr) ? *dictptr : NULL; +#endif + return *dict ? 1 : 0; +} +static int +__Pyx_CyFunction_get_annotate_from_dict_if_exists(PyObject *op_in, PyObject **annotate) { + PyObject *dict; + int dict_found; + *annotate = NULL; + dict_found = __Pyx_CyFunction_get_dict_if_exists(op_in, &dict); + if (!dict_found) return 0; + return __Pyx_PyDict_GetItemRef(dict, __pyx_mstate_global->__pyx_n_u_annotate, annotate); +} +static int +__Pyx_CyFunction_set_annotate_in_dict_if_exists(PyObject *op_in, PyObject *value) { + PyObject *dict; + int dict_found; + dict_found = __Pyx_CyFunction_get_dict_if_exists(op_in, &dict); + if (!dict_found) return 0; + if (value) { + return PyDict_SetItem(dict, __pyx_mstate_global->__pyx_n_u_annotate, value); + } else { +#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d0000 + return PyDict_Pop(dict, __pyx_mstate_global->__pyx_n_u_annotate, NULL); +#else + int result = PyDict_Contains(dict, __pyx_mstate_global->__pyx_n_u_annotate); + if (result == 1) { + result = PyDict_DelItem(dict, __pyx_mstate_global->__pyx_n_u_annotate); + } + return result; +#endif + } +} +static int +__Pyx_CyFunction_set_annotate_in_dict(PyObject *op_in, PyObject *value) { + PyObject *dict; + int result; +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + dict = __Pyx_CyFunction_get_dict(__Pyx_as_CyFunctionObject(op_in), NULL); +#else + dict = PyObject_GenericGetDict(op_in, NULL); +#endif + if (unlikely(!dict)) return -1; + result = PyDict_SetItem(dict, __pyx_mstate_global->__pyx_n_u_annotate, value); + Py_DECREF(dict); + return result; +} static PyObject * __Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) { PyObject* result = op->func_annotations; @@ -49239,14 +56686,93 @@ __Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op, void *context) { - PyObject *result; +__Pyx_CyFunction_get_annotations(PyObject *op_in, void *context) { + PyObject *annotate = NULL; + PyObject *result = NULL; + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); - __Pyx_BEGIN_CRITICAL_SECTION(op); - result = __Pyx_CyFunction_get_annotations_locked(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + result = __Pyx_XNewRef(op->func_annotations); + __Pyx_END_CRITICAL_SECTION(); + if (result) return result; + if (unlikely(__Pyx_CyFunction_get_annotate_from_dict_if_exists(op_in, &annotate) < 0)) return NULL; + if (!annotate || annotate == Py_None) { + Py_XDECREF(annotate); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + result = __Pyx_CyFunction_get_annotations_locked(op); + __Pyx_END_CRITICAL_SECTION(); + return result; + } + PyObject *format = PyLong_FromLong(1L); // annotationlib.Format.VALUE + if (likely(format)) { + if (!Py_EnterRecursiveCall(" cyfunction __annotations__.__get__")) { + result = __Pyx_PyObject_CallOneArg(annotate, format); + Py_LeaveRecursiveCall(); + Py_DECREF(format); + } + } + Py_DECREF(annotate); + if (unlikely(!result)) return NULL; + if (unlikely(!PyDict_Check(result))) { + PyErr_SetString(PyExc_TypeError, "__annotate__ must return a dict"); + Py_DECREF(result); + return NULL; + } + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + __Pyx_Py_XDECREF_SET(op->func_annotations, __Pyx_NewRef(result)); __Pyx_END_CRITICAL_SECTION(); return result; } +static PyObject *__Pyx_CyFunction_annotate_impl(PyObject *self, PyObject *arg) { + CYTHON_UNUSED_VAR(arg); + if (unlikely(!self)) { + PyErr_SetString(PyExc_SystemError, "cython __annotate__ called without 'self' argument"); + return NULL; + } + PyObject *result; + if (Py_EnterRecursiveCall(" in cyfunction annotate")) { + return NULL; + } + result = __Pyx_CyFunction_get_annotations(self, NULL); + Py_LeaveRecursiveCall(); + return result; +} +static PyObject * +__Pyx_CyFunction_get_annotate(PyObject *op_in, void *context); +static int +__Pyx_CyFunction_set_annotate(PyObject *op_in, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + if (value == NULL) { + PyErr_SetString(PyExc_TypeError, "__annotate__ cannot be deleted"); + return -1; + } + if (unlikely(value != Py_None && !PyCallable_Check(value))) { + PyErr_SetString(PyExc_TypeError, "__annotate__ must be callable or None"); + return -1; + } + if (unlikely(__Pyx_TypeCheck(value, &PyCFunction_Type))) { +#if !CYTHON_ASSUME_SAFE_MACROS && !CYTHON_COMPILING_IN_PYPY + PyCFunction cfunction = PyCFunction_GetFunction(value); + if (unlikely(!cfunction)) return -1; + PyObject *value_self = PyCFunction_GetSelf(value); + if (unlikely(!value_self && PyErr_Occurred())) return -1; +#else + PyCFunction cfunction = PyCFunction_GET_FUNCTION(value); + PyObject *value_self = PyCFunction_GET_SELF(value); +#endif + if (cfunction == __Pyx_CyFunction_annotate_impl && value_self == op_in) { + return __Pyx_CyFunction_set_annotate_in_dict_if_exists(op_in, NULL); + } + } + if (value != Py_None) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + Py_CLEAR(op->func_annotations); + __Pyx_END_CRITICAL_SECTION(); + } + return __Pyx_CyFunction_set_annotate_in_dict(op_in, value); +} +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 static PyObject * __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { int is_coroutine = op->flags & __Pyx_CYFUNCTION_COROUTINE; @@ -49259,26 +56785,30 @@ __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { PyList_SET_ITEM(fromlist, 0, marker); #else if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) { - Py_DECREF(marker); Py_DECREF(fromlist); return NULL; } #endif module = PyImport_ImportModuleLevelObject(__pyx_mstate_global->__pyx_n_u_asyncio_coroutines, NULL, NULL, fromlist, 0); Py_DECREF(fromlist); - if (unlikely(!module)) goto ignore; + if (unlikely(!module)) { + goto ignore_or_error; + } is_coroutine_value = __Pyx_PyObject_GetAttrStr(module, marker); Py_DECREF(module); if (likely(is_coroutine_value)) { return is_coroutine_value; } -ignore: - PyErr_Clear(); +ignore_or_error: + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; + } } return __Pyx_PyBool_FromLong(is_coroutine); } static PyObject * -__Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_is_coroutine(PyObject *op_in, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *result; CYTHON_UNUSED_VAR(context); if (op->func_is_coroutine) { @@ -49287,7 +56817,7 @@ __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { result = __Pyx_CyFunction_get_is_coroutine_value(op); if (unlikely(!result)) return NULL; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); if (op->func_is_coroutine) { Py_DECREF(result); result = __Pyx_NewRef(op->func_is_coroutine); @@ -49297,46 +56827,39 @@ __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { __Pyx_END_CRITICAL_SECTION(); return result; } -static void __Pyx_CyFunction_raise_argument_count_error(__pyx_CyFunctionObject *func, const char* message, Py_ssize_t size) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); - if (!py_name) return; - PyErr_Format(PyExc_TypeError, - "%.200S() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", - py_name, message, size); - Py_DECREF(py_name); -#else - const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; +#endif +static void __Pyx_CyFunction_raise_argument_count_error(PyObject *func, const char* message, Py_ssize_t size) { + const char* name = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", name, message, size); -#endif } -static void __Pyx_CyFunction_raise_type_error(__pyx_CyFunctionObject *func, const char* message) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); - if (!py_name) return; - PyErr_Format(PyExc_TypeError, - "%.200S() %s", - py_name, message); - Py_DECREF(py_name); -#else - const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; +static void __Pyx_CyFunction_raise_type_error(PyObject *func, const char* message) { + const char* name = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s", name, message); -#endif } -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL static PyObject * -__Pyx_CyFunction_get_module(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_module(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); - return PyObject_GetAttrString(op->func, "__module__"); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + Py_INCREF(op->func_module); + return op->func_module; } static int -__Pyx_CyFunction_set_module(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_module(PyObject *op_in, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); - return PyObject_SetAttrString(op->func, "__module__", value); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + if (value == NULL) { + value = Py_None; + } + Py_INCREF(value); + PyObject *old = op->func_module; + op->func_module = value; + Py_DECREF(old); + return 0; } #endif static PyGetSetDef __pyx_CyFunction_getsets[] = { @@ -49362,27 +56885,33 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = { {"__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, {"__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0}, {"__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0}, + {"__annotate__", (getter)__Pyx_CyFunction_get_annotate, (setter)__Pyx_CyFunction_set_annotate, 0, 0}, +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 {"_is_coroutine", (getter)__Pyx_CyFunction_get_is_coroutine, 0, 0, 0}, -#if CYTHON_COMPILING_IN_LIMITED_API +#endif +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL {"__module__", (getter)__Pyx_CyFunction_get_module, (setter)__Pyx_CyFunction_set_module, 0, 0}, #endif {0, 0, 0, 0, 0} }; static PyMemberDef __pyx_CyFunction_members[] = { -#if !CYTHON_COMPILING_IN_LIMITED_API +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) {"__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), 0, 0}, #endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API - {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), READONLY, 0}, + {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #endif -#if CYTHON_METH_FASTCALL -#if CYTHON_COMPILING_IN_LIMITED_API - {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), READONLY, 0}, +#if CYTHON_VECTORCALL +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL + {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #else {"__vectorcalloffset__", T_PYSSIZET, offsetof(PyCFunctionObject, vectorcall), READONLY, 0}, #endif -#if CYTHON_COMPILING_IN_LIMITED_API - {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), READONLY, 0}, +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #else {"__weaklistoffset__", T_PYSSIZET, offsetof(PyCFunctionObject, m_weakreflist), READONLY, 0}, #endif @@ -49390,48 +56919,59 @@ static PyMemberDef __pyx_CyFunction_members[] = { {0, 0, 0, 0, 0} }; static PyObject * -__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, PyObject *args) +__Pyx_CyFunction_reduce(PyObject *m_in, PyObject *args) { PyObject *result = NULL; + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(m_in); CYTHON_UNUSED_VAR(args); - __Pyx_BEGIN_CRITICAL_SECTION(m); + __Pyx_BEGIN_CRITICAL_SECTION(m_in); Py_INCREF(m->func_qualname); result = m->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static PyMethodDef __pyx_CyFunction_methods[] = { - {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0}, + {"__annotate_cython__", __Pyx_CyFunction_annotate_impl, METH_O, + "Placeholder __annotate__ function to allow 'functools.wraps' to work " + "on Cython functions."}, + {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_NOARGS, 0}, {0, 0, 0, 0} }; -#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject * +__Pyx_CyFunction_get_annotate(PyObject *op_in, void *context) { + PyObject *annotate = NULL; + CYTHON_UNUSED_VAR(context); + if (unlikely(__Pyx_CyFunction_get_annotate_from_dict_if_exists(op_in, &annotate) < 0)) return NULL; + if (annotate) return annotate; + PyObject *method = PyCFunction_New( + &__pyx_CyFunction_methods[0], + op_in); + return method; +} +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL #define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist) #else #define __Pyx_CyFunction_weakreflist(cyfunc) (((PyCFunctionObject*)cyfunc)->m_weakreflist) #endif -static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef *ml, int flags, PyObject* qualname, +static PyObject *__Pyx_CyFunction_Init(PyObject *op_in, + PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { -#if !CYTHON_COMPILING_IN_LIMITED_API + __pyx_CyFunctionObject* op = __Pyx_as_CyFunctionObject(op_in); +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) PyCFunctionObject *cf = (PyCFunctionObject*) op; #endif if (unlikely(op == NULL)) return NULL; -#if CYTHON_COMPILING_IN_LIMITED_API - op->func = PyCFunction_NewEx(ml, (PyObject*)op, module); - if (unlikely(!op->func)) return NULL; -#endif + __Pyx_CyFunction_MethodDef(op) = ml; + Py_XINCREF(module); + __Pyx_CyFunction_Module(op) = module; op->flags = flags; __Pyx_CyFunction_weakreflist(op) = NULL; -#if !CYTHON_COMPILING_IN_LIMITED_API - cf->m_ml = ml; +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) cf->m_self = (PyObject *) op; #endif Py_XINCREF(closure); op->func_closure = closure; -#if !CYTHON_COMPILING_IN_LIMITED_API - Py_XINCREF(module); - cf->m_module = module; -#endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API op->func_dict = NULL; #endif @@ -49439,11 +56979,7 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * Py_INCREF(qualname); op->func_qualname = qualname; op->func_doc = NULL; -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - op->func_classobj = NULL; -#else - ((PyCMethodObject*)op)->mm_class = NULL; -#endif + __Pyx_CyFunction_ClassObj(op) = NULL; op->func_globals = globals; Py_INCREF(op->func_globals); Py_XINCREF(code); @@ -49453,8 +56989,10 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * op->defaults_kwdict = NULL; op->defaults_getter = NULL; op->func_annotations = NULL; +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 op->func_is_coroutine = NULL; -#if CYTHON_METH_FASTCALL +#endif +#if CYTHON_VECTORCALL switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS | METH_METHOD)) { case METH_NOARGS: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_NOARGS; @@ -49473,21 +57011,16 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * break; default: PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); - Py_DECREF(op); + Py_DECREF(op_in); return NULL; } #endif - return (PyObject *) op; + return op_in; } -static int -__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) +static int __Pyx__CyFunction_clear(__pyx_CyFunctionObject *m) { Py_CLEAR(m->func_closure); -#if CYTHON_COMPILING_IN_LIMITED_API - Py_CLEAR(m->func); -#else - Py_CLEAR(((PyCFunctionObject*)m)->m_module); -#endif + Py_CLEAR(__Pyx_CyFunction_Module(m)); #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API Py_CLEAR(m->func_dict); #elif PY_VERSION_HEX < 0x030d0000 @@ -49500,48 +57033,43 @@ __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) Py_CLEAR(m->func_doc); Py_CLEAR(m->func_globals); Py_CLEAR(m->func_code); -#if !CYTHON_COMPILING_IN_LIMITED_API -#if PY_VERSION_HEX < 0x030900B1 - Py_CLEAR(__Pyx_CyFunction_GetClassObj(m)); -#else - { - PyObject *cls = (PyObject*) ((PyCMethodObject *) (m))->mm_class; - ((PyCMethodObject *) (m))->mm_class = NULL; - Py_XDECREF(cls); - } -#endif -#endif + Py_CLEAR(__Pyx_CyFunction_ClassObj(m)); Py_CLEAR(m->defaults_tuple); Py_CLEAR(m->defaults_kwdict); Py_CLEAR(m->func_annotations); +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 Py_CLEAR(m->func_is_coroutine); +#endif Py_CLEAR(m->defaults); return 0; } -static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m) +static int +__Pyx_CyFunction_clear(PyObject *m) { - if (__Pyx_CyFunction_weakreflist(m) != NULL) - PyObject_ClearWeakRefs((PyObject *) m); - __Pyx_CyFunction_clear(m); + return __Pyx__CyFunction_clear(__Pyx_as_CyFunctionObject_safe(m)); +} +static void __Pyx__CyFunction_dealloc(PyObject *m) +{ + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject_safe(m); + if (__Pyx_CyFunction_weakreflist(cyfunc) != NULL) + PyObject_ClearWeakRefs(m); + __Pyx__CyFunction_clear(cyfunc); __Pyx_PyHeapTypeObject_GC_Del(m); } -static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m) +static void __Pyx_CyFunction_dealloc(PyObject *m) { PyObject_GC_UnTrack(m); __Pyx__CyFunction_dealloc(m); } -static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg) +static int __Pyx_CyFunction_traverse(PyObject *m_in, visitproc visit, void *arg) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject_safe(m_in); { - int e = __Pyx_call_type_traverse((PyObject*)m, 1, visit, arg); + int e = __Pyx_call_type_traverse(m_in, 1, visit, arg); if (e) return e; } Py_VISIT(m->func_closure); -#if CYTHON_COMPILING_IN_LIMITED_API - Py_VISIT(m->func); -#else - Py_VISIT(((PyCFunctionObject*)m)->m_module); -#endif + Py_VISIT(__Pyx_CyFunction_Module(m)); #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API Py_VISIT(m->func_dict); #else @@ -49561,39 +57089,31 @@ static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, Py_VISIT(m->func_doc); Py_VISIT(m->func_globals); __Pyx_VISIT_CONST(m->func_code); -#if !CYTHON_COMPILING_IN_LIMITED_API - Py_VISIT(__Pyx_CyFunction_GetClassObj(m)); -#endif + Py_VISIT(__Pyx_CyFunction_ClassObj(m)); Py_VISIT(m->defaults_tuple); Py_VISIT(m->defaults_kwdict); + Py_VISIT(m->func_annotations); +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 Py_VISIT(m->func_is_coroutine); +#endif Py_VISIT(m->defaults); return 0; } static PyObject* -__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op) +__Pyx_CyFunction_repr(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *repr; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); repr = PyUnicode_FromFormat("", op->func_qualname, (void *)op); __Pyx_END_CRITICAL_SECTION(); return repr; } static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *f = ((__pyx_CyFunctionObject*)func)->func; - PyCFunction meth; - int flags; - meth = PyCFunction_GetFunction(f); - if (unlikely(!meth)) return NULL; - flags = PyCFunction_GetFlags(f); - if (unlikely(flags < 0)) return NULL; -#else - PyCFunctionObject* f = (PyCFunctionObject*)func; - PyCFunction meth = f->m_ml->ml_meth; - int flags = f->m_ml->ml_flags; -#endif + PyMethodDef *methoddef = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func)); + PyCFunction meth = methoddef->ml_meth; + int flags = methoddef->ml_flags; Py_ssize_t size; switch (flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) { case METH_VARARGS: @@ -49613,7 +57133,7 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py if (likely(size == 0)) return (*meth)(self, NULL); __Pyx_CyFunction_raise_argument_count_error( - (__pyx_CyFunctionObject*)func, + func, "takes no arguments", size); return NULL; } @@ -49640,7 +57160,7 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py return result; } __Pyx_CyFunction_raise_argument_count_error( - (__pyx_CyFunctionObject*)func, + func, "takes exactly one argument", size); return NULL; } @@ -49650,24 +57170,18 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py return NULL; } __Pyx_CyFunction_raise_type_error( - (__pyx_CyFunctionObject*)func, "takes no keyword arguments"); + func, "takes no keyword arguments"); return NULL; } static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { - PyObject *self, *result; -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)func)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)func)->m_self; -#endif - result = __Pyx_CyFunction_CallMethod(func, self, arg, kw); + PyObject *result; + result = __Pyx_CyFunction_CallMethod(func, func, arg, kw); return result; } static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) { PyObject *result; - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func; -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); +#if CYTHON_VECTORCALL __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc); if (vc) { #if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE @@ -49706,119 +57220,89 @@ static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, P } return result; } -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL -static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(__pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) +#if CYTHON_VECTORCALL +static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(PyObject *func, __pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) { int ret = 0; if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { if (unlikely(nargs < 1)) { __Pyx_CyFunction_raise_type_error( - cyfunc, "needs an argument"); + func, "needs an argument"); return -1; } ret = 1; } if (unlikely(kwnames) && unlikely(__Pyx_PyTuple_GET_SIZE(kwnames))) { __Pyx_CyFunction_raise_type_error( - cyfunc, "takes no keyword arguments"); + func, "takes no keyword arguments"); return -1; } return ret; } static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; } if (unlikely(nargs != 0)) { __Pyx_CyFunction_raise_argument_count_error( - cyfunc, "takes no arguments", nargs); + func, "takes no arguments", nargs); return NULL; } return meth(self, NULL); } static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; } if (unlikely(nargs != 1)) { __Pyx_CyFunction_raise_argument_count_error( - cyfunc, "takes exactly one argument", nargs); + func, "takes exactly one argument", nargs); return NULL; } return meth(self, args[0]); } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; @@ -49827,29 +57311,19 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; - PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_GetClassObj(cyfunc); + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); + PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_ClassObj(cyfunc); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; @@ -49876,18 +57350,18 @@ static PyType_Slot __pyx_CyFunctionType_slots[] = { }; static PyType_Spec __pyx_CyFunctionType_spec = { __PYX_TYPE_MODULE_PREFIX "cython_function_or_method", - sizeof(__pyx_CyFunctionObject), + __PYX_SHARED_SIZEOF(__pyx_CyFunctionObject), 0, #ifdef Py_TPFLAGS_METHOD_DESCRIPTOR Py_TPFLAGS_METHOD_DESCRIPTOR | #endif -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #if defined(Py_TPFLAGS_HAVE_VECTORCALL) Py_TPFLAGS_HAVE_VECTORCALL | #elif defined(_Py_TPFLAGS_HAVE_VECTORCALL) _Py_TPFLAGS_HAVE_VECTORCALL | #endif -#endif // CYTHON_METH_FASTCALL +#endif // CYTHON_VECTORCALL #if PY_VERSION_HEX >= 0x030C0000 && !CYTHON_COMPILING_IN_LIMITED_API Py_TPFLAGS_MANAGED_DICT | #endif @@ -49897,6 +57371,9 @@ static PyType_Spec __pyx_CyFunctionType_spec = { }; static int __pyx_CyFunction_init(PyObject *module) { __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module); + if (mstate->__pyx_CyFunctionType != NULL) { + return 0; + } mstate->__pyx_CyFunctionType = __Pyx_FetchCommonTypeFromSpec( mstate->__pyx_CommonTypesMetaclassType, module, &__pyx_CyFunctionType_spec, NULL); if (unlikely(mstate->__pyx_CyFunctionType == NULL)) { @@ -49904,34 +57381,13 @@ static int __pyx_CyFunction_init(PyObject *module) { } return 0; } -static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type); - if (unlikely(!m->defaults)) - return NULL; - return m->defaults; -} -static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults_tuple = tuple; - Py_INCREF(tuple); -} -static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults_kwdict = dict; - Py_INCREF(dict); -} -static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->func_annotations = dict; - Py_INCREF(dict); -} /* CythonFunction */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { + (void)&__Pyx_Get_CyFunction_Type; PyObject *op = __Pyx_CyFunction_Init( - PyObject_GC_New(__pyx_CyFunctionObject, __pyx_mstate_global->__pyx_CyFunctionType), + PyObject_GC_New(PyObject, __pyx_mstate_global->__pyx_CyFunctionType), ml, flags, qualname, closure, module, globals, code ); if (likely(op)) { @@ -49939,24 +57395,10 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qual } return op; } - -/* ListPack */ -static PyObject *__Pyx_PyList_Pack(Py_ssize_t n, ...) { - va_list va; - PyObject *l = PyList_New(n); - va_start(va, n); - if (unlikely(!l)) goto end; - for (Py_ssize_t i=0; i__pyx_CyFunctionType; + Py_INCREF((PyObject*)tp); + return tp; } /* CLineInTraceback (used by AddTraceback) */ @@ -50034,7 +57476,7 @@ static __Pyx_CachedCodeObjectType *__pyx__find_code_object(struct __Pyx_CodeObje } static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS - (void)__pyx__find_code_object; + (void)&__pyx__find_code_object; return NULL; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just miss. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; @@ -50099,7 +57541,7 @@ static void __pyx__insert_code_object(struct __Pyx_CodeObjectCache *code_cache, } static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS - (void)__pyx__insert_code_object; + (void)&__pyx__insert_code_object; return; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just fail. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; @@ -50138,7 +57580,6 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject Py_DECREF(replace); return result; } - PyErr_Clear(); return NULL; } static void __Pyx_AddTraceback(const char *funcname, int c_line, @@ -50150,7 +57591,7 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, if (c_line) { c_line = __Pyx_CLineForTraceback(__Pyx_PyThreadState_Current, c_line); } - PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); + __Pyx_PyErr_FetchException(&exc_type, &exc_value, &exc_traceback); code_object = __pyx_find_code_object(c_line ? -c_line : py_line); if (!code_object) { code_object = Py_CompileString("_getframe()", filename, Py_eval_input); @@ -50182,7 +57623,7 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, if (unlikely(!frame) || frame == Py_None) goto bad; success = 1; bad: - PyErr_Restore(exc_type, exc_value, exc_traceback); + __Pyx_PyErr_RestoreException(exc_type, exc_value, exc_traceback); Py_XDECREF(code_object); Py_XDECREF(py_py_line); Py_XDECREF(py_funcname); @@ -50275,7 +57716,7 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, return (target_type) value;\ } -/* CheckUnpickleChecksum */ +/* CheckUnpickleChecksumError */ static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { PyObject *pickle_module = PyImport_ImportModule("pickle"); if (unlikely(!pickle_module)) return; @@ -50294,16 +57735,6 @@ static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long } Py_DECREF(pickle_error); } -static int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { - int found = 0; - found |= checksum1 == checksum; - found |= checksum2 == checksum; - found |= checksum3 == checksum; - if (likely(found)) - return 0; - __Pyx_RaiseUnpickleChecksumError(checksum, checksum1, checksum2, checksum3, members); - return -1; -} /* CIntToPy */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_int(int value) { @@ -50347,35 +57778,185 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_int(int value) { little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; - PyObject *from_bytes, *result = NULL, *kwds = NULL; - PyObject *py_bytes = NULL, *order_str = NULL; - from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); - if (!from_bytes) return NULL; + PyObject *result = NULL, *kwds = NULL; + PyObject *py_bytes = NULL, *order_str = NULL, *from_bytes_str = NULL;; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int)); if (!py_bytes) goto limited_bad; + from_bytes_str = PyUnicode_FromStringAndSize("from_bytes", 10); + if (!from_bytes_str) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { - PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; + PyObject *args[] = { (PyObject*)&PyLong_Type, py_bytes, order_str, Py_True }; if (!is_unsigned) { - kwds = __Pyx_MakeVectorcallBuilderKwds(1); - if (!kwds) goto limited_bad; - if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; + PyObject *signed_str = PyUnicode_FromStringAndSize("signed", 6); + if (!signed_str) goto limited_bad; +#if CYTHON_VECTORCALL + kwds = PyTuple_Pack(1, signed_str); +#else + { + PyObject *keys[] = {signed_str}; + PyObject *values[] = {Py_True}; + kwds = __Pyx_MakeKwargDict(keys, values, 1); + } +#endif + Py_DECREF(signed_str); + if (unlikely(!kwds)) goto limited_bad; } - result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); + result = __Pyx_Object_VectorcallMethodKwds(from_bytes_str, args, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); - Py_XDECREF(from_bytes); + Py_XDECREF(from_bytes_str); return result; #endif } } /* CIntFromPy */ -static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { +static int __Pyx_LargePyLong___Pyx_PyLong_As_int(PyObject *x); +static int __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(void) { + const char* type_name = "int"; + PyErr_Format(PyExc_OverflowError, + "can't convert negative value to %.200s", type_name); + return (int) -1; +} +static int __Pyx_raise_overflow___Pyx_PyLong_As_int(void) { + const char* type_name = "int"; + PyErr_Format(PyExc_OverflowError, + "value too large to convert to %.200s", type_name); + return (int) -1; +} +static CYTHON_INLINE int __Pyx_PyULong___Pyx_PyLong_As_int(PyObject *x) { + const int is_unsigned = 1; +#if CYTHON_USE_PYLONG_INTERNALS + { + const digit* digits = __Pyx_PyLong_Digits(x); + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { + return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { + return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { + return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + {} + } +#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (int) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(int) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) + } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_int(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static CYTHON_INLINE int __Pyx_PySLong___Pyx_PyLong_As_int(PyObject *x) { + const int is_unsigned = 0; +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsNeg(x)) { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + long ival = - (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + long ival = - (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + long ival = - (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + {} + } else { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + {} + } +#endif + #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + if ((sizeof(int) <= sizeof(int)) && (sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, int, PyLong_AsInt(x)) + } else + #endif + if ((sizeof(int) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) + } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_int(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static int __Pyx_LargePyLong___Pyx_PyLong_As_int(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" @@ -50385,247 +57966,298 @@ static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; - if (unlikely(!PyLong_Check(x))) { - int val; - PyObject *tmp = __Pyx_PyNumber_Long(x); - if (!tmp) return (int) -1; - val = __Pyx_PyLong_As_int(tmp); - Py_DECREF(tmp); - return val; + int val; + int ret = -1; +#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API + Py_ssize_t bytes_copied = PyLong_AsNativeBytes( + x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); + if (unlikely(bytes_copied == -1)) { + } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { + goto raise_overflow; + } else { + ret = 0; + } +#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)x, + bytes, sizeof(val), + is_little, !is_unsigned); + if ((0)) goto raise_overflow; +#else + PyObject *v; + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (likely(PyLong_CheckExact(x))) { + v = __Pyx_NewRef(x); + } else { + v = PyNumber_Long(x); + if (unlikely(!v)) return (int) -1; + assert(PyLong_CheckExact(v)); } + { + int result = PyObject_RichCompareBool(v, Py_False, Py_LT); + if (unlikely(result < 0)) { + Py_DECREF(v); + return (int) -1; + } + is_negative = result == 1; + } + if (is_unsigned && unlikely(is_negative)) { + Py_DECREF(v); + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to int"); + return (int) -1; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + Py_DECREF(v); + if (unlikely(!stepval)) + return (int) -1; + } else { + stepval = v; + } + v = NULL; + val = (int) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + long idigit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + val |= ((int) idigit) << bits; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + } + Py_DECREF(shift); shift = NULL; + Py_DECREF(mask); mask = NULL; + { + long idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((int) idigit) << bits; + } + if (!is_unsigned) { + if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; +done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + if (unlikely(ret)) + return (int) -1; + return val; +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static CYTHON_INLINE int __Pyx_PyLong___Pyx_PyLong_As_int(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const int neg_one = (int) -1, const_zero = (int) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; if (is_unsigned) { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_DigitCount(x)) { - case 2: - if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { - return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - case 3: - if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { - return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - case 4: - if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { - return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - } - } -#endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 - if (unlikely(Py_SIZE(x) < 0)) { - goto raise_neg_overflow; - } -#else + } else + #endif { - int result = PyObject_RichCompareBool(x, Py_False, Py_LT); - if (unlikely(result < 0)) - return (int) -1; - if (unlikely(result == 1)) - goto raise_neg_overflow; - } -#endif - if ((sizeof(int) <= sizeof(unsigned long))) { - __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) - } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + return __Pyx_PyULong___Pyx_PyLong_As_int(x); } } else { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_SignedDigitCount(x)) { - case -2: - if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 2: - if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case -3: - if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 3: - if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case -4: - if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 4: - if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { - return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - } + } else + #endif + { + return __Pyx_PySLong___Pyx_PyLong_As_int(x); } + } +#if CYTHON_USE_PYLONG_INTERNALS +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); #endif - if ((sizeof(int) <= sizeof(long))) { - __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) - } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) - } +} +static int __Pyx_NonPyLong___Pyx_PyLong_As_int(PyObject *x) { + int val; + PyObject *tmp = __Pyx_PyNumber_Long(x); + if (!tmp) return (int) -1; + val = __Pyx_PyLong_As_int(tmp); + Py_DECREF(tmp); + return val; +} +static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { + if (likely(PyLong_Check(x))) { + return __Pyx_PyLong___Pyx_PyLong_As_int(x); + } else { + return __Pyx_NonPyLong___Pyx_PyLong_As_int(x); } +} + +/* CIntFromPy */ +static long __Pyx_LargePyLong___Pyx_PyLong_As_long(PyObject *x); +static long __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(void) { + const char* type_name = "long"; + PyErr_Format(PyExc_OverflowError, + "can't convert negative value to %.200s", type_name); + return (long) -1; +} +static long __Pyx_raise_overflow___Pyx_PyLong_As_long(void) { + const char* type_name = "long"; + PyErr_Format(PyExc_OverflowError, + "value too large to convert to %.200s", type_name); + return (long) -1; +} +static CYTHON_INLINE long __Pyx_PyULong___Pyx_PyLong_As_long(PyObject *x) { + const int is_unsigned = 1; +#if CYTHON_USE_PYLONG_INTERNALS { - int val; - int ret = -1; -#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API - Py_ssize_t bytes_copied = PyLong_AsNativeBytes( - x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); - if (unlikely(bytes_copied == -1)) { - } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { - goto raise_overflow; - } else { - ret = 0; - } -#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - ret = _PyLong_AsByteArray((PyLongObject *)x, - bytes, sizeof(val), - is_little, !is_unsigned); -#else - PyObject *v; - PyObject *stepval = NULL, *mask = NULL, *shift = NULL; - int bits, remaining_bits, is_negative = 0; - int chunk_size = (sizeof(long) < 8) ? 30 : 62; - if (likely(PyLong_CheckExact(x))) { - v = __Pyx_NewRef(x); - } else { - v = PyNumber_Long(x); - if (unlikely(!v)) return (int) -1; - assert(PyLong_CheckExact(v)); - } - { - int result = PyObject_RichCompareBool(v, Py_False, Py_LT); - if (unlikely(result < 0)) { - Py_DECREF(v); - return (int) -1; + const digit* digits = __Pyx_PyLong_Digits(x); + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { + return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); } - is_negative = result == 1; - } - if (is_unsigned && unlikely(is_negative)) { - Py_DECREF(v); + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { + return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { + return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + {} + } +#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (long) -1; + if (unlikely(result == 1)) goto raise_neg_overflow; - } else if (is_negative) { - stepval = PyNumber_Invert(v); - Py_DECREF(v); - if (unlikely(!stepval)) - return (int) -1; - } else { - stepval = v; - } - v = NULL; - val = (int) 0; - mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; - shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; - for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { - PyObject *tmp, *digit; - long idigit; - digit = PyNumber_And(stepval, mask); - if (unlikely(!digit)) goto done; - idigit = PyLong_AsLong(digit); - Py_DECREF(digit); - if (unlikely(idigit < 0)) goto done; - val |= ((int) idigit) << bits; - tmp = PyNumber_Rshift(stepval, shift); - if (unlikely(!tmp)) goto done; - Py_DECREF(stepval); stepval = tmp; - } - Py_DECREF(shift); shift = NULL; - Py_DECREF(mask); mask = NULL; - { - long idigit = PyLong_AsLong(stepval); - if (unlikely(idigit < 0)) goto done; - remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); - if (unlikely(idigit >= (1L << remaining_bits))) - goto raise_overflow; - val |= ((int) idigit) << bits; - } - if (!is_unsigned) { - if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) - goto raise_overflow; - if (is_negative) - val = ~val; - } - ret = 0; - done: - Py_XDECREF(shift); - Py_XDECREF(mask); - Py_XDECREF(stepval); + } #endif - if (unlikely(ret)) - return (int) -1; - return val; + if ((sizeof(long) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) + } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) } + return __Pyx_LargePyLong___Pyx_PyLong_As_long(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); raise_overflow: - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to int"); - return (int) -1; + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +} +static CYTHON_INLINE long __Pyx_PySLong___Pyx_PyLong_As_long(PyObject *x) { + const int is_unsigned = 0; +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsNeg(x)) { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + long ival = - (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + long ival = - (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + long ival = - (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + {} + } else { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + {} + } +#endif + #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + if ((sizeof(long) <= sizeof(int)) && (sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, int, PyLong_AsInt(x)) + } else + #endif + if ((sizeof(long) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) + } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_long(x); raise_neg_overflow: - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to int"); - return (int) -1; + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); } - -/* CIntFromPy */ -static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { +static long __Pyx_LargePyLong___Pyx_PyLong_As_long(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" @@ -50635,243 +58267,154 @@ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; - if (unlikely(!PyLong_Check(x))) { - long val; - PyObject *tmp = __Pyx_PyNumber_Long(x); - if (!tmp) return (long) -1; - val = __Pyx_PyLong_As_long(tmp); - Py_DECREF(tmp); - return val; + long val; + int ret = -1; +#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API + Py_ssize_t bytes_copied = PyLong_AsNativeBytes( + x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); + if (unlikely(bytes_copied == -1)) { + } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { + goto raise_overflow; + } else { + ret = 0; + } +#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)x, + bytes, sizeof(val), + is_little, !is_unsigned); + if ((0)) goto raise_overflow; +#else + PyObject *v; + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (likely(PyLong_CheckExact(x))) { + v = __Pyx_NewRef(x); + } else { + v = PyNumber_Long(x); + if (unlikely(!v)) return (long) -1; + assert(PyLong_CheckExact(v)); + } + { + int result = PyObject_RichCompareBool(v, Py_False, Py_LT); + if (unlikely(result < 0)) { + Py_DECREF(v); + return (long) -1; + } + is_negative = result == 1; + } + if (is_unsigned && unlikely(is_negative)) { + Py_DECREF(v); + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to long"); + return (long) -1; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + Py_DECREF(v); + if (unlikely(!stepval)) + return (long) -1; + } else { + stepval = v; + } + v = NULL; + val = (long) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + long idigit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + val |= ((long) idigit) << bits; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + } + Py_DECREF(shift); shift = NULL; + Py_DECREF(mask); mask = NULL; + { + long idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((long) idigit) << bits; } + if (!is_unsigned) { + if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; +done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + if (unlikely(ret)) + return (long) -1; + return val; +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +} +static CYTHON_INLINE long __Pyx_PyLong___Pyx_PyLong_As_long(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const long neg_one = (long) -1, const_zero = (long) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; if (is_unsigned) { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_DigitCount(x)) { - case 2: - if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { - return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - case 3: - if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { - return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - case 4: - if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { - return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - } - } -#endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 - if (unlikely(Py_SIZE(x) < 0)) { - goto raise_neg_overflow; - } -#else + } else + #endif { - int result = PyObject_RichCompareBool(x, Py_False, Py_LT); - if (unlikely(result < 0)) - return (long) -1; - if (unlikely(result == 1)) - goto raise_neg_overflow; - } -#endif - if ((sizeof(long) <= sizeof(unsigned long))) { - __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) - } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + return __Pyx_PyULong___Pyx_PyLong_As_long(x); } } else { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_SignedDigitCount(x)) { - case -2: - if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 2: - if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case -3: - if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 3: - if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case -4: - if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 4: - if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { - return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - } - } -#endif - if ((sizeof(long) <= sizeof(long))) { - __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) - } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) - } - } - { - long val; - int ret = -1; -#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API - Py_ssize_t bytes_copied = PyLong_AsNativeBytes( - x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); - if (unlikely(bytes_copied == -1)) { - } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { - goto raise_overflow; - } else { - ret = 0; - } -#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - ret = _PyLong_AsByteArray((PyLongObject *)x, - bytes, sizeof(val), - is_little, !is_unsigned); -#else - PyObject *v; - PyObject *stepval = NULL, *mask = NULL, *shift = NULL; - int bits, remaining_bits, is_negative = 0; - int chunk_size = (sizeof(long) < 8) ? 30 : 62; - if (likely(PyLong_CheckExact(x))) { - v = __Pyx_NewRef(x); - } else { - v = PyNumber_Long(x); - if (unlikely(!v)) return (long) -1; - assert(PyLong_CheckExact(v)); - } - { - int result = PyObject_RichCompareBool(v, Py_False, Py_LT); - if (unlikely(result < 0)) { - Py_DECREF(v); - return (long) -1; - } - is_negative = result == 1; - } - if (is_unsigned && unlikely(is_negative)) { - Py_DECREF(v); - goto raise_neg_overflow; - } else if (is_negative) { - stepval = PyNumber_Invert(v); - Py_DECREF(v); - if (unlikely(!stepval)) - return (long) -1; - } else { - stepval = v; - } - v = NULL; - val = (long) 0; - mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; - shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; - for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { - PyObject *tmp, *digit; - long idigit; - digit = PyNumber_And(stepval, mask); - if (unlikely(!digit)) goto done; - idigit = PyLong_AsLong(digit); - Py_DECREF(digit); - if (unlikely(idigit < 0)) goto done; - val |= ((long) idigit) << bits; - tmp = PyNumber_Rshift(stepval, shift); - if (unlikely(!tmp)) goto done; - Py_DECREF(stepval); stepval = tmp; - } - Py_DECREF(shift); shift = NULL; - Py_DECREF(mask); mask = NULL; + } else + #endif { - long idigit = PyLong_AsLong(stepval); - if (unlikely(idigit < 0)) goto done; - remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); - if (unlikely(idigit >= (1L << remaining_bits))) - goto raise_overflow; - val |= ((long) idigit) << bits; - } - if (!is_unsigned) { - if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) - goto raise_overflow; - if (is_negative) - val = ~val; + return __Pyx_PySLong___Pyx_PyLong_As_long(x); } - ret = 0; - done: - Py_XDECREF(shift); - Py_XDECREF(mask); - Py_XDECREF(stepval); -#endif - if (unlikely(ret)) - return (long) -1; - return val; } -raise_overflow: - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to long"); - return (long) -1; +#if CYTHON_USE_PYLONG_INTERNALS raise_neg_overflow: - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to long"); - return (long) -1; + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +#endif +} +static long __Pyx_NonPyLong___Pyx_PyLong_As_long(PyObject *x) { + long val; + PyObject *tmp = __Pyx_PyNumber_Long(x); + if (!tmp) return (long) -1; + val = __Pyx_PyLong_As_long(tmp); + Py_DECREF(tmp); + return val; +} +static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { + if (likely(PyLong_Check(x))) { + return __Pyx_PyLong___Pyx_PyLong_As_long(x); + } else { + return __Pyx_NonPyLong___Pyx_PyLong_As_long(x); + } } /* CIntToPy */ @@ -50916,28 +58459,38 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value) { little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; - PyObject *from_bytes, *result = NULL, *kwds = NULL; - PyObject *py_bytes = NULL, *order_str = NULL; - from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); - if (!from_bytes) return NULL; + PyObject *result = NULL, *kwds = NULL; + PyObject *py_bytes = NULL, *order_str = NULL, *from_bytes_str = NULL;; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long)); if (!py_bytes) goto limited_bad; + from_bytes_str = PyUnicode_FromStringAndSize("from_bytes", 10); + if (!from_bytes_str) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { - PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; + PyObject *args[] = { (PyObject*)&PyLong_Type, py_bytes, order_str, Py_True }; if (!is_unsigned) { - kwds = __Pyx_MakeVectorcallBuilderKwds(1); - if (!kwds) goto limited_bad; - if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; + PyObject *signed_str = PyUnicode_FromStringAndSize("signed", 6); + if (!signed_str) goto limited_bad; +#if CYTHON_VECTORCALL + kwds = PyTuple_Pack(1, signed_str); +#else + { + PyObject *keys[] = {signed_str}; + PyObject *values[] = {Py_True}; + kwds = __Pyx_MakeKwargDict(keys, values, 1); + } +#endif + Py_DECREF(signed_str); + if (unlikely(!kwds)) goto limited_bad; } - result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); + result = __Pyx_Object_VectorcallMethodKwds(from_bytes_str, args, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); - Py_XDECREF(from_bytes); + Py_XDECREF(from_bytes_str); return result; #endif } @@ -50993,131 +58546,17 @@ static int __Pyx_UpdateUnpickledDict(PyObject *obj, PyObject *state, Py_ssize_t return __Pyx__UpdateUnpickledDict(obj, state, index); } -/* FormatTypeName */ -#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 -static __Pyx_TypeName -__Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp) -{ - PyObject *module = NULL, *name = NULL, *result = NULL; - #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 - name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, - __pyx_mstate_global->__pyx_n_u_qualname); - #else - name = PyType_GetQualName(tp); - #endif - if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad; - module = __Pyx_PyObject_GetAttrStr((PyObject *)tp, - __pyx_mstate_global->__pyx_n_u_module_2); - if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad; - if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) { - result = name; - name = NULL; - goto done; - } - result = PyUnicode_FromFormat("%U.%U", module, name); - if (unlikely(result == NULL)) goto bad; - done: - Py_XDECREF(name); - Py_XDECREF(module); - return result; - bad: - PyErr_Clear(); - if (name) { - result = name; - name = NULL; - } else { - result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u__3); - } - goto done; -} -#endif - -/* FastTypeChecks */ -#if CYTHON_COMPILING_IN_CPYTHON -static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) { - while (a) { - a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*); - if (a == b) - return 1; - } - return b == &PyBaseObject_Type; -} -static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) { - PyObject *mro; - if (a == b) return 1; - mro = a->tp_mro; - if (likely(mro)) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(mro); - for (i = 0; i < n; i++) { - if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) - return 1; - } - return 0; - } - return __Pyx_InBases(a, b); -} -static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { - PyObject *mro; - if (cls == a || cls == b) return 1; - mro = cls->tp_mro; - if (likely(mro)) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(mro); - for (i = 0; i < n; i++) { - PyObject *base = PyTuple_GET_ITEM(mro, i); - if (base == (PyObject *)a || base == (PyObject *)b) - return 1; - } +/* CheckUnpickleChecksum */ +static int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { + int found = 0; + found |= checksum1 == checksum; + found |= checksum2 == checksum; + found |= checksum3 == checksum; + if (likely(found)) return 0; - } - return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); -} -static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { - if (exc_type1) { - return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); - } else { - return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); - } -} -static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { - Py_ssize_t i, n; - assert(PyExceptionClass_Check(exc_type)); - n = PyTuple_GET_SIZE(tuple); - for (i=0; i= 0x030b0000 minor_version = 11; #else @@ -51201,11 +58638,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt #endif if (!(types_module = PyImport_ImportModule("types"))) goto end; if (!(code_type = PyObject_GetAttrString(types_module, "CodeType"))) goto end; - if (minor_version <= 7) { - (void)p; - result = PyObject_CallFunction(code_type, "iiiiiOOOOOOiOOO", a, k, l, s, f, code, - c, n, v, fn, name, fline, lnos, fv, cell); - } else if (minor_version <= 10) { + if (minor_version <= 10) { result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOiOOO", a,p, k, l, s, f, code, c, n, v, fn, name, fline, lnos, fv, cell); } else { @@ -51217,8 +58650,19 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt Py_XDECREF(code_type); Py_XDECREF(exception_table); Py_XDECREF(types_module); - if (type) { - PyErr_Restore(type, value, traceback); + if (!result) { + PyObject *exc_type, *exc_value, *exc_tb; + PyErr_Fetch(&exc_type, &exc_value, &exc_tb); + if (PyErr_WarnFormat( + PyExc_RuntimeWarning, 1, + "Code object creation failed in Cython module: %S\nTry recompiling with a more recent version of Cython.", + exc_value ? exc_value : exc_type) == 0) { + result = Py_None; + Py_INCREF(result); + } + Py_DECREF(exc_type); + Py_XDECREF(exc_value); + Py_XDECREF(exc_tb); } return result; } @@ -51317,7 +58761,14 @@ static PyObject* __Pyx_PyCode_New( } /* DecompressString */ -static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo) { +CYTHON_UNUSED +static CYTHON_SMALL_CODE PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo) { +#ifdef __Pyx_DecompressString_UNUSED + CYTHON_UNUSED_VAR(s); + CYTHON_UNUSED_VAR(length); + CYTHON_UNUSED_VAR(algo); + return NULL; +#else PyObject *module = NULL, *decompress, *compressed_bytes, *decompressed; const char* module_name = algo == 3 ? "compression.zstd" : algo == 2 ? "bz2" : "zlib"; PyObject *methodname = PyUnicode_FromString("decompress"); @@ -51378,6 +58829,66 @@ static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int al Py_XDECREF(module); Py_DECREF(methodname); return NULL; +#endif +} + +/* DecompressString_LZSS */ +#ifndef __Pyx_DecompressString_LZSS_UNUSED +CYTHON_UNUSED +static CYTHON_SMALL_CODE size_t __pyx_lzss_decompress(const uint8_t* src, uint8_t* dst, size_t dst_len) { + size_t pos = 0, out_pos = 0; + while (1) { + uint32_t flags = src[pos++] | 0xFF00; + while (flags & 0x100) { + if (flags & 1) { + dst[out_pos++] = src[pos++]; + } else { + uint32_t lo = src[pos++], hi = src[pos++]; + uint32_t end_offset_of_last_occurrence, match_length; + if (!(lo & 0x80)) { + end_offset_of_last_occurrence = lo; + match_length = hi; + } else if (!(hi & 0x80)) { + end_offset_of_last_occurrence = 0x80 + (((hi << 2) & 0x180) | (lo & 0x7F)); + match_length = hi & 0x1F; + } else { + end_offset_of_last_occurrence = 0x80 + ((hi & 0x7F) << 7 | (lo & 0x7F)); + match_length = src[pos++]; + } + match_length += 3; + size_t ref_pos = out_pos - end_offset_of_last_occurrence - match_length; + memcpy(dst + out_pos, dst + ref_pos, match_length); + out_pos += match_length; + } + if (out_pos >= dst_len) return pos; + flags >>= 1; + } + } +} +#endif +static CYTHON_SMALL_CODE PyObject *__Pyx_DecompressString_LZSS(const char *s, size_t compressed_length, size_t uncompressed_length) { +#ifdef __Pyx_DecompressString_LZSS_UNUSED + CYTHON_UNUSED_VAR(s); + CYTHON_UNUSED_VAR(compressed_length); + CYTHON_UNUSED_VAR(uncompressed_length); + return NULL; +#else + PyObject *result; + unsigned char *result_data; + size_t src_length; + result = PyBytes_FromStringAndSize(NULL, (Py_ssize_t) uncompressed_length); + if (unlikely(!result)) return NULL; + result_data = __Pyx_PyBytes_AsWritableUString(result); + if (unlikely(!result_data)) goto bad; + src_length = __pyx_lzss_decompress((const uint8_t*) s, result_data, uncompressed_length); + if (unlikely(src_length != compressed_length)) goto decompression_failed; + return result; +decompression_failed: + PyErr_SetString(PyExc_RuntimeError, "LZSS string data decompression failed"); +bad: + Py_DECREF(result); + return NULL; +#endif } #include @@ -51481,6 +58992,9 @@ static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) { } static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { __Pyx_TypeName result_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(result)); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!result_type_name)) goto bad; + #endif if (PyLong_Check(result)) { if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1, "__int__ returned non-int (type " __Pyx_FMT_TYPENAME "). " @@ -51488,8 +59002,7 @@ static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { "and may be removed in a future version of Python.", result_type_name)) { __Pyx_DECREF_TypeName(result_type_name); - Py_DECREF(result); - return NULL; + goto bad; } __Pyx_DECREF_TypeName(result_type_name); return result; @@ -51498,6 +59011,7 @@ static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { "__int__ returned non-int (type " __Pyx_FMT_TYPENAME ")", result_type_name); __Pyx_DECREF_TypeName(result_type_name); +bad: Py_DECREF(result); return NULL; } @@ -51529,57 +59043,50 @@ static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x) { } return res; } -static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { - Py_ssize_t ival; - PyObject *x; - if (likely(PyLong_CheckExact(b))) { +static CYTHON_INLINE Py_ssize_t __Pyx_PyLong_AsSsize_t(PyObject* b) { #if CYTHON_USE_PYLONG_INTERNALS - if (likely(__Pyx_PyLong_IsCompact(b))) { - return __Pyx_PyLong_CompactValue(b); - } else { - const digit* digits = __Pyx_PyLong_Digits(b); - const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(b); - switch (size) { - case 2: - if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { - return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -2: - if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case 3: - if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { - return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -3: - if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case 4: - if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { - return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -4: - if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - } - } + Py_ssize_t ival; + const Py_ssize_t size = __Pyx_PyLong_DigitCount(b); + const int is_neg = __Pyx_PyLong_IsNeg(b); + const digit* digits = __Pyx_PyLong_Digits(b); + if (size == 0) return 0; + #if SIZEOF_SIZE_T * 8 > 1 * PyLong_SHIFT + if (size == 1) { + ival = (Py_ssize_t) (((size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 2 * PyLong_SHIFT + if (size == 2) { + ival = (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 3 * PyLong_SHIFT + if (size == 3) { + ival = (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 4 * PyLong_SHIFT + if (size == 4) { + ival = (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else #endif + return PyLong_AsSsize_t(b); + return is_neg ? -ival : ival; + #else return PyLong_AsSsize_t(b); - } - x = PyNumber_Index(b); - if (!x) return -1; - ival = PyLong_AsSsize_t(x); - Py_DECREF(x); - return ival; + #endif +} +static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { + if (likely(PyLong_Check(b))) { + return __Pyx_PyLong_AsSsize_t(b); + } else { + Py_ssize_t ival; + PyObject *x = PyNumber_Index(b); + if (unlikely(!x)) return -1; + ival = __Pyx_PyLong_AsSsize_t(x); + Py_DECREF(x); + return ival; + } } static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) { if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) { @@ -51669,10 +59176,10 @@ typedef struct { } __Pyx_ModuleStateLookupData; #define __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE 32 #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE -static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter = 0; +static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter ; #endif #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE -static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data = 0; +static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data ; #else static __Pyx_ModuleStateLookupData* __Pyx_ModuleStateLookup_data = NULL; #endif @@ -51702,7 +59209,7 @@ static __Pyx_InterpreterIdAndModule* __Pyx_State_FindModuleStateLookupTableLower return begin; } static PyObject *__Pyx_State_FindModule(CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return NULL; #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __Pyx_ModuleStateLookupData* data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data); @@ -51800,7 +59307,7 @@ static void __Pyx_State_ConvertFromInterpIdAsIndex(__Pyx_ModuleStateLookupData * data->interpreter_id_as_index = 0; } static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return -1; int result = 0; __Pyx_ModuleStateLookup_Lock(); @@ -51878,7 +59385,7 @@ static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) { return result; } static int __Pyx_State_RemoveModule(CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return -1; __Pyx_ModuleStateLookup_Lock(); #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE diff --git a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c index 3bfc69c8..6a46e502 100644 --- a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c +++ b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c @@ -1,4 +1,4 @@ -/* Generated by Cython 3.2.4 */ +/* Generated by Cython 3.3.1 */ /* BEGIN: Cython Metadata { @@ -37,11 +37,13 @@ END: Cython Metadata */ #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. -#elif PY_VERSION_HEX < 0x03080000 - #error Cython requires Python 3.8+. +#elif PY_VERSION_HEX < 0x03090000 + #error Cython requires Python 3.9+. +#elif defined(Py_LIMITED_API) && (Py_LIMITED_API & 0xFFFF0000) > (PY_VERSION_HEX & 0xFFFF0000) + #error 'Py_LIMITED_API' can only select past Python X.Y versions, not future ones. #else -#define __PYX_ABI_VERSION "3_2_4" -#define CYTHON_HEX_VERSION 0x030204F0 +#define __PYX_ABI_VERSION "3_3_1" +#define CYTHON_HEX_VERSION 0x030301F0 #define CYTHON_FUTURE_DIVISION 1 /* CModulePreamble */ #include @@ -59,6 +61,11 @@ END: Cython Metadata */ #define __fastcall #endif #endif +#ifdef __has_builtin + #define __Pyx_has_cbuiltin(name) __has_builtin(name) +#else + #define __Pyx_has_cbuiltin(name) (0) +#endif #ifndef DL_IMPORT #define DL_IMPORT(t) t #endif @@ -73,32 +80,49 @@ END: Cython Metadata */ #define Py_HUGE_VAL HUGE_VAL #endif #define __PYX_LIMITED_VERSION_HEX PY_VERSION_HEX -#if defined(GRAALVM_PYTHON) - /* For very preliminary testing purposes. Most variables are set the same as PyPy. - The existence of this section does not imply that anything works or is even tested */ +#if defined(CYTHON_LIMITED_API) + #ifdef Py_LIMITED_API + #undef __PYX_LIMITED_VERSION_HEX + #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API + #if Py_LIMITED_API < 0x03090000 + #error "Cython 3.3 requires the Python Limited API version to be 3.9 or greater." + #endif + #endif + #if defined(GRAALVM_PYTHON) || defined(PYPY_VERSION) + #ifdef _MSC_VER + #pragma message ("Py_LIMITED_API is defined on PyPy or GraalPy. This takes precedence over Cython's specialized\ + code for PyPy and GraalPy and is unlikely to work.") + #else + #warning "Py_LIMITED_API is defined on PyPy or GraalPy. This takes precedence over Cython's specialized\ + code for PyPy and GraalPy and is unlikely to work." + #endif + #endif #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 - #define CYTHON_COMPILING_IN_LIMITED_API 0 - #define CYTHON_COMPILING_IN_GRAAL 1 + #define CYTHON_COMPILING_IN_LIMITED_API 1 + #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS #define CYTHON_USE_TYPE_SLOTS 0 #undef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 0 + #define CYTHON_USE_TYPE_SPECS 1 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 - #undef CYTHON_USE_UNICODE_WRITER - #define CYTHON_USE_UNICODE_WRITER 0 + #ifndef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #endif #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 - #undef CYTHON_AVOID_BORROWED_REFS - #define CYTHON_AVOID_BORROWED_REFS 1 - #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 + #ifndef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 0 + #endif + #ifndef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 + #endif #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 #undef CYTHON_ASSUME_SAFE_SIZE @@ -109,45 +133,62 @@ END: Cython Metadata */ #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 0 - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #undef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) + #ifndef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW (CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif - #undef CYTHON_PEP489_MULTI_PHASE_INIT - #define CYTHON_PEP489_MULTI_PHASE_INIT 1 - #undef CYTHON_USE_MODULE_STATE - #define CYTHON_USE_MODULE_STATE 0 + #ifndef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif + #ifndef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 + #endif #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 - #undef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE 0 - #undef CYTHON_USE_AM_SEND - #define CYTHON_USE_AM_SEND 0 + #ifndef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE (__PYX_LIMITED_VERSION_HEX >= 0x030F0000 && PY_VERSION_HEX > 0x030F00A8) + #endif + #ifndef CYTHON_USE_AM_SEND + #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000) + #endif #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK - #define CYTHON_USE_EXC_INFO_STACK 1 + #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 #endif - #undef CYTHON_USE_FREELISTS - #define CYTHON_USE_FREELISTS 0 + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 + #endif + #ifndef CYTHON_USE_FREELISTS + #define CYTHON_USE_FREELISTS 1 + #endif #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 -#elif defined(PYPY_VERSION) - #define CYTHON_COMPILING_IN_PYPY 1 + #if __PYX_LIMITED_VERSION_HEX < 0x030E0000 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 + #elif !defined(CYTHON_OPAQUE_OBJECTS) + #define CYTHON_OPAQUE_OBJECTS 0 + #endif +#elif defined(GRAALVM_PYTHON) + /* For very preliminary testing purposes. Most variables are set the same as PyPy. + The existence of this section does not imply that anything works or is even tested */ + #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 0 #define CYTHON_COMPILING_IN_LIMITED_API 0 - #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_GRAAL 1 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 - #undef CYTHON_USE_TYPE_SLOTS - #define CYTHON_USE_TYPE_SLOTS 1 - #ifndef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 0 + #ifndef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 0 #endif + #undef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 0 #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS @@ -161,125 +202,131 @@ END: Cython Metadata */ #undef CYTHON_AVOID_BORROWED_REFS #define CYTHON_AVOID_BORROWED_REFS 1 #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 - #ifndef CYTHON_ASSUME_SAFE_SIZE - #define CYTHON_ASSUME_SAFE_SIZE 1 - #endif + #undef CYTHON_ASSUME_SAFE_SIZE + #define CYTHON_ASSUME_SAFE_SIZE 0 #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 0 - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 + #endif + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW CYTHON_VECTORCALL + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif - #if PY_VERSION_HEX < 0x03090000 - #undef CYTHON_PEP489_MULTI_PHASE_INIT - #define CYTHON_PEP489_MULTI_PHASE_INIT 0 - #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) - #define CYTHON_PEP489_MULTI_PHASE_INIT 1 - #endif + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #undef CYTHON_USE_MODULE_STATE #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 - #ifndef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00) - #endif + #undef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 0 #undef CYTHON_USE_AM_SEND #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK - #define CYTHON_USE_EXC_INFO_STACK 0 + #define CYTHON_USE_EXC_INFO_STACK 1 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC - #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100) + #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #endif + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 #endif #undef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS 0 #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 -#elif defined(CYTHON_LIMITED_API) - #ifdef Py_LIMITED_API - #undef __PYX_LIMITED_VERSION_HEX - #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API - #endif - #define CYTHON_COMPILING_IN_PYPY 0 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 +#elif defined(PYPY_VERSION) + #define CYTHON_COMPILING_IN_PYPY 1 #define CYTHON_COMPILING_IN_CPYTHON 0 - #define CYTHON_COMPILING_IN_LIMITED_API 1 + #define CYTHON_COMPILING_IN_LIMITED_API 0 #define CYTHON_COMPILING_IN_GRAAL 0 #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0 #undef CYTHON_USE_TYPE_SLOTS - #define CYTHON_USE_TYPE_SLOTS 0 - #undef CYTHON_USE_TYPE_SPECS - #define CYTHON_USE_TYPE_SPECS 1 + #define CYTHON_USE_TYPE_SLOTS 1 + #ifndef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 1 + #endif #undef CYTHON_USE_PYTYPE_LOOKUP #define CYTHON_USE_PYTYPE_LOOKUP 0 #undef CYTHON_USE_PYLIST_INTERNALS #define CYTHON_USE_PYLIST_INTERNALS 0 #undef CYTHON_USE_UNICODE_INTERNALS #define CYTHON_USE_UNICODE_INTERNALS 0 - #ifndef CYTHON_USE_UNICODE_WRITER - #define CYTHON_USE_UNICODE_WRITER 0 - #endif + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 #undef CYTHON_USE_PYLONG_INTERNALS #define CYTHON_USE_PYLONG_INTERNALS 0 - #ifndef CYTHON_AVOID_BORROWED_REFS - #define CYTHON_AVOID_BORROWED_REFS 0 - #endif - #ifndef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0 - #endif + #undef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 1 + #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1 #undef CYTHON_ASSUME_SAFE_MACROS #define CYTHON_ASSUME_SAFE_MACROS 0 - #undef CYTHON_ASSUME_SAFE_SIZE - #define CYTHON_ASSUME_SAFE_SIZE 0 + #ifndef CYTHON_ASSUME_SAFE_SIZE + #define CYTHON_ASSUME_SAFE_SIZE 1 + #endif #undef CYTHON_UNPACK_METHODS #define CYTHON_UNPACK_METHODS 0 #undef CYTHON_FAST_THREAD_STATE #define CYTHON_FAST_THREAD_STATE 0 #undef CYTHON_FAST_GIL #define CYTHON_FAST_GIL 0 - #undef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) - #undef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 + #endif + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW (PYPY_VERSION_NUM >= 0x07030800 && CYTHON_VECTORCALL) + #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 #endif #ifndef CYTHON_PEP489_MULTI_PHASE_INIT #define CYTHON_PEP489_MULTI_PHASE_INIT 1 #endif - #ifndef CYTHON_USE_MODULE_STATE - #define CYTHON_USE_MODULE_STATE 0 - #endif + #undef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 #undef CYTHON_USE_SYS_MONITORING #define CYTHON_USE_SYS_MONITORING 0 #ifndef CYTHON_USE_TP_FINALIZE - #define CYTHON_USE_TP_FINALIZE 0 - #endif - #ifndef CYTHON_USE_AM_SEND - #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000) + #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00) #endif + #undef CYTHON_USE_AM_SEND + #define CYTHON_USE_AM_SEND 0 #undef CYTHON_USE_DICT_VERSIONS #define CYTHON_USE_DICT_VERSIONS 0 #undef CYTHON_USE_EXC_INFO_STACK #define CYTHON_USE_EXC_INFO_STACK 0 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC - #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100) #endif - #ifndef CYTHON_USE_FREELISTS - #define CYTHON_USE_FREELISTS 1 + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR 1 #endif + #undef CYTHON_USE_FREELISTS + #define CYTHON_USE_FREELISTS 0 #undef CYTHON_IMMORTAL_CONSTANTS #define CYTHON_IMMORTAL_CONSTANTS 0 + #undef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 #else #define CYTHON_COMPILING_IN_PYPY 0 #define CYTHON_COMPILING_IN_CPYTHON 1 @@ -347,11 +394,14 @@ END: Cython Metadata */ #elif !defined(CYTHON_FAST_GIL) #define CYTHON_FAST_GIL (PY_VERSION_HEX < 0x030C00A6) #endif - #ifndef CYTHON_METH_FASTCALL - #define CYTHON_METH_FASTCALL 1 + #ifndef CYTHON_VECTORCALL + #define CYTHON_VECTORCALL 1 #endif - #ifndef CYTHON_FAST_PYCALL - #define CYTHON_FAST_PYCALL 1 + #if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX < 0x030E0000 + #undef CYTHON_VECTORCALL_TPNEW + #define CYTHON_VECTORCALL_TPNEW 0 + #elif !defined(CYTHON_VECTORCALL_TPNEW) + #define CYTHON_VECTORCALL_TPNEW CYTHON_VECTORCALL #endif #ifndef CYTHON_PEP487_INIT_SUBCLASS #define CYTHON_PEP487_INIT_SUBCLASS 1 @@ -383,6 +433,9 @@ END: Cython Metadata */ #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC #define CYTHON_UPDATE_DESCRIPTOR_DOC 1 #endif + #ifndef CYTHON_USE_OWN_PREP_RERAISE_STAR + #define CYTHON_USE_OWN_PREP_RERAISE_STAR (PY_VERSION_HEX < 0x030C00B2) + #endif #ifndef CYTHON_USE_FREELISTS #define CYTHON_USE_FREELISTS (!CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) #endif @@ -392,19 +445,9 @@ END: Cython Metadata */ #elif !defined(CYTHON_IMMORTAL_CONSTANTS) #define CYTHON_IMMORTAL_CONSTANTS (PY_VERSION_HEX >= 0x030C0000 && !CYTHON_USE_MODULE_STATE && CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) #endif -#endif -#ifndef CYTHON_COMPRESS_STRINGS - #define CYTHON_COMPRESS_STRINGS 1 -#endif -#ifndef CYTHON_FAST_PYCCALL -#define CYTHON_FAST_PYCCALL CYTHON_FAST_PYCALL -#endif -#ifndef CYTHON_VECTORCALL -#if CYTHON_COMPILING_IN_LIMITED_API -#define CYTHON_VECTORCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000) -#else -#define CYTHON_VECTORCALL (CYTHON_FAST_PYCCALL) -#endif + #ifndef CYTHON_OPAQUE_OBJECTS + #define CYTHON_OPAQUE_OBJECTS 0 + #endif #endif #if CYTHON_USE_PYLONG_INTERNALS #undef SHIFT @@ -440,6 +483,8 @@ END: Cython Metadata */ #define CYTHON_UNUSED [[maybe_unused]] #endif #endif + #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L + #define CYTHON_UNUSED [[maybe_unused]] #endif #endif #ifndef CYTHON_UNUSED @@ -514,8 +559,19 @@ typedef uintptr_t __pyx_uintptr_t; #endif #endif #endif +#ifdef Py_UNREACHABLE + #define __Pyx_UNREACHABLE() Py_UNREACHABLE() +#elif __Pyx_has_cbuiltin(__builtin_unreachable) + #define __Pyx_UNREACHABLE() __builtin_unreachable() +#elif defined(__clang__) || defined(__INTEL_COMPILER) || (defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))) + #define __Pyx_UNREACHABLE() __builtin_unreachable() +#elif defined(_MSC_VER) + #define __Pyx_UNREACHABLE() __assume(0) +#else + #define __Pyx_UNREACHABLE() Py_FatalError("Unreachable C code path reached") +#endif #ifndef Py_UNREACHABLE - #define Py_UNREACHABLE() assert(0); abort() + #define Py_UNREACHABLE() __Pyx_UNREACHABLE() #endif #ifdef __cplusplus template @@ -527,9 +583,16 @@ typedef uintptr_t __pyx_uintptr_t; #if CYTHON_COMPILING_IN_PYPY == 1 #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX < 0x030A0000) #else - #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX < 0x03090000) + #define __PYX_NEED_TP_PRINT_SLOT 0 #endif #define __PYX_REINTERPRET_FUNCION(func_pointer, other_pointer) ((func_pointer)(void(*)(void))(other_pointer)) +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 +#define __Pyx_PyErr_FetchException(petype, peval, petb) PyErr_Fetch(petype, peval, petb) +#define __Pyx_PyErr_RestoreException(etype, eval, etb) PyErr_Restore(etype, eval, etb) +#else +#define __Pyx_PyErr_FetchException(petype, peval, petb) *(petype)=NULL; *(peval)=PyErr_GetRaisedException(); *(petb)=NULL +#define __Pyx_PyErr_RestoreException(etype, eval, etb) PyErr_SetRaisedException(eval) +#endif /* CInitCode */ #ifndef CYTHON_INLINE @@ -582,11 +645,6 @@ typedef uintptr_t __pyx_uintptr_t; #endif #endif static int __Pyx_init_co_variables(void); -#if PY_VERSION_HEX >= 0x030900A4 || defined(Py_IS_TYPE) - #define __Pyx_IS_TYPE(ob, type) Py_IS_TYPE(ob, type) -#else - #define __Pyx_IS_TYPE(ob, type) (((const PyObject*)ob)->ob_type == (type)) -#endif #if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_Is) #define __Pyx_Py_Is(x, y) Py_Is(x, y) #else @@ -608,28 +666,27 @@ static int __Pyx_init_co_variables(void); #define __Pyx_Py_IsFalse(ob) __Pyx_Py_Is((ob), Py_False) #endif #define __Pyx_NoneAsNull(obj) (__Pyx_Py_IsNone(obj) ? NULL : (obj)) -#if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY - #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) -#else +#if CYTHON_COMPILING_IN_PYPY #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o) +#else + #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) #endif -#ifndef Py_TPFLAGS_CHECKTYPES - #define Py_TPFLAGS_CHECKTYPES 0 -#endif -#ifndef Py_TPFLAGS_HAVE_INDEX - #define Py_TPFLAGS_HAVE_INDEX 0 -#endif -#ifndef Py_TPFLAGS_HAVE_NEWBUFFER - #define Py_TPFLAGS_HAVE_NEWBUFFER 0 +#if CYTHON_COMPILING_IN_LIMITED_API +static unsigned long __Pyx_Runtime_TPFLAGS_SEQUENCE; +static unsigned long __Pyx_Runtime_TPFLAGS_MAPPING; +#else +#define __Pyx_Runtime_TPFLAGS_SEQUENCE Py_TPFLAGS_SEQUENCE +#define __Pyx_Runtime_TPFLAGS_MAPPING Py_TPFLAGS_MAPPING #endif +static int __Pyx_init_tpflags_variables(void); #ifndef Py_TPFLAGS_HAVE_FINALIZE #define Py_TPFLAGS_HAVE_FINALIZE 0 #endif #ifndef Py_TPFLAGS_SEQUENCE - #define Py_TPFLAGS_SEQUENCE 0 + #define Py_TPFLAGS_SEQUENCE (CYTHON_COMPILING_IN_LIMITED_API ? 0 : 1 << 5) #endif #ifndef Py_TPFLAGS_MAPPING - #define Py_TPFLAGS_MAPPING 0 + #define Py_TPFLAGS_MAPPING (CYTHON_COMPILING_IN_LIMITED_API ? 0 : 1 << 6) #endif #ifndef Py_TPFLAGS_IMMUTABLETYPE #define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8) @@ -640,7 +697,7 @@ static int __Pyx_init_co_variables(void); #ifndef METH_STACKLESS #define METH_STACKLESS 0 #endif -#ifndef METH_FASTCALL +#if !defined(METH_FASTCALL) || CYTHON_COMPILING_IN_PYPY #ifndef METH_FASTCALL #define METH_FASTCALL 0x80 #endif @@ -656,7 +713,7 @@ static int __Pyx_init_co_variables(void); # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords #endif #endif -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #define __Pyx_METH_FASTCALL METH_FASTCALL #define __Pyx_PyCFunction_FastCall __Pyx_PyCFunctionFast #define __Pyx_PyCFunction_FastCallWithKeywords __Pyx_PyCFunctionFastWithKeywords @@ -673,11 +730,7 @@ static int __Pyx_init_co_variables(void); #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0 #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n)) #endif -#if PY_VERSION_HEX >= 0x030900B1 -#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) -#else -#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func) -#endif +#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) #define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func) #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth) @@ -698,17 +751,20 @@ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(vo #endif } #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc) -#if PY_VERSION_HEX < 0x03090000 || (CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000) +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b)) - typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); #else #define __Pyx_PyType_FromModuleAndSpec(m, s, b) PyType_FromModuleAndSpec(m, s, b) +#endif +#if CYTHON_COMPILING_IN_PYPY + typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); +#else #define __Pyx_PyCMethod PyCMethod #endif #ifndef METH_METHOD #define METH_METHOD 0x200 #endif -#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc) +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyObject_Malloc) #define PyObject_Malloc(s) PyMem_Malloc(s) #define PyObject_Free(p) PyMem_Free(p) #define PyObject_Realloc(p) PyMem_Realloc(p) @@ -734,6 +790,15 @@ static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(vo #else #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() #endif +#if CYTHON_OPAQUE_OBJECTS && CYTHON_COMPILING_IN_LIMITED_API + #define __PYX_SHARED_SIZEOF(T) -((int)sizeof(T)) + #define __PYX_SHARED_RELATIVE_OFFSET Py_RELATIVE_OFFSET + #define CYTHON_OPAQUE_SHARED_TYPES 1 +#else + #define __PYX_SHARED_SIZEOF(T) sizeof(T) + #define __PYX_SHARED_RELATIVE_OFFSET 0 + #define CYTHON_OPAQUE_SHARED_TYPES 0 +#endif #if CYTHON_USE_MODULE_STATE static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op) { @@ -776,7 +841,9 @@ static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op) #define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash) static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) { PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name); - if (res == NULL) PyErr_Clear(); + if (res == NULL && PyErr_Occurred()) { + PyErr_WriteUnraisable(NULL); + } return res; } #elif !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000 @@ -823,6 +890,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_ReadChar(u, i) #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((void)u, 1114111U) #define __Pyx_PyUnicode_KIND(u) ((void)u, (0)) + #define __Pyx_PyUnicode_KIND_04(u) __Pyx_PyUnicode_KIND(u) #define __Pyx_PyUnicode_DATA(u) ((void*)u) #define __Pyx_PyUnicode_READ(k, d, i) ((void)k, PyUnicode_ReadChar((PyObject*)(d), i)) #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GetLength(u)) @@ -842,12 +910,15 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #if PY_VERSION_HEX >= 0x030C0000 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_LENGTH(u)) #else - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000 + #if CYTHON_COMPILING_IN_CPYTHON #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length)) #else #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u))) #endif #endif + static CYTHON_INLINE int __Pyx_PyUnicode_KIND_04(PyObject *o) { + return __Pyx_PyUnicode_KIND(o) - (int) !!PyUnicode_IS_ASCII(o); + } #endif #if CYTHON_COMPILING_IN_PYPY #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b) @@ -861,13 +932,13 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #if !defined(PyUnicode_DecodeUnicodeEscape) #define PyUnicode_DecodeUnicodeEscape(s, size, errors) PyUnicode_Decode(s, size, "unicode_escape", errors) #endif - #if !defined(PyUnicode_Contains) + #if PY_VERSION_HEX < 0x030C0000 && !defined(PyUnicode_Contains) #define PyUnicode_Contains(u, s) PySequence_Contains(u, s) #endif #if !defined(PyByteArray_Check) #define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type) #endif - #if !defined(PyObject_Format) + #if PY_VERSION_HEX < 0x030C0000 && !defined(PyObject_Format) #define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt) #endif #endif @@ -882,14 +953,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, #define __Pyx_PySequence_ListKeepNew(obj) PySequence_List(obj) #endif #ifndef PySet_CheckExact - #define PySet_CheckExact(obj) __Pyx_IS_TYPE(obj, &PySet_Type) -#endif -#if PY_VERSION_HEX >= 0x030900A4 - #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt) - #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size) -#else - #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt) - #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size) + #define PySet_CheckExact(obj) Py_IS_TYPE(obj, &PySet_Type) #endif enum __Pyx_ReferenceSharing { __Pyx_ReferenceSharing_DefinitelyUnique, // We created it so we know it's unshared - no need to check @@ -907,28 +971,39 @@ enum __Pyx_ReferenceSharing { #else #define __Pyx_IS_UNIQUELY_REFERENCED(o, sharing) (((void)o), ((void)sharing), 0) #endif -#if CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) - #elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS +#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) +#elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #if CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyList_GetItemRef(o, i) (likely((i) >= 0) ? PySequence_GetItem(o, i) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) #else #define __Pyx_PyList_GetItemRef(o, i) PySequence_ITEM(o, i) #endif -#elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS - #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i) - #else - #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i)) - #endif +#elif CYTHON_COMPILING_IN_LIMITED_API || !(CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE) + #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i)) #else - #define __Pyx_PyList_GetItemRef(o, i) __Pyx_NewRef(PyList_GET_ITEM(o, i)) + #define __Pyx_PyList_GetItemRef(o, i) (likely(__Pyx_is_valid_index(i, PyList_GET_SIZE(o))) ?\ + __Pyx_NewRef(PyList_GET_ITEM(o, i)) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) #endif -#if CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS && !CYTHON_COMPILING_IN_LIMITED_API && CYTHON_ASSUME_SAFE_MACROS - #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) (__Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ - __Pyx_NewRef(PyList_GET_ITEM(o, i)) : __Pyx_PyList_GetItemRef(o, i)) +#if CYTHON_AVOID_BORROWED_REFS || CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_PyList_GetItemRef(o, i)) +#elif CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS + #if CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) (\ + __Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ + __Pyx_NewRef(PyList_GET_ITEM(o, i)) : __Pyx_PyList_GetItemRef(o, i)) + #else + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) (\ + __Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\ + __Pyx_XNewRef(PyList_GetItem(o, i)) : __Pyx_PyList_GetItemRef(o, i)) + #endif +#elif CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_NewRef(PyList_GET_ITEM(o, i))) #else - #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) __Pyx_PyList_GetItemRef(o, i) + #define __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared) ((void)(unsafe_shared),\ + __Pyx_XNewRef(PyList_GetItem(o, i))) #endif #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 #define __Pyx_PyDict_GetItemRef(dict, key, result) PyDict_GetItemRef(dict, key, result) @@ -978,6 +1053,7 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_GET_SIZE(o) #define __Pyx_PyList_GET_SIZE(o) PyList_GET_SIZE(o) #define __Pyx_PySet_GET_SIZE(o) PySet_GET_SIZE(o) + #define __Pyx_PyDict_GET_SIZE(o) PyDict_GET_SIZE(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_GET_SIZE(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_GET_SIZE(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GET_LENGTH(o) @@ -985,11 +1061,12 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_Size(o) #define __Pyx_PyList_GET_SIZE(o) PyList_Size(o) #define __Pyx_PySet_GET_SIZE(o) PySet_Size(o) + #define __Pyx_PyDict_GET_SIZE(o) PyDict_Size(o) #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o) #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o) #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GetLength(o) #endif -#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_InternFromString) +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyUnicode_InternFromString) #define PyUnicode_InternFromString(s) PyUnicode_FromString(s) #endif #define __Pyx_PyLong_FromHash_t PyLong_FromSsize_t @@ -1031,11 +1108,6 @@ static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, #else #define __Pyx_TPFLAGS_HAVE_AM_SEND (0) #endif -#if PY_VERSION_HEX >= 0x03090000 -#define __Pyx_PyInterpreterState_Get() PyInterpreterState_Get() -#else -#define __Pyx_PyInterpreterState_Get() PyThreadState_Get()->interp -#endif #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030A0000 #ifdef __cplusplus extern "C" @@ -1082,10 +1154,67 @@ static int __Pyx_init_co_variables(void) { Py_DECREF(inspect); return result ? 0 : -1; } +static int __Pyx_init_tpflags_bitcount(unsigned long flag) { + int count = 0; + while (flag) { + count += (int) (flag & 1); + flag >>= 1; + } + return count; +} +static int __Pyx_init_tpflags_variables(void) { + if (__Pyx_Runtime_TPFLAGS_SEQUENCE != 0 && __Pyx_Runtime_TPFLAGS_MAPPING != 0) { + return 0; + } + PyObject *collections_abc = PyImport_ImportModule("collections.abc"); + if (!collections_abc) return -1; + int result = 0; + PyObject *sequence = NULL, *mapping = NULL; +#if __PYX_LIMITED_VERSION_HEX >= 0x030D0000 + if (PyObject_GetOptionalAttrString(collections_abc, "Sequence", &sequence) != 1) goto fail; + if (PyObject_GetOptionalAttrString(collections_abc, "Mapping", &mapping) != 1) goto fail; +#else + sequence = PyObject_GetAttrString(collections_abc, "Sequence"); + if (!sequence) goto fail_attr_lookup; + mapping = PyObject_GetAttrString(collections_abc, "Mapping"); + if (!mapping) goto fail_attr_lookup; +#endif + if (!PyType_Check(sequence) || !PyType_Check(mapping)) goto fail; + { + unsigned long sequence_flags = PyType_GetFlags((PyTypeObject*)sequence); + unsigned long mapping_flags = PyType_GetFlags((PyTypeObject*)mapping); + unsigned long mutual_flags = sequence_flags & mapping_flags; + sequence_flags = sequence_flags ^ mutual_flags; + mapping_flags = mapping_flags ^ mutual_flags; + if (__Pyx_Runtime_TPFLAGS_SEQUENCE == 0 && __Pyx_init_tpflags_bitcount(sequence_flags) == 1) { + __Pyx_Runtime_TPFLAGS_SEQUENCE = sequence_flags; + } + if (__Pyx_Runtime_TPFLAGS_MAPPING == 0 && __Pyx_init_tpflags_bitcount(mapping_flags) == 1) { + __Pyx_Runtime_TPFLAGS_MAPPING = mapping_flags; + } + } + cleanup: + Py_XDECREF(mapping); + Py_XDECREF(sequence); + Py_DECREF(collections_abc); + return result; +#if __PYX_LIMITED_VERSION_HEX < 0x030D0000 + fail_attr_lookup: + if (PyErr_ExceptionMatches(PyExc_AttributeError)) { + PyErr_Clear(); + } +#endif + fail: + result = PyErr_Occurred() ? -1 : 0; + goto cleanup; +} #else static int __Pyx_init_co_variables(void) { return 0; // It's a limited API-only feature } +static int __Pyx_init_tpflags_variables(void) { + return 0; // It's a limited API-only feature +} #endif /* MathInitCode */ @@ -1100,6 +1229,12 @@ static int __Pyx_init_co_variables(void) { #else #define __Pyx_truncl truncl #endif +#if defined(__cplusplus) + #include + #define __Pyx_isfinite(x) std::isfinite(x) +#else + #define __Pyx_isfinite(x) isfinite(x) +#endif #ifndef CYTHON_CLINE_IN_TRACEBACK_RUNTIME #define CYTHON_CLINE_IN_TRACEBACK_RUNTIME 0 @@ -1246,6 +1381,7 @@ static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b); static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*); static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*); static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x); +#define __Pyx_PyObject_RichCompareBool(a,b,cmp) __Pyx_PyObject_IsTrueAndDecref(PyObject_RichCompare((a),(b),(cmp))) #define __Pyx_PySequence_Tuple(obj)\ (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj)) static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*); @@ -1254,9 +1390,11 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #if CYTHON_ASSUME_SAFE_MACROS #define __Pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x)) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AS_DOUBLE(x) +#define __Pyx_PyFloat_IsNonZero(x) (PyFloat_AS_DOUBLE(x) != 0.0) #else #define __Pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x) #define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AsDouble(x) +#define __Pyx_PyFloat_IsNonZero(x) PyObject_IsTrue(x) #endif #define __Pyx_PyFloat_AsFloat(x) ((float) __Pyx_PyFloat_AsDouble(x)) #define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x)) @@ -1268,25 +1406,39 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #ifndef _PyLong_NON_SIZE_BITS #define _PyLong_NON_SIZE_BITS 3 #endif - #define __Pyx_PyLong_Sign(x) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK) - #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_Sign(x) & 2) != 0) + #define __Pyx_PyLong_SignBits(x) ((int) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK)) + #define __Pyx_PyLong_Sign(x) (1 - __Pyx_PyLong_SignBits(x)) + #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_SignBits(x) & 2) != 0) #define __Pyx_PyLong_IsNonNeg(x) (!__Pyx_PyLong_IsNeg(x)) - #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_Sign(x) & 1) - #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_Sign(x) == 0) + #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_SignBits(x) & 1) + #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_SignBits(x) == 0) #define __Pyx_PyLong_CompactValueUnsigned(x) (__Pyx_PyLong_Digits(x)[0]) #define __Pyx_PyLong_DigitCount(x) ((Py_ssize_t) (((PyLongObject*)x)->long_value.lv_tag >> _PyLong_NON_SIZE_BITS)) #define __Pyx_PyLong_SignedDigitCount(x)\ - ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) + (((Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) #if defined(PyUnstable_Long_IsCompact) && defined(PyUnstable_Long_CompactValue) #define __Pyx_PyLong_IsCompact(x) PyUnstable_Long_IsCompact((PyLongObject*) x) #define __Pyx_PyLong_CompactValue(x) PyUnstable_Long_CompactValue((PyLongObject*) x) #else #define __Pyx_PyLong_IsCompact(x) (((PyLongObject*)x)->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS)) - #define __Pyx_PyLong_CompactValue(x) ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) - #endif + #define __Pyx_PyLong_CompactValue(x) (((Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) + #endif + static CYTHON_INLINE Py_ssize_t __Pyx_PyLong_CompareSignAndSize(PyObject *a, PyObject *b) { + uintptr_t tag_a = ((PyLongObject*)a)->long_value.lv_tag; + uintptr_t tag_b = ((PyLongObject*)b)->long_value.lv_tag; + if (tag_a == tag_b) return 0; + int sign_a = (int) (tag_a & _PyLong_SIGN_MASK); + int sign_b = (int) (tag_b & _PyLong_SIGN_MASK); + if (sign_a > sign_b) return -1; + if (sign_a < sign_b) return 1; + Py_ssize_t size_a = (Py_ssize_t) (tag_a >> _PyLong_NON_SIZE_BITS); + Py_ssize_t size_b = (Py_ssize_t) (tag_b >> _PyLong_NON_SIZE_BITS); + return (1 - sign_a) * (size_a - size_b); + } typedef Py_ssize_t __Pyx_compact_pylong; typedef size_t __Pyx_compact_upylong; #else + #define __Pyx_PyLong_Sign(x) ((int) ((Py_SIZE(x) == 0) ? 0 : (Py_SIZE(x) < 0) ? -1 : 1)) #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0) #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0) #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0) @@ -1297,6 +1449,7 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #define __Pyx_PyLong_IsCompact(x) (Py_SIZE(x) == 0 || Py_SIZE(x) == 1 || Py_SIZE(x) == -1) #define __Pyx_PyLong_CompactValue(x)\ ((Py_SIZE(x) == 0) ? (sdigit) 0 : ((Py_SIZE(x) < 0) ? -(sdigit)__Pyx_PyLong_Digits(x)[0] : (sdigit)__Pyx_PyLong_Digits(x)[0])) + #define __Pyx_PyLong_CompareSignAndSize(a, b) (Py_SIZE(a) - Py_SIZE(b)) typedef sdigit __Pyx_compact_pylong; typedef digit __Pyx_compact_upylong; #endif @@ -1305,6 +1458,9 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #else #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->ob_digit) #endif + #define __Pyx_PyLong_IsNonZero(x) (!__Pyx_PyLong_IsZero(x)) +#else + #define __Pyx_PyLong_IsNonZero(x) PyObject_IsTrue(x) #endif #if __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL) @@ -1323,37 +1479,17 @@ static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); #define likely(x) (x) #define unlikely(x) (x) #endif /* __GNUC__ */ -/* PretendToInitialize */ -#ifdef __cplusplus -#if __cplusplus > 201103L -#include -#endif -template -static void __Pyx_pretend_to_initialize(T* ptr) { -#if __cplusplus > 201103L - if ((std::is_trivially_default_constructible::value)) -#endif - *ptr = T(); - (void)ptr; -} -#else -static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; } -#endif - #if !CYTHON_USE_MODULE_STATE static PyObject *__pyx_m = NULL; #endif -static int __pyx_lineno; -static int __pyx_clineno = 0; static const char * const __pyx_cfilenm = __FILE__; -static const char *__pyx_filename; /* #### Code section: filename_table ### */ static const char* const __pyx_f[] = { "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx", - "", + "cfunc.to_py", "_pydevd_bundle/pydevd_cython.pxd", }; /* #### Code section: utility_code_proto_before_types ### */ @@ -1523,7 +1659,7 @@ static const char* const __pyx_f[] = { #define __Pyx_END_CRITICAL_SECTION Py_END_CRITICAL_SECTION #endif -/* IncludeStructmemberH.proto (used by FixUpExtensionType) */ +/* IncludeStructmemberH.proto (used by CythonFunctionShared) */ #include /* #### Code section: numeric_typedefs ### */ @@ -1558,7 +1694,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe { PyObject *depth; }; -/* "_pydevd_sys_monitoring_cython.pyx":507 +/* "_pydevd_sys_monitoring_cython.pyx":513 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -1570,7 +1706,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info { PyObject *_cache; }; -/* "_pydevd_sys_monitoring_cython.pyx":1789 +/* "_pydevd_sys_monitoring_cython.pyx":1798 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -1582,7 +1718,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_start_monitoring { int all_threads; }; -/* "_pydevd_sys_monitoring_cython.pyx":1817 +/* "_pydevd_sys_monitoring_cython.pyx":1826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -1633,7 +1769,7 @@ struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":245 +/* "_pydevd_sys_monitoring_cython.pyx":251 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class ThreadInfo: # <<<<<<<<<<<<<< @@ -1652,7 +1788,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":373 +/* "_pydevd_sys_monitoring_cython.pyx":379 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class FuncCodeInfo: # <<<<<<<<<<<<<< @@ -1683,7 +1819,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":476 +/* "_pydevd_sys_monitoring_cython.pyx":482 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class _CodeLineInfo: # <<<<<<<<<<<<<< @@ -1698,7 +1834,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":863 +/* "_pydevd_sys_monitoring_cython.pyx":869 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class _TryExceptContainerObj: # <<<<<<<<<<<<<< @@ -1711,7 +1847,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj { }; -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") # <<<<<<<<<<<<<< @@ -1760,7 +1896,7 @@ struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInf static struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; -/* "_pydevd_sys_monitoring_cython.pyx":245 +/* "_pydevd_sys_monitoring_cython.pyx":251 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class ThreadInfo: # <<<<<<<<<<<<<< @@ -1848,12 +1984,17 @@ static struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx #define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0) #define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0) -/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */ -#if CYTHON_FAST_THREAD_STATE -#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) -static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); +/* FastTypeChecks.proto (used by GivenExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) +static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); +#define __Pyx_PyAnySet_Check(obj) __Pyx_TypeCheck2(obj, &PySet_Type, &PyFrozenSet_Type) #else -#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) +#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) +#define __Pyx_PyAnySet_Check(obj) PyAnySet_Check(obj) #endif /* PyThreadStateGet.proto (used by PyErrFetchRestore) */ @@ -1874,7 +2015,7 @@ static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tsta #define __Pyx_PyErr_CurrentExceptionType() PyErr_Occurred() #endif -/* PyErrFetchRestore.proto (used by PyObjectGetAttrStrNoError) */ +/* PyErrFetchRestore.proto (used by GivenExceptionMatches) */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL) #define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb) @@ -1899,6 +2040,26 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject #define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) #endif +/* GivenExceptionMatches.proto (used by PyErrExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); +#else +#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) { + return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2); +} +#endif +#define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) + +/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) +static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); +#else +#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) +#endif + /* PyObjectGetAttrStr.proto (used by PyObjectGetAttrStrNoError) */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name); @@ -1912,22 +2073,30 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, P /* GetBuiltinName.proto */ static PyObject *__Pyx_GetBuiltinName(PyObject *name); -/* TupleAndListFromArray.proto (used by fastcall) */ +/* CopyObjectArray.proto (used by TupleOrListFromArrayImpl) */ #if CYTHON_COMPILING_IN_CPYTHON -static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); +static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length); #endif -#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_METH_FASTCALL -static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); + +/* TupleOrListFromArrayImpl.proto (used by TupleFromArray) */ +#if PY_VERSION_HEX >= 0x030F0000 && !CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyTuple_FromArray(src, n) PyTuple_FromArray(src, ((n)<0) ? 0 : (n)) +#else +CYTHON_UNUSED static PyObject * +__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); #endif -/* IncludeStringH.proto (used by BytesEquals) */ +/* TupleFromArray.proto (used by fastcall) */ + + +/* IncludeStringH.proto (used by PyObjectCompare) */ #include -/* BytesEquals.proto (used by UnicodeEquals) */ -static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals); +/* PyObjectCompare.proto (used by UnicodeEquals) */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_str_str(PyObject *op1, PyObject *op2, int pyop); /* UnicodeEquals.proto (used by fastcall) */ -static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals); +#define __Pyx_PyUnicode_Equals(s1, s2) __Pyx_PyObject_CompareBoolEq_str_str(s1, s2, Py_EQ) /* fastcall.proto */ #if CYTHON_AVOID_BORROWED_REFS @@ -1941,12 +2110,12 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int #define __Pyx_KwValues_VARARGS(args, nargs) NULL #define __Pyx_GetKwValue_VARARGS(kw, kwvalues, s) __Pyx_PyDict_GetItemStrWithError(kw, s) #define __Pyx_KwargsAsDict_VARARGS(kw, kwvalues) PyDict_Copy(kw) -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #define __Pyx_ArgRef_FASTCALL(args, i) __Pyx_NewRef(args[i]) #define __Pyx_NumKwargs_FASTCALL(kwds) __Pyx_PyTuple_GET_SIZE(kwds) #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); - #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues); #else #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) @@ -1958,14 +2127,33 @@ static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int #define __Pyx_GetKwValue_FASTCALL __Pyx_GetKwValue_VARARGS #define __Pyx_KwargsAsDict_FASTCALL __Pyx_KwargsAsDict_VARARGS #endif +#if CYTHON_VECTORCALL_TPNEW + #if !CYTHON_VECTORCALL + #error Enabling CYTHON_VECTORCALL_TPNEW without CYTHON_VECTORCALL is not supported + #endif + #define __Pyx_ArgRef_FASTCALL_TPNEW __Pyx_ArgRef_FASTCALL + #define __Pyx_NumKwargs_FASTCALL_TPNEW __Pyx_NumKwargs_FASTCALL + #define __Pyx_KwValues_FASTCALL_TPNEW __Pyx_KwValues_FASTCALL + #define __Pyx_GetKwValue_FASTCALL_TPNEW __Pyx_GetKwValue_FASTCALL + #define __Pyx_KwargsAsDict_FASTCALL_TPNEW __Pyx_KwargsAsDict_FASTCALL +#else + #define __Pyx_ArgRef_FASTCALL_TPNEW __Pyx_ArgRef_VARARGS + #define __Pyx_NumKwargs_FASTCALL_TPNEW __Pyx_NumKwargs_VARARGS + #define __Pyx_KwValues_FASTCALL_TPNEW __Pyx_KwValues_VARARGS + #define __Pyx_GetKwValue_FASTCALL_TPNEW __Pyx_GetKwValue_VARARGS + #define __Pyx_KwargsAsDict_FASTCALL_TPNEW __Pyx_KwargsAsDict_VARARGS +#endif #define __Pyx_ArgsSlice_VARARGS(args, start, stop) PyTuple_GetSlice(args, start, stop) -#if CYTHON_METH_FASTCALL || (CYTHON_COMPILING_IN_CPYTHON && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) +#if CYTHON_VECTORCALL #define __Pyx_ArgsSlice_FASTCALL(args, start, stop) __Pyx_PyTuple_FromArray(args + start, stop - start) #else -#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop) +#define __Pyx_ArgsSlice_FASTCALL __Pyx_ArgsSlice_VARARGS #endif /* py_dict_items.proto (used by OwnedDictNext) */ +#define __Pyx_PyDict_items_TypePtr (&PyDictKeys_Type) +#define __Pyx_PyDict_items_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyDictItems_TypePtr) +#define __Pyx_PyDict_items_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyDictItems_TypePtr) static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d); /* CallCFunction.proto (used by CallUnboundCMethod0) */ @@ -1992,22 +2180,31 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject /* PyObjectFastCall.proto (used by PyObjectCallOneArg) */ #define __Pyx_PyObject_FastCall(func, args, nargs) __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL) -static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs); +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargsf, PyObject *kwargs); /* PyObjectCallOneArg.proto (used by CallUnboundCMethod0) */ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg); -/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */ +/* UnpackUnboundCMethod_decl.proto (used by UnpackUnboundCMethod) */ typedef struct { PyObject *type; PyObject **method_name; -#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS - __pyx_atomic_int_type initialized; -#endif PyCFunction func; PyObject *method; int flag; +#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS + __pyx_atomic_int_type initialized; +#endif } __Pyx_CachedCFunction; + +/* IgnoreException.proto (used by UnpackUnboundCMethod_impl) */ +static CYTHON_INLINE int __Pyx_IgnoreGivenException(PyObject *given_exception, PyObject *ignorable_exception); +#define __Pyx_IgnoreException(ignorable_exception) __Pyx_IgnoreGivenException(NULL, ignorable_exception) + +/* UnpackUnboundCMethod_impl.export */ +static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target); + +/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */ #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING static CYTHON_INLINE int __Pyx_CachedCFunction_GetAndSetInitializing(__Pyx_CachedCFunction *cfunc) { #if !CYTHON_ATOMICS @@ -2040,6 +2237,9 @@ static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod0(__Pyx_CachedCFunction* #endif /* py_dict_values.proto (used by OwnedDictNext) */ +#define __Pyx_PyDict_values_TypePtr (&PyDictKeys_Type) +#define __Pyx_PyDict_values_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyDictValues_TypePtr) +#define __Pyx_PyDict_values_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyDictValues_TypePtr) static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d); /* OwnedDictNext.proto (used by ParseKeywordsImpl) */ @@ -2101,27 +2301,15 @@ static CYTHON_INLINE int __Pyx_ParseKeywords( int ignore_unknown_kwargs ); -/* RaiseArgTupleInvalid.proto */ +/* RaiseArgTupleInvalid.export */ static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact, Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /* dict_setdefault.proto (used by FetchCommonType) */ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value); -/* LimitedApiGetTypeDict.proto (used by SetItemOnTypeDict) */ -#if CYTHON_COMPILING_IN_LIMITED_API -static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp); -#endif - -/* SetItemOnTypeDict.proto (used by FixUpExtensionType) */ -static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v); -#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v) - -/* FixUpExtensionType.proto (used by FetchCommonType) */ -static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type); - /* AddModuleRef.proto (used by FetchSharedCythonModule) */ -#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING ) ||\ +#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && PY_VERSION_HEX < 0x030F00a3) ||\ __PYX_LIMITED_VERSION_HEX < 0x030d0000) static PyObject *__Pyx_PyImport_AddModuleRef(const char *name); #else @@ -2131,6 +2319,11 @@ static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec /* FetchSharedCythonModule.proto (used by FetchCommonType) */ static PyObject *__Pyx_FetchSharedCythonABIModule(void); +/* VerifyCachedType.proto (used by FetchCommonType) */ +static int __Pyx_VerifyCachedType(PyObject *cached_type, + const char *name, + Py_ssize_t expected_basicsize); + /* FetchCommonType.proto (used by CommonTypesMetaclass) */ static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases); @@ -2138,55 +2331,52 @@ static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyOb static int __pyx_CommonTypesMetaclass_init(PyObject *module); #define __Pyx_CommonTypesMetaclass_USED -/* CallTypeTraverse.proto (used by CythonFunctionShared) */ -#if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000) -#define __Pyx_call_type_traverse(o, always_call, visit, arg) 0 +/* CythonFunctionPerModule.proto (used by CythonFunctionShared) */ +#define __Pyx_CyFunction_USED +#if CYTHON_OPAQUE_SHARED_TYPES +#define __Pyx_as_CyFunctionObject(o) ((__pyx_CyFunctionObject *)PyObject_GetTypeData((o), __pyx_mstate_global->__pyx_CyFunctionType)) #else -static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg); +#define __Pyx_as_CyFunctionObject(o) ((__pyx_CyFunctionObject *)o) #endif - -/* PyMethodNew.proto (used by CythonFunctionShared) */ -static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ); - -/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */ -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL -static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); -#endif - -/* CythonFunctionShared.proto (used by CythonFunction) */ -#define __Pyx_CyFunction_USED #define __Pyx_CYFUNCTION_STATICMETHOD 0x01 #define __Pyx_CYFUNCTION_CLASSMETHOD 0x02 #define __Pyx_CYFUNCTION_CCLASS 0x04 #define __Pyx_CYFUNCTION_COROUTINE 0x08 #define __Pyx_CyFunction_GetClosure(f)\ - (((__pyx_CyFunctionObject *) (f))->func_closure) -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - #define __Pyx_CyFunction_GetClassObj(f)\ - (((__pyx_CyFunctionObject *) (f))->func_classobj) -#else - #define __Pyx_CyFunction_GetClassObj(f)\ - ((PyObject*) ((PyCMethodObject *) (f))->mm_class) -#endif + ((__Pyx_as_CyFunctionObject(f))->func_closure) +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + #define __Pyx_CyFunction_ClassObj(f)\ + ((f)->func_classobj) + #define __Pyx_CyFunction_MethodDef(cyfunc) ((cyfunc)->func_methoddef) + #define __Pyx_CyFunction_Module(cyfunc) ((cyfunc)->func_module) +#else + #define __Pyx_CyFunction_ClassObj(f)\ + (((PyCMethodObject *) (f))->mm_class) + #define __Pyx_CyFunction_MethodDef(cyfunc) (((PyCFunctionObject*)(cyfunc))->m_ml) + #define __Pyx_CyFunction_Module(cyfunc) (((PyCFunctionObject*)(cyfunc))->m_module) +#endif +#define __Pyx_CyFunction_GetClassObj(f)\ + ((PyObject*)__Pyx_CyFunction_ClassObj(__Pyx_as_CyFunctionObject(f))) #define __Pyx_CyFunction_SetClassObj(f, classobj)\ - __Pyx__CyFunction_SetClassObj((__pyx_CyFunctionObject *) (f), (classobj)) + __Pyx__CyFunction_SetClassObj(__Pyx_as_CyFunctionObject(f), (classobj)) #define __Pyx_CyFunction_Defaults(type, f)\ - ((type *)(((__pyx_CyFunctionObject *) (f))->defaults)) + ((type *)((__Pyx_as_CyFunctionObject(f))->defaults)) #define __Pyx_CyFunction_SetDefaultsGetter(f, g)\ - ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g) + (__Pyx_as_CyFunctionObject(f))->defaults_getter = (g) typedef struct { -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL +#if !CYTHON_OPAQUE_OBJECTS PyObject_HEAD - PyObject *func; -#elif PY_VERSION_HEX < 0x030900B1 - PyCFunctionObject func; +#endif + PyMethodDef *func_methoddef; + PyObject *func_module; #else PyCMethodObject func; #endif -#if CYTHON_COMPILING_IN_LIMITED_API && CYTHON_METH_FASTCALL +#if (CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) && CYTHON_VECTORCALL __pyx_vectorcallfunc func_vectorcall; #endif -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL PyObject *func_weakreflist; #endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API @@ -2198,7 +2388,7 @@ typedef struct { PyObject *func_globals; PyObject *func_code; PyObject *func_closure; -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL PyObject *func_classobj; #endif PyObject *defaults; @@ -2207,20 +2397,17 @@ typedef struct { PyObject *defaults_kwdict; PyObject *(*defaults_getter)(PyObject *); PyObject *func_annotations; +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 PyObject *func_is_coroutine; +#endif } __pyx_CyFunctionObject; #undef __Pyx_CyOrPyCFunction_Check #define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_mstate_global->__pyx_CyFunctionType) #define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_mstate_global->__pyx_CyFunctionType, &PyCFunction_Type) -#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType) +#define __Pyx_CyFunction_CheckExact(obj) Py_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType) static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)); #undef __Pyx_IsSameCFunction #define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc) -static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml, - int flags, PyObject* qualname, - PyObject *closure, - PyObject *module, PyObject *globals, - PyObject* code); static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj); static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type); @@ -2231,27 +2418,52 @@ static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m, static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m, PyObject *dict); static int __pyx_CyFunction_init(PyObject *module); -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL +#define __Pyx_CyFunction_func_vectorcall(f) ((f)->func_vectorcall) +#else +#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) +#endif +#endif + +/* CallTypeTraverse.proto (used by CythonFunctionShared) */ +#if !CYTHON_USE_TYPE_SPECS +#define __Pyx_call_type_traverse(o, always_call, visit, arg) 0 +#else +static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg); +#endif + +/* PyMethodNew.proto (used by CythonFunctionShared) */ +static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ); + +/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */ +#if CYTHON_VECTORCALL +static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); +#endif + +/* CythonFunctionShared.proto (used by CythonFunction) */ +static PyObject *__Pyx_CyFunction_Init(PyObject *op_in, PyMethodDef *ml, + int flags, PyObject* qualname, + PyObject *closure, + PyObject *module, PyObject *globals, + PyObject* code); +#if CYTHON_VECTORCALL static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); -#if CYTHON_COMPILING_IN_LIMITED_API -#define __Pyx_CyFunction_func_vectorcall(f) (((__pyx_CyFunctionObject*)f)->func_vectorcall) -#else -#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) -#endif #endif -/* CythonFunction.proto */ +/* CythonFunction.export */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject *globals, PyObject* code); +static PyTypeObject *__Pyx_Get_CyFunction_Type(void); /* KeywordStringCheck.proto */ -static CYTHON_INLINE int __Pyx_CheckKeywordStrings(const char* function_name, PyObject *kw); +static CYTHON_INLINE int __Pyx_CheckKeywordStrings(PyObject *kw); /* PyDictVersioning.proto (used by GetModuleGlobalName) */ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS @@ -2311,7 +2523,7 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb #endif /* PyObjectFastCallMethod.proto */ -#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000 +#if CYTHON_VECTORCALL #define __Pyx_PyObject_FastCallMethod(name, args, nargsf) PyObject_VectorcallMethod(name, args, nargsf, NULL) #else static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf); @@ -2341,19 +2553,65 @@ static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); #endif +/* PyFrozenDict.proto (used by GetItemInt) */ +#if CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyFrozenDict_TypePtr ((PyTypeObject*) __pyx_mstate_global->__Pyx_PyFrozenDictType) +#define __Pyx_PyFrozenDict_New(it) __Pyx__PyFrozenDict_New(__pyx_mstate_global->__Pyx_PyFrozenDictType, it) +static CYTHON_INLINE PyObject* __Pyx__PyFrozenDict_New(PyObject* frozendict_type, PyObject* it); +#define __Pyx_PyFrozenDict_NewEmpty() __Pyx_PyFrozenDict_New(NULL) +#define __Pyx_PyFrozenDict_Check(obj) PyObject_TypeCheck((obj), __Pyx_PyFrozenDict_TypePtr) +#define __Pyx_PyFrozenDict_CheckExact(obj) Py_IS_TYPE((obj), __Pyx_PyFrozenDict_TypePtr) +#define __Pyx_PyAnyDict_Check(obj) __Pyx__PyAnyDict_Check(obj, __Pyx_PyFrozenDict_TypePtr) +static CYTHON_INLINE int __Pyx__PyAnyDict_Check(PyObject *obj, PyTypeObject* frozendict_type) { + return PyObject_TypeCheck(obj, &PyDict_Type) || PyObject_TypeCheck(obj, frozendict_type); +} +#define __Pyx_PyAnyDict_CheckExact(obj) __Pyx__PyAnyDict_CheckExact(obj, __Pyx_PyFrozenDict_TypePtr) +static CYTHON_INLINE int __Pyx__PyAnyDict_CheckExact(PyObject *obj, PyTypeObject* frozendict_type) { + return Py_IS_TYPE(obj, &PyDict_Type) || Py_IS_TYPE(obj, frozendict_type); +} +#elif PY_VERSION_HEX >= 0x030f00a6 ||\ + (defined(PyFrozenDict_Check) && defined(PyAnyDict_Check) && defined(PyFrozenDict_New)) +#define __Pyx_PyFrozenDict_TypePtr (&PyFrozenDict_Type) +#define __Pyx_PyFrozenDict_New(it) PyFrozenDict_New(it) +#define __Pyx_PyFrozenDict_NewEmpty() PyFrozenDict_New(NULL) +#define __Pyx_PyFrozenDict_Check(obj) PyFrozenDict_Check(obj) +#define __Pyx_PyFrozenDict_CheckExact(obj) PyFrozenDict_CheckExact(obj) +#define __Pyx_PyAnyDict_Check(obj) PyAnyDict_Check(obj) +#define __Pyx_PyAnyDict_CheckExact(obj) PyAnyDict_CheckExact(obj) +#else +#define __Pyx_PyFrozenDict_TypePtr (&PyDict_Type) +static CYTHON_INLINE PyObject* __Pyx_PyFrozenDict_New(PyObject* it) { + if (!it) { + return PyDict_New(); + } else if (PyDict_Check(it)) { + return PyDict_Copy(it); + } else { + PyObject *dict = PyDict_New(); + if (!dict) return NULL; + PyObject *result = PyNumber_InPlaceOr(dict, it); + Py_DECREF(dict); + return result; + } +} +#define __Pyx_PyFrozenDict_NewEmpty() PyDict_New() +#define __Pyx_PyFrozenDict_Check(obj) PyDict_Check(obj) +#define __Pyx_PyFrozenDict_CheckExact(obj) PyDict_CheckExact(obj) +#define __Pyx_PyAnyDict_Check(obj) PyDict_Check(obj) +#define __Pyx_PyAnyDict_CheckExact(obj) PyDict_CheckExact(obj) +#endif + /* GetItemInt.proto */ -#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ +#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ - __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck, unsafe_shared) :\ - (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\ - __Pyx_GetItemInt_Generic(o, to_py_func(i)))) -#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ + __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ + __Pyx_GetItemInt_Generic(o, to_py_func(i))) +#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared); -#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\ +#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, wraparound, boundscheck, has_gil, unsafe_shared)\ (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\ (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL)) @@ -2361,7 +2619,10 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize int wraparound, int boundscheck, int unsafe_shared); static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j); static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, - int is_list, int wraparound, int boundscheck, int unsafe_shared); + int wraparound, int boundscheck, int unsafe_shared); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_str(PyObject *op1, PyObject *op2, int pyop); /* PyObjectDelAttr.proto (used by PyObjectSetAttrStr) */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 @@ -2385,13 +2646,11 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr /* RaiseException.export */ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); -/* ArgTypeTestFunc.export */ -static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact); +/* ArgTypeTestError.export */ +static void __Pyx_ArgTypeError(PyObject *obj, PyTypeObject *type, const char *name, int exact); /* ArgTypeTest.proto */ -#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\ - ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\ - __Pyx__ArgTypeTest(obj, type, name, exact)) +static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, const char *name, int exact); /* HasAttr.proto */ #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 @@ -2406,7 +2665,32 @@ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds); /* GetAttr3.proto */ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *); +/* FormatTypeName.proto (used by RaiseErrorWithObjectType1) */ +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX >= 0x030d0000 +typedef PyObject *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%N" +#define __Pyx_PyType_GetFullyQualifiedName(tp) Py_NewRef((PyObject*)tp) +#define __Pyx_DECREF_TypeName(obj) Py_DECREF(obj) +#elif CYTHON_COMPILING_IN_LIMITED_API +typedef PyObject *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%U" +#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) +static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp); +#else // !LIMITED_API +typedef const char *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%.200s" +#define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name) +#define __Pyx_DECREF_TypeName(obj) +#endif + +/* RaiseErrorWithObjectType1.proto (used by RaiseUnexpectedTypeError) */ +#define __Pyx_RaiseTypeErrorWithObjectType1(message, arg, obj) __Pyx_RaiseErrorWithObjectType1(PyExc_TypeError, message, arg, obj) +#define __Pyx_RaiseErrorWithObjectType1(exc_type, message, arg, obj) __Pyx_RaiseErrorWithType1(exc_type, message, arg, Py_TYPE(obj)) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithType1(PyObject* exc_type, const char* message, const char *arg, PyTypeObject *type_obj); + /* RaiseUnexpectedTypeError.proto */ +CYTHON_UNUSED static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj); /* PyLongBinop.proto */ @@ -2429,6 +2713,18 @@ static CYTHON_INLINE int __Pyx_IterFinish(void); /* UnpackItemEndCheck.proto */ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGe_object_object(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolLe_object_object(PyObject *op1, PyObject *op2, int pyop); + +/* RaiseErrorWithObjectType.proto (used by ObjectGetItem) */ +#define __Pyx_RaiseTypeErrorWithObjectType(message, obj) __Pyx_RaiseErrorWithObjectType(PyExc_TypeError, message, obj) +#define __Pyx_RaiseErrorWithObjectType(exc_type, message, obj) __Pyx_RaiseErrorWithType(exc_type, message, Py_TYPE(obj)) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithType(PyObject* exc_type, const char* message, PyTypeObject *type_obj); + /* ObjectGetItem.proto */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key); @@ -2436,14 +2732,24 @@ static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *k #define __Pyx_PyObject_GetItem(obj, key) PyObject_GetItem(obj, key) #endif +/* RaiseErrorWithObjectTypes.proto (used by ExtTypeTest) */ +#define __Pyx_RaiseErrorWithObjectTypes1(exc_type, message, arg, obj1, obj2) __Pyx_RaiseErrorWithTypes1(exc_type, message, arg, Py_TYPE(obj1), Py_TYPE(obj2)) +#define __Pyx_RaiseTypeErrorWithObjectTypes(message, obj1, obj2) __Pyx_RaiseTypeErrorWithTypes(message, Py_TYPE(obj1), Py_TYPE(obj2)) +#define __Pyx_RaiseTypeErrorWithTypes(message, type_obj1, type_obj2) __Pyx_RaiseErrorWithTypes1(PyExc_TypeError, "%.1s" message, "", type_obj1, type_obj2) +CYTHON_UNUSED +static void __Pyx_RaiseErrorWithTypes1(PyObject* exc_type, const char *message, const char *arg, PyTypeObject *type_obj1, PyTypeObject *type_obj2); + /* ExtTypeTest.proto */ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_int_object(PyObject *op1, PyObject *op2, int pyop); + /* DictGetItem.proto */ #if !CYTHON_COMPILING_IN_PYPY static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key); #define __Pyx_PyObject_Dict_GetItem(obj, name)\ - (likely(PyDict_CheckExact(obj)) ?\ + (likely(__Pyx_PyAnyDict_CheckExact(obj)) ?\ __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name)) #else #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key) @@ -2488,20 +2794,15 @@ static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key); static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatSimpleAndDecref(PyObject* s, PyObject* f); static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObject* f); -/* JoinPyUnicode.export */ -static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, - Py_UCS4 max_char); +/* JoinPyUnicode.proto */ +#define __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH\ + (!CYTHON_COMPILING_IN_GRAAL && !CYTHON_COMPILING_IN_PYPY && !CYTHON_COMPILING_IN_LIMITED_API) -/* PyObjectCallNoArg.proto (used by PyObjectCallMethod0) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func); - -/* PyObjectGetMethod.proto (used by PyObjectCallMethod0) */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method); -#endif +/* JoinPyUnicode.export */ +static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, int kind); -/* PyObjectCallMethod0.proto (used by dict_iter) */ -static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name); +/* PyObjectCallMethod0.proto (used by dict_iter_common) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name); /* RaiseNoneIterError.proto (used by UnpackTupleError) */ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void); @@ -2509,7 +2810,7 @@ static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void); /* UnpackTupleError.proto (used by UnpackTuple2) */ static void __Pyx_UnpackTupleError(PyObject *, Py_ssize_t index); -/* UnpackTuple2.proto (used by dict_iter) */ +/* UnpackTuple2.proto (used by dict_iter_common) */ static CYTHON_INLINE int __Pyx_unpack_tuple2( PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple); static CYTHON_INLINE int __Pyx_unpack_tuple2_exact( @@ -2517,11 +2818,14 @@ static CYTHON_INLINE int __Pyx_unpack_tuple2_exact( static int __Pyx_unpack_tuple2_generic( PyObject* tuple, PyObject** value1, PyObject** value2, int has_known_size, int decref_tuple); +/* dict_iter_common.proto (used by dict_iter) */ +static PyObject *__Pyx_dict_call_to_get_iterable(PyObject* iterable, PyObject* method_name); +static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos, + PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict); + /* dict_iter.proto */ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict, PyObject* method_name, Py_ssize_t* p_orig_length, int* p_is_dict); -static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos, - PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict); /* PyDictContains.proto */ static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) { @@ -2535,25 +2839,27 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s return unlikely(result < 0) ? result : (result == (eq == Py_EQ)); } +/* PyNumberBinop.proto */ +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL || CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyNumber_Or_object_object(op1, op2) PyNumber_Or(op1, op2) +#define __Pyx_PyNumber_InPlaceOr_object_object(op1, op2) PyNumber_InPlaceOr(op1, op2) +#else +#define __Pyx_PyNumber_Or_object_object(op1, op2) __Pyx__PyNumber_Or_object_object(op1, op2, 0) +#define __Pyx_PyNumber_InPlaceOr_object_object(op1, op2) __Pyx__PyNumber_Or_object_object(op1, op2, 1) +static CYTHON_INLINE PyObject* __Pyx__PyNumber_Or_object_object(PyObject *op1, PyObject *op2, int inplace); +#endif + /* PyLongCompare.proto */ static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace); -/* PyObjectVectorCallKwBuilder.proto */ -CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); +/* PyObjectVectorcallKwds.proto */ #if CYTHON_VECTORCALL -#if PY_VERSION_HEX >= 0x03090000 -#define __Pyx_Object_Vectorcall_CallFromBuilder PyObject_Vectorcall -#else -#define __Pyx_Object_Vectorcall_CallFromBuilder _PyObject_Vectorcall -#endif -#define __Pyx_MakeVectorcallBuilderKwds(n) PyTuple_New(n) -static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n); -static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n); +#define __Pyx_Object_VectorcallKwds PyObject_Vectorcall +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject *kwnames, Py_ssize_t i); #else -#define __Pyx_Object_Vectorcall_CallFromBuilder __Pyx_PyObject_FastCallDict -#define __Pyx_MakeVectorcallBuilderKwds(n) __Pyx_PyDict_NewPresized(n) -#define __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n) PyDict_SetItem(builder, key, value) -#define __Pyx_VectorcallBuilder_AddArgStr(key, value, builder, args, n) PyDict_SetItemString(builder, key, value) +#define __Pyx_Object_VectorcallKwds __Pyx_PyObject_FastCallDict +CYTHON_UNUSED static PyObject *__Pyx_MakeKwargDict(PyObject **keys, PyObject **values, Py_ssize_t n); +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject **kwnames, Py_ssize_t i); #endif /* PyUnicode_Unicode.proto */ @@ -2567,13 +2873,22 @@ static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject * static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb); #endif -/* PyObjectVectorCallMethodKwBuilder.proto */ -#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000 -#define __Pyx_Object_VectorcallMethod_CallFromBuilder PyObject_VectorcallMethod +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_int_object(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_object(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectVectorcallMethodKwds.proto */ +#if CYTHON_VECTORCALL +#define __Pyx_Object_VectorcallMethodKwds PyObject_VectorcallMethod #else -static PyObject *__Pyx_Object_VectorcallMethod_CallFromBuilder(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames); +static PyObject *__Pyx_Object_VectorcallMethodKwds(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames); #endif +/* PyObjectCompare.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareEq_object_str(PyObject *op1, PyObject *op2, int pyop); + /* dict_getitem_default.proto */ static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value); @@ -2598,12 +2913,66 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice( PyObject** py_start, PyObject** py_stop, PyObject** py_slice, int has_cstart, int has_cstop, int wraparound); +/* UnicodeEqualsUCS4.proto (used by UnicodeEquals_uchar) */ +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL +#define __Pyx_PyObject_Equals_uchar(s1, s2, ch2, equals, s1_is_str) (\ + ((s1) == (s2)) ? ((equals) == Py_EQ) :\ + ((s1) == Py_None) ? ((equals) == Py_NE) :\ + __Pyx_PyObject_RichCompareBool(s1, s2, equals)\ + ) +#else +#define __Pyx_PyObject_Equals_uchar(s1, s2, ch2, equals, s1_is_str) (\ + ((s1) == (s2)) ? ((equals) == Py_EQ) :\ + ((s1) == Py_None) ? ((equals) == Py_NE) :\ + (likely((s1_is_str) || PyUnicode_CheckExact(s1)) ?\ + __Pyx__PyUnicode_EqualsUCS4(s1, ch2, equals) :\ + __Pyx_PyObject_RichCompareBool(s1, s2, equals)\ + )) +static CYTHON_INLINE int __Pyx__PyUnicode_EqualsUCS4(PyObject* s1, Py_UCS4 ch2, int equals); +#endif + +/* UnicodeEquals_uchar.proto */ +#define __Pyx_PyObject_Equals_obj_ch63(s1, s2, equals) __Pyx_PyObject_Equals_uchar(s1, s2, 63, equals, 0) + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_int(PyObject *op1, PyObject *op2, int pyop); + +/* PyObjectCompare.proto */ +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_object_str(PyObject *op1, PyObject *op2, int pyop); + /* PyLongCompare.proto */ static CYTHON_INLINE int __Pyx_PyLong_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace); +/* PyNumberBinop.proto */ +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL || CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_PyNumber_Or_int_object(op1, op2) PyNumber_Or(op1, op2) +#define __Pyx_PyNumber_InPlaceOr_int_object(op1, op2) PyNumber_InPlaceOr(op1, op2) +#else +#define __Pyx_PyNumber_Or_int_object(op1, op2) __Pyx__PyNumber_Or_int_object(op1, op2, 0) +#define __Pyx_PyNumber_InPlaceOr_int_object(op1, op2) __Pyx__PyNumber_Or_int_object(op1, op2, 1) +static CYTHON_INLINE PyObject* __Pyx__PyNumber_Or_int_object(PyObject *op1, PyObject *op2, int inplace); +#endif + /* AllocateExtensionType.proto */ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final); +/* CallSlotAsVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +typedef PyObject * (*__Pyx_tpnewvectorcallfunc)(PyTypeObject* o, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); +static PyObject * __Pyx_CallTpnewAsVectorcall(__Pyx_tpnewvectorcallfunc f, PyTypeObject* o, PyObject *a, PyObject *k); +#endif + +/* CallNewInitFromVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__Pyx_CallNewInitFromVectorcall(PyTypeObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); +#endif + +/* CallSlotAsVectorcall.proto */ +#if CYTHON_VECTORCALL_TPNEW +typedef int (*__Pyx_tpinitvectorcallfunc)(PyObject* o, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames); +static int __Pyx_CallTpinitAsVectorcall(__Pyx_tpinitvectorcallfunc f, PyObject* o, PyObject *a, PyObject *k); +#endif + /* CheckTypeForFreelists.proto */ #if CYTHON_USE_FREELISTS #if CYTHON_USE_TYPE_SPECS @@ -2618,51 +2987,76 @@ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final); (int) (!__Pyx_PyType_HasFeature((t), __PYX_CHECK_TYPE_FOR_FREELIST_FLAGS))) #endif +/* GetTypeDictOffset.proto (used by ValidateBasesTuple) */ +#if !CYTHON_USE_TYPE_SLOTS +CYTHON_UNUSED static Py_ssize_t __Pyx_GetTypeDictOffset(PyObject *tp, int require_cython_valid_result); +#endif + /* ValidateBasesTuple.proto (used by PyType_Ready) */ #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS -static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases); +static int __Pyx_validate_bases_tuple(const char *type_name, int has_dictoffset, PyObject *bases); #endif -/* PyType_Ready.proto */ +/* PyType_Ready.export */ CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t); -/* SetVTable.proto */ -static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable); - /* GetVTable.proto (used by MergeVTables) */ -static void* __Pyx_GetVtable(PyTypeObject *type); +static int __Pyx_GetVtable(PyTypeObject *type, void** table); -/* MergeVTables.proto */ +/* MergeVTables.proto (used by SetVTable) */ static int __Pyx_MergeVtables(PyTypeObject *type); +/* SetVTable.export */ +static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable); + +/* LimitedApiGetTypeTypeDict.proto (used by DelItemOnTypeDict) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_GetTypeTypeDict(PyTypeObject *tp); +#endif + /* DelItemOnTypeDict.proto (used by SetupReduce) */ -static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k); #define __Pyx_DelItemOnTypeDict(tp, k) __Pyx__DelItemOnTypeDict((PyTypeObject*)tp, k) -/* SetupReduce.proto */ +/* DelItemOnTypeDict.export */ +static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k); + +/* SetItemOnTypeDict.proto (used by SetupReduce) */ +#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v) + +/* SetItemOnTypeDict.export */ +static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v); + +/* SetupReduce.export */ static int __Pyx_setup_reduce(PyObject* type_obj); /* TypeImport.proto */ -#ifndef __PYX_HAVE_RT_ImportType_proto_3_2_4 -#define __PYX_HAVE_RT_ImportType_proto_3_2_4 +#ifndef __PYX_HAVE_RT_ImportType_proto_3_3_1 +#define __PYX_HAVE_RT_ImportType_proto_3_3_1 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L #include #endif #if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L -#define __PYX_GET_STRUCT_ALIGNMENT_3_2_4(s) alignof(s) +#define __PYX_GET_STRUCT_ALIGNMENT_3_3_1(s) alignof(s) #else -#define __PYX_GET_STRUCT_ALIGNMENT_3_2_4(s) sizeof(void*) +#define __PYX_GET_STRUCT_ALIGNMENT_3_3_1(s) sizeof(void*) #endif -enum __Pyx_ImportType_CheckSize_3_2_4 { - __Pyx_ImportType_CheckSize_Error_3_2_4 = 0, - __Pyx_ImportType_CheckSize_Warn_3_2_4 = 1, - __Pyx_ImportType_CheckSize_Ignore_3_2_4 = 2 +enum __Pyx_ImportType_CheckSize_3_3_1 { + __Pyx_ImportType_CheckSize_Error_3_3_1 = 0, + __Pyx_ImportType_CheckSize_Warn_3_3_1 = 1, + __Pyx_ImportType_CheckSize_Ignore_3_3_1 = 2 }; -static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_4 check_size); +static PyTypeObject *__Pyx_ImportType_3_3_1(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_3_1 check_size); #endif /* FunctionImport.proto */ -static int __Pyx_ImportFunction_3_2_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig); +static int __Pyx_ImportFunction_3_3_1(PyObject *module, const char *funcname, void (**f)(void), const char *sig); + +/* TupleOrListFromArrayImpl.proto (used by ListFromArray) */ +CYTHON_UNUSED static PyObject * +__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); + +/* ListFromArray.proto (used by ImportImpl) */ + /* ImportImpl.export */ static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, PyObject *moddict, int level); @@ -2670,7 +3064,7 @@ static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, /* Import.proto */ static CYTHON_INLINE PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level); -/* ImportFrom.proto */ +/* ImportFrom.export */ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); /* PyImportError_Check.proto */ @@ -2690,7 +3084,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); /* CalculateMetaclass.proto (used by Py3ClassCreate) */ static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases); -/* Py3ClassCreate.proto */ +/* Py3ClassCreate.export */ static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name, PyObject *qualname, PyObject *mkw, PyObject *modname, PyObject *doc); static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObject *bases, PyObject *dict, @@ -2734,8 +3128,11 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, #define __Pyx_HAS_GCC_DIAGNOSTIC #endif -/* CheckUnpickleChecksum.proto */ -static CYTHON_INLINE int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members); +/* PyObjectCallMethod1.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg); + +/* CheckUnpickleChecksumError.export */ +static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long checksum2, long checksum3, const char *members); /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_unsigned_long(unsigned long value); @@ -2755,52 +3152,11 @@ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *); /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value); -/* PyObjectCallMethod1.proto */ -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg); - -/* UpdateUnpickledDict.proto */ +/* UpdateUnpickledDict.export */ static int __Pyx_UpdateUnpickledDict(PyObject *obj, PyObject *state, Py_ssize_t index); -/* FormatTypeName.proto */ -#if CYTHON_COMPILING_IN_LIMITED_API -typedef PyObject *__Pyx_TypeName; -#define __Pyx_FMT_TYPENAME "%U" -#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) -#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 -#define __Pyx_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName -#else -static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp); -#endif -#else // !LIMITED_API -typedef const char *__Pyx_TypeName; -#define __Pyx_FMT_TYPENAME "%.200s" -#define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name) -#define __Pyx_DECREF_TypeName(obj) -#endif - -/* FastTypeChecks.proto */ -#if CYTHON_COMPILING_IN_CPYTHON -#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) -#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) -static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); -static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); -#else -#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) -#define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) -#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) -static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) { - return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2); -} -#endif -#define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) -#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) -#ifdef PyExceptionInstance_Check - #define __Pyx_PyBaseException_Check(obj) PyExceptionInstance_Check(obj) -#else - #define __Pyx_PyBaseException_Check(obj) __Pyx_TypeCheck(obj, PyExc_BaseException) -#endif +/* CheckUnpickleChecksum.proto */ +static CYTHON_INLINE int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members); /* GetRuntimeVersion.proto */ #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 @@ -2817,8 +3173,12 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt /* DecompressString.proto */ static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo); +/* DecompressString_LZSS.proto */ +static PyObject *__Pyx_DecompressString_LZSS(const char *s, size_t compressed_length, size_t uncompressed_length); + /* MultiPhaseInitModuleState.proto */ #if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE +#include static PyObject *__Pyx_State_FindModule(void*); static int __Pyx_State_AddModule(PyObject* module, void*); static int __Pyx_State_RemoveModule(void*); @@ -2831,12 +3191,31 @@ static int __Pyx_State_RemoveModule(void*); /* #### Code section: module_declarations ### */ /* CythonABIVersion.proto */ #if CYTHON_COMPILING_IN_LIMITED_API - #if CYTHON_METH_FASTCALL - #define __PYX_FASTCALL_ABI_SUFFIX "_fastcall" + #if CYTHON_VECTORCALL + #define __PYX_VECTORCALL_ABI_SUFFIX "vectorcall" + #else + #define __PYX_VECTORCALL_ABI_SUFFIX + #endif + #if __PYX_LIMITED_VERSION_HEX >= 0x03100000 + #define __PYX_LIMITED_ABI_V_SUFFIX "16" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030F0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "15" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030E0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "14" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "13" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030C0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "12" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030B0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "11" + #elif __PYX_LIMITED_VERSION_HEX >= 0x030A0000 + #define __PYX_LIMITED_ABI_V_SUFFIX "10" + #elif __PYX_LIMITED_VERSION_HEX >= 0x03090000 + #define __PYX_LIMITED_ABI_V_SUFFIX "9" #else - #define __PYX_FASTCALL_ABI_SUFFIX + #define __PYX_LIMITED_ABI_V_SUFFIX "8" #endif - #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_FASTCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX + #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_LIMITED_ABI_V_SUFFIX "_" __PYX_VECTORCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX #else #define __PYX_LIMITED_ABI_SUFFIX #endif @@ -2860,7 +3239,12 @@ static int __Pyx_State_RemoveModule(void*); #else #define __PYX_FREELISTS_ABI_SUFFIX "nofreelists" #endif -#define CYTHON_ABI __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX +#if CYTHON_OPAQUE_OBJECTS && CYTHON_COMPILING_IN_LIMITED_API + #define __PYX_OPAQUE_OBJECTS_ABI_SUFFIX "opaque" +#else + #define __PYX_OPAQUE_OBJECTS_ABI_SUFFIX +#endif +#define CYTHON_ABI __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX __PYX_OPAQUE_OBJECTS_ABI_SUFFIX #define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI #define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." @@ -2967,15 +3351,237 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_Threa static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle_FuncCodeInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__pyx_unpickle__CodeLineInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_28__pyx_unpickle__TryExceptContainerObj(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_29_pydevd_sys_monitoring_cython_FuncCodeInfo __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_29_pydevd_sys_monitoring_cython__CodeLineInfo __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *o, PyObject *args, PyObject *kwds); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_init_29_pydevd_sys_monitoring_cython__TryExceptContainerObj __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__ +#endif +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +); /*proto*/ +#if CYTHON_VECTORCALL_TPNEW static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +#endif +#if !CYTHON_VECTORCALL_TPNEW +#define __pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval +#endif +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames); /*proto*/ +#endif /* #### Code section: late_includes ### */ /* #### Code section: module_state ### */ /* SmallCodeConfig */ @@ -2989,42 +3595,45 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_ #endif #endif -typedef struct { - PyObject *__pyx_d; - PyObject *__pyx_b; - PyObject *__pyx_cython_runtime; - PyObject *__pyx_empty_tuple; - PyObject *__pyx_empty_bytes; - PyObject *__pyx_empty_unicode; - PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; - PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo; - PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo; - PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo; - PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; - PyObject *__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc; - PyObject *__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset; - PyObject *__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line; - PyObject *__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset; - PyObject *__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval; - PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo; - PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo; - PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo; - PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; - PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc; - PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset; - PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line; - PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset; - PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_items; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop; - __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values; - PyObject *__pyx_k__2; - PyObject *__pyx_slice[1]; - PyObject *__pyx_tuple[7]; - PyObject *__pyx_codeobj_tab[31]; - PyObject *__pyx_string_tab[360]; - PyObject *__pyx_number_tab[17]; +#ifdef __cplusplus +namespace { + #endif + typedef struct { + PyObject *__pyx_d; + PyObject *__pyx_b; + PyObject *__pyx_cython_runtime; + PyObject *__pyx_empty_tuple; + PyObject *__pyx_empty_bytes; + PyObject *__pyx_empty_unicode; + PyTypeObject *__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo; + PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo; + PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo; + PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo; + PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; + PyObject *__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc; + PyObject *__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset; + PyObject *__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line; + PyObject *__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset; + PyObject *__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval; + PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo; + PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo; + PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo; + PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; + PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc; + PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset; + PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line; + PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset; + PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_items; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop; + __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values; + PyObject *__pyx_k__3; + PyObject *__pyx_slice[1]; + PyObject *__pyx_tuple[10]; + PyObject *__pyx_codeobj_tab[31]; + PyObject *__pyx_string_tab[363]; + PyObject *__pyx_number_tab[17]; /* #### Code section: module_state_contents ### */ /* CommonTypesMetaclass.module_state_decls */ PyTypeObject *__pyx_CommonTypesMetaclassType; @@ -3034,9 +3643,14 @@ PyTypeObject *__pyx_CommonTypesMetaclassType; PyObject *__Pyx_CachedMethodType; #endif -/* CythonFunctionShared.module_state_decls */ +/* CythonFunctionPerModule.module_state_decls */ PyTypeObject *__pyx_CyFunctionType; +/* PyFrozenDict.module_state_decls */ +#if CYTHON_COMPILING_IN_LIMITED_API +PyObject *__Pyx_PyFrozenDictType; +#endif + #if CYTHON_USE_FREELISTS struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc *__pyx_freelist___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc[8]; @@ -3067,6 +3681,9 @@ struct __Pyx_CodeObjectCache __pyx_code_cache; /* #### Code section: module_state_end ### */ } __pyx_mstatetype; +#ifdef __cplusplus +} /* anonymous namespace */ +#endif #if CYTHON_USE_MODULE_STATE #ifdef __cplusplus @@ -3090,366 +3707,369 @@ static __pyx_mstatetype __pyx_mstate_global_static = static __pyx_mstatetype * const __pyx_mstate_global = &__pyx_mstate_global_static; #endif /* #### Code section: constant_name_defines ### */ -#define __pyx_kp_u_ __pyx_string_tab[0] -#define __pyx_kp_u_1 __pyx_string_tab[1] -#define __pyx_kp_u_Helper_class_to_remove_a_dummy __pyx_string_tab[2] -#define __pyx_kp_u_IgnoreException __pyx_string_tab[3] -#define __pyx_kp_u_None __pyx_string_tab[4] -#define __pyx_kp_u_Not_the_same_exception __pyx_string_tab[5] -#define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[6] -#define __pyx_kp_u_Optional_bool __pyx_string_tab[7] -#define __pyx_kp_u_Stop_inside_ipython_call __pyx_string_tab[8] -#define __pyx_kp_u__3 __pyx_string_tab[9] -#define __pyx_kp_u__4 __pyx_string_tab[10] -#define __pyx_kp_u__5 __pyx_string_tab[11] -#define __pyx_kp_u_add_note __pyx_string_tab[12] -#define __pyx_kp_u_disable __pyx_string_tab[13] -#define __pyx_kp_u_enable __pyx_string_tab[14] -#define __pyx_kp_u_frozen_runpy __pyx_string_tab[15] -#define __pyx_kp_u_gc __pyx_string_tab[16] -#define __pyx_kp_u_isenabled __pyx_string_tab[17] -#define __pyx_kp_u_module __pyx_string_tab[18] -#define __pyx_kp_u_pyc __pyx_string_tab[19] -#define __pyx_kp_u_pydev_execfile_py __pyx_string_tab[20] -#define __pyx_kp_u_pydevd_py __pyx_string_tab[21] -#define __pyx_kp_u_pydevd_sys_monitoring__pydevd_s __pyx_string_tab[22] -#define __pyx_kp_u_pydevd_traceproperty_py __pyx_string_tab[23] -#define __pyx_kp_u_python_function __pyx_string_tab[24] -#define __pyx_kp_u_python_line __pyx_string_tab[25] -#define __pyx_kp_u_stringsource __pyx_string_tab[26] -#define __pyx_n_u_ALL __pyx_string_tab[27] -#define __pyx_n_u_Any __pyx_string_tab[28] -#define __pyx_n_u_CodeLineInfo __pyx_string_tab[29] -#define __pyx_n_u_CodeLineInfo___reduce_cython __pyx_string_tab[30] -#define __pyx_n_u_CodeLineInfo___setstate_cython __pyx_string_tab[31] -#define __pyx_n_u_CodeType __pyx_string_tab[32] -#define __pyx_n_u_DEBUGGER_ID __pyx_string_tab[33] -#define __pyx_n_u_DEBUG_START __pyx_string_tab[34] -#define __pyx_n_u_DEBUG_START_PY3K __pyx_string_tab[35] -#define __pyx_n_u_DISABLE __pyx_string_tab[36] -#define __pyx_n_u_DeleteDummyThreadOnDel __pyx_string_tab[37] -#define __pyx_n_u_DeleteDummyThreadOnDel___del __pyx_string_tab[38] -#define __pyx_n_u_DeleteDummyThreadOnDel___init __pyx_string_tab[39] -#define __pyx_n_u_Dict __pyx_string_tab[40] -#define __pyx_n_u_DummyThread __pyx_string_tab[41] -#define __pyx_n_u_EXCEPTION_TYPE_HANDLED __pyx_string_tab[42] -#define __pyx_n_u_EXCEPTION_TYPE_USER_UNHANDLED __pyx_string_tab[43] -#define __pyx_n_u_ForkSafeLock __pyx_string_tab[44] -#define __pyx_n_u_FrameType __pyx_string_tab[45] -#define __pyx_n_u_FuncCodeInfo __pyx_string_tab[46] -#define __pyx_n_u_FuncCodeInfo___reduce_cython __pyx_string_tab[47] -#define __pyx_n_u_FuncCodeInfo___setstate_cython __pyx_string_tab[48] -#define __pyx_n_u_FuncCodeInfo_get_line_of_offset __pyx_string_tab[49] -#define __pyx_n_u_GlobalDebuggerHolder __pyx_string_tab[50] -#define __pyx_n_u_IGNORE_EXCEPTION_TAG __pyx_string_tab[51] -#define __pyx_n_u_IS_PY313_OR_GREATER __pyx_string_tab[52] -#define __pyx_n_u_JUMP __pyx_string_tab[53] -#define __pyx_n_u_LINE __pyx_string_tab[54] -#define __pyx_n_u_NORM_PATHS_AND_BASE_CONTAINER __pyx_string_tab[55] -#define __pyx_n_u_None __pyx_string_tab[56] -#define __pyx_n_u_Optional __pyx_string_tab[57] -#define __pyx_n_u_PYDEVD_IPYTHON_CONTEXT __pyx_string_tab[58] -#define __pyx_n_u_PYTHON_SUSPEND __pyx_string_tab[59] -#define __pyx_n_u_PY_RESUME __pyx_string_tab[60] -#define __pyx_n_u_PY_RETURN __pyx_string_tab[61] -#define __pyx_n_u_PY_START __pyx_string_tab[62] -#define __pyx_n_u_PY_UNWIND __pyx_string_tab[63] -#define __pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy __pyx_string_tab[64] -#define __pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy_2 __pyx_string_tab[65] -#define __pyx_n_u_Pyx_CFunc_7f6725__29_pydevd_sy __pyx_string_tab[66] -#define __pyx_n_u_Pyx_CFunc_893235__29_pydevd_sy __pyx_string_tab[67] -#define __pyx_n_u_Pyx_CFunc_b0409f__29_pydevd_sy __pyx_string_tab[68] -#define __pyx_n_u_Pyx_PyDict_NextRef __pyx_string_tab[69] -#define __pyx_n_u_RAISE __pyx_string_tab[70] -#define __pyx_n_u_RETURN_VALUES_DICT __pyx_string_tab[71] -#define __pyx_n_u_TRACE_PROPERTY __pyx_string_tab[72] -#define __pyx_n_u_Thread __pyx_string_tab[73] -#define __pyx_n_u_ThreadInfo __pyx_string_tab[74] -#define __pyx_n_u_ThreadInfo___reduce_cython __pyx_string_tab[75] -#define __pyx_n_u_ThreadInfo___setstate_cython __pyx_string_tab[76] -#define __pyx_n_u_TryExceptContainerObj __pyx_string_tab[77] -#define __pyx_n_u_TryExceptContainerObj___reduce __pyx_string_tab[78] -#define __pyx_n_u_TryExceptContainerObj___setstat __pyx_string_tab[79] -#define __pyx_n_u_Tuple __pyx_string_tab[80] -#define __pyx_n_u_active __pyx_string_tab[81] -#define __pyx_n_u_active_limbo_lock __pyx_string_tab[82] -#define __pyx_n_u_add_command __pyx_string_tab[83] -#define __pyx_n_u_additional_info __pyx_string_tab[84] -#define __pyx_n_u_all_threads __pyx_string_tab[85] -#define __pyx_n_u_apply_files_filter __pyx_string_tab[86] -#define __pyx_n_u_arg __pyx_string_tab[87] -#define __pyx_n_u_args __pyx_string_tab[88] -#define __pyx_n_u_asyncio_coroutines __pyx_string_tab[89] -#define __pyx_n_u_basename __pyx_string_tab[90] -#define __pyx_n_u_bootstrap __pyx_string_tab[91] -#define __pyx_n_u_bootstrap_2 __pyx_string_tab[92] -#define __pyx_n_u_bootstrap_inner __pyx_string_tab[93] -#define __pyx_n_u_bootstrap_inner_2 __pyx_string_tab[94] -#define __pyx_n_u_break_on_caught_exceptions __pyx_string_tab[95] -#define __pyx_n_u_break_on_uncaught_exceptions __pyx_string_tab[96] -#define __pyx_n_u_break_on_user_uncaught_exception __pyx_string_tab[97] -#define __pyx_n_u_breakpoints __pyx_string_tab[98] -#define __pyx_n_u_call __pyx_string_tab[99] -#define __pyx_n_u_call_2 __pyx_string_tab[100] -#define __pyx_n_u_cfunc_to_py __pyx_string_tab[101] -#define __pyx_n_u_children_variants __pyx_string_tab[102] -#define __pyx_n_u_class __pyx_string_tab[103] -#define __pyx_n_u_class_getitem __pyx_string_tab[104] -#define __pyx_n_u_cline_in_traceback __pyx_string_tab[105] -#define __pyx_n_u_cmd_factory __pyx_string_tab[106] -#define __pyx_n_u_cmd_step_into __pyx_string_tab[107] -#define __pyx_n_u_cmd_step_over __pyx_string_tab[108] -#define __pyx_n_u_co_filename __pyx_string_tab[109] -#define __pyx_n_u_co_lines __pyx_string_tab[110] -#define __pyx_n_u_co_name __pyx_string_tab[111] -#define __pyx_n_u_code __pyx_string_tab[112] -#define __pyx_n_u_code_obj __pyx_string_tab[113] -#define __pyx_n_u_code_to_func_code_info_cache __pyx_string_tab[114] -#define __pyx_n_u_collect_try_except_info __pyx_string_tab[115] -#define __pyx_n_u_collections __pyx_string_tab[116] -#define __pyx_n_u_compile __pyx_string_tab[117] -#define __pyx_n_u_current_thread __pyx_string_tab[118] -#define __pyx_n_u_debug __pyx_string_tab[119] -#define __pyx_n_u_del __pyx_string_tab[120] -#define __pyx_n_u_dict __pyx_string_tab[121] -#define __pyx_n_u_dict_2 __pyx_string_tab[122] -#define __pyx_n_u_dis __pyx_string_tab[123] -#define __pyx_n_u_disable_code_tracing __pyx_string_tab[124] -#define __pyx_n_u_do_wait_suspend __pyx_string_tab[125] -#define __pyx_n_u_do_wait_suspend_2 __pyx_string_tab[126] -#define __pyx_n_u_doc __pyx_string_tab[127] -#define __pyx_n_u_dummy_thread __pyx_string_tab[128] -#define __pyx_n_u_dummy_thread_2 __pyx_string_tab[129] -#define __pyx_n_u_enable_code_tracing __pyx_string_tab[130] -#define __pyx_n_u_end __pyx_string_tab[131] -#define __pyx_n_u_endswith __pyx_string_tab[132] -#define __pyx_n_u_ensure_monitoring __pyx_string_tab[133] -#define __pyx_n_u_enter __pyx_string_tab[134] -#define __pyx_n_u_enumerate __pyx_string_tab[135] -#define __pyx_n_u_event __pyx_string_tab[136] -#define __pyx_n_u_events __pyx_string_tab[137] -#define __pyx_n_u_exc __pyx_string_tab[138] -#define __pyx_n_u_exception __pyx_string_tab[139] -#define __pyx_n_u_exec __pyx_string_tab[140] -#define __pyx_n_u_execfile __pyx_string_tab[141] -#define __pyx_n_u_exit __pyx_string_tab[142] -#define __pyx_n_u_expression __pyx_string_tab[143] -#define __pyx_n_u_f_back __pyx_string_tab[144] -#define __pyx_n_u_f_bootstrap __pyx_string_tab[145] -#define __pyx_n_u_f_code __pyx_string_tab[146] -#define __pyx_n_u_f_disable_next_line_if_match __pyx_string_tab[147] -#define __pyx_n_u_f_lasti __pyx_string_tab[148] -#define __pyx_n_u_f_lineno __pyx_string_tab[149] -#define __pyx_n_u_f_locals __pyx_string_tab[150] -#define __pyx_n_u_f_unhandled_exc __pyx_string_tab[151] -#define __pyx_n_u_f_unhandled_frame __pyx_string_tab[152] -#define __pyx_n_u_file_to_line_to_breakpoints __pyx_string_tab[153] -#define __pyx_n_u_findlinestarts __pyx_string_tab[154] -#define __pyx_n_u_first_line __pyx_string_tab[155] -#define __pyx_n_u_frame __pyx_string_tab[156] -#define __pyx_n_u_frame_or_depth __pyx_string_tab[157] -#define __pyx_n_u_free_tool_id __pyx_string_tab[158] -#define __pyx_n_u_from_offset __pyx_string_tab[159] -#define __pyx_n_u_func __pyx_string_tab[160] -#define __pyx_n_u_function_breakpoint_name_to_brea __pyx_string_tab[161] -#define __pyx_n_u_get __pyx_string_tab[162] -#define __pyx_n_u_get_abs_path_real_path_and_base __pyx_string_tab[163] -#define __pyx_n_u_get_abs_path_real_path_and_base_2 __pyx_string_tab[164] -#define __pyx_n_u_get_breakpoint __pyx_string_tab[165] -#define __pyx_n_u_get_cache_file_type __pyx_string_tab[166] -#define __pyx_n_u_get_clsname_for_code __pyx_string_tab[167] -#define __pyx_n_u_get_file_type __pyx_string_tab[168] -#define __pyx_n_u_get_func_code_info __pyx_string_tab[169] -#define __pyx_n_u_get_ident __pyx_string_tab[170] -#define __pyx_n_u_get_ident_2 __pyx_string_tab[171] -#define __pyx_n_u_get_line_of_offset __pyx_string_tab[172] -#define __pyx_n_u_get_local_events __pyx_string_tab[173] -#define __pyx_n_u_get_smart_step_into_variant_from __pyx_string_tab[174] -#define __pyx_n_u_get_tool __pyx_string_tab[175] -#define __pyx_n_u_getframe __pyx_string_tab[176] -#define __pyx_n_u_getstate __pyx_string_tab[177] -#define __pyx_n_u_global_dbg __pyx_string_tab[178] -#define __pyx_n_u_global_notify_skipped_step_in __pyx_string_tab[179] -#define __pyx_n_u_global_notify_skipped_step_in_l __pyx_string_tab[180] -#define __pyx_n_u_handle __pyx_string_tab[181] -#define __pyx_n_u_handle_breakpoint_condition __pyx_string_tab[182] -#define __pyx_n_u_handle_breakpoint_expression __pyx_string_tab[183] -#define __pyx_n_u_handle_exception __pyx_string_tab[184] -#define __pyx_n_u_has_breaks __pyx_string_tab[185] -#define __pyx_n_u_has_caught_exception_breakpoint __pyx_string_tab[186] -#define __pyx_n_u_has_condition __pyx_string_tab[187] -#define __pyx_n_u_has_plugin_exception_breaks __pyx_string_tab[188] -#define __pyx_n_u_has_plugin_line_breaks __pyx_string_tab[189] -#define __pyx_n_u_ident __pyx_string_tab[190] -#define __pyx_n_u_init __pyx_string_tab[191] -#define __pyx_n_u_instruction __pyx_string_tab[192] -#define __pyx_n_u_instruction_offset __pyx_string_tab[193] -#define __pyx_n_u_is_alive __pyx_string_tab[194] -#define __pyx_n_u_is_bootstrap_frame_internal __pyx_string_tab[195] -#define __pyx_n_u_is_coroutine __pyx_string_tab[196] -#define __pyx_n_u_is_done __pyx_string_tab[197] -#define __pyx_n_u_is_files_filter_enabled __pyx_string_tab[198] -#define __pyx_n_u_is_logpoint __pyx_string_tab[199] -#define __pyx_n_u_is_pydev_daemon_thread __pyx_string_tab[200] -#define __pyx_n_u_is_stopped __pyx_string_tab[201] -#define __pyx_n_u_is_tracked_frame __pyx_string_tab[202] -#define __pyx_n_u_is_unhandled_exception __pyx_string_tab[203] -#define __pyx_n_u_is_unwind __pyx_string_tab[204] -#define __pyx_n_u_items __pyx_string_tab[205] -#define __pyx_n_u_kwargs __pyx_string_tab[206] -#define __pyx_n_u_last_line __pyx_string_tab[207] -#define __pyx_n_u_line __pyx_string_tab[208] -#define __pyx_n_u_line_to_breakpoints __pyx_string_tab[209] -#define __pyx_n_u_line_to_offset __pyx_string_tab[210] -#define __pyx_n_u_linesep __pyx_string_tab[211] -#define __pyx_n_u_local __pyx_string_tab[212] -#define __pyx_n_u_main __pyx_string_tab[213] -#define __pyx_n_u_main_2 __pyx_string_tab[214] -#define __pyx_n_u_make_io_message __pyx_string_tab[215] -#define __pyx_n_u_max __pyx_string_tab[216] -#define __pyx_n_u_metaclass __pyx_string_tab[217] -#define __pyx_n_u_min __pyx_string_tab[218] -#define __pyx_n_u_module_2 __pyx_string_tab[219] -#define __pyx_n_u_monitor __pyx_string_tab[220] -#define __pyx_n_u_monitoring __pyx_string_tab[221] -#define __pyx_n_u_mtime __pyx_string_tab[222] -#define __pyx_n_u_name __pyx_string_tab[223] -#define __pyx_n_u_namedtuple __pyx_string_tab[224] -#define __pyx_n_u_new __pyx_string_tab[225] -#define __pyx_n_u_notify_skipped_step_in_because_o __pyx_string_tab[226] -#define __pyx_n_u_offset __pyx_string_tab[227] -#define __pyx_n_u_original_step_cmd __pyx_string_tab[228] -#define __pyx_n_u_os __pyx_string_tab[229] -#define __pyx_n_u_os_path __pyx_string_tab[230] -#define __pyx_n_u_os_thread_handle __pyx_string_tab[231] -#define __pyx_n_u_plugin __pyx_string_tab[232] -#define __pyx_n_u_pop __pyx_string_tab[233] -#define __pyx_n_u_prepare __pyx_string_tab[234] -#define __pyx_n_u_py_db __pyx_string_tab[235] -#define __pyx_n_u_pydb_disposed __pyx_string_tab[236] -#define __pyx_n_u_pydev_bundle __pyx_string_tab[237] -#define __pyx_n_u_pydev_bundle__pydev_saved_modul __pyx_string_tab[238] -#define __pyx_n_u_pydev_do_not_trace __pyx_string_tab[239] -#define __pyx_n_u_pydev_log __pyx_string_tab[240] -#define __pyx_n_u_pydev_monkey __pyx_string_tab[241] -#define __pyx_n_u_pydev_state __pyx_string_tab[242] -#define __pyx_n_u_pydev_step_cmd __pyx_string_tab[243] -#define __pyx_n_u_pydevd __pyx_string_tab[244] -#define __pyx_n_u_pydevd_bundle __pyx_string_tab[245] -#define __pyx_n_u_pydevd_bundle_pydevd_breakpoint __pyx_string_tab[246] -#define __pyx_n_u_pydevd_bundle_pydevd_bytecode_u __pyx_string_tab[247] -#define __pyx_n_u_pydevd_bundle_pydevd_constants __pyx_string_tab[248] -#define __pyx_n_u_pydevd_bundle_pydevd_trace_disp __pyx_string_tab[249] -#define __pyx_n_u_pydevd_bundle_pydevd_utils __pyx_string_tab[250] -#define __pyx_n_u_pydevd_dont_trace __pyx_string_tab[251] -#define __pyx_n_u_pydevd_file_utils __pyx_string_tab[252] -#define __pyx_n_u_pydevd_runpy __pyx_string_tab[253] -#define __pyx_n_u_pydevd_sys_monitoring_cython __pyx_string_tab[254] -#define __pyx_n_u_pyx_checksum __pyx_string_tab[255] -#define __pyx_n_u_pyx_result __pyx_string_tab[256] -#define __pyx_n_u_pyx_state __pyx_string_tab[257] -#define __pyx_n_u_pyx_type __pyx_string_tab[258] -#define __pyx_n_u_pyx_unpickle_FuncCodeInfo __pyx_string_tab[259] -#define __pyx_n_u_pyx_unpickle_ThreadInfo __pyx_string_tab[260] -#define __pyx_n_u_pyx_unpickle__CodeLineInfo __pyx_string_tab[261] -#define __pyx_n_u_pyx_unpickle__TryExceptContain __pyx_string_tab[262] -#define __pyx_n_u_pyx_vtable __pyx_string_tab[263] -#define __pyx_n_u_qualname __pyx_string_tab[264] -#define __pyx_n_u_re __pyx_string_tab[265] -#define __pyx_n_u_reduce __pyx_string_tab[266] -#define __pyx_n_u_reduce_cython __pyx_string_tab[267] -#define __pyx_n_u_reduce_ex __pyx_string_tab[268] -#define __pyx_n_u_ref __pyx_string_tab[269] -#define __pyx_n_u_register_callback __pyx_string_tab[270] -#define __pyx_n_u_required_events __pyx_string_tab[271] -#define __pyx_n_u_required_events_breakpoint __pyx_string_tab[272] -#define __pyx_n_u_required_events_stepping __pyx_string_tab[273] -#define __pyx_n_u_reset_thread_local_info __pyx_string_tab[274] -#define __pyx_n_u_restart_events __pyx_string_tab[275] -#define __pyx_n_u_return __pyx_string_tab[276] -#define __pyx_n_u_retval __pyx_string_tab[277] -#define __pyx_n_u_run __pyx_string_tab[278] -#define __pyx_n_u_run_2 __pyx_string_tab[279] -#define __pyx_n_u_runpy __pyx_string_tab[280] -#define __pyx_n_u_self __pyx_string_tab[281] -#define __pyx_n_u_set_events __pyx_string_tab[282] -#define __pyx_n_u_set_local_events __pyx_string_tab[283] -#define __pyx_n_u_set_name __pyx_string_tab[284] -#define __pyx_n_u_set_suspend __pyx_string_tab[285] -#define __pyx_n_u_set_trace_for_frame_and_parents __pyx_string_tab[286] -#define __pyx_n_u_setdefault __pyx_string_tab[287] -#define __pyx_n_u_setstate __pyx_string_tab[288] -#define __pyx_n_u_setstate_cython __pyx_string_tab[289] -#define __pyx_n_u_should_stop_on_exception __pyx_string_tab[290] -#define __pyx_n_u_should_trace_hook __pyx_string_tab[291] -#define __pyx_n_u_show_return_values __pyx_string_tab[292] -#define __pyx_n_u_splitext __pyx_string_tab[293] -#define __pyx_n_u_start __pyx_string_tab[294] -#define __pyx_n_u_start_monitoring __pyx_string_tab[295] -#define __pyx_n_u_startswith __pyx_string_tab[296] -#define __pyx_n_u_state __pyx_string_tab[297] -#define __pyx_n_u_stop __pyx_string_tab[298] -#define __pyx_n_u_stop_monitoring __pyx_string_tab[299] -#define __pyx_n_u_stop_on_unhandled_exception __pyx_string_tab[300] -#define __pyx_n_u_suspend __pyx_string_tab[301] -#define __pyx_n_u_suspend_other_threads __pyx_string_tab[302] -#define __pyx_n_u_suspend_policy __pyx_string_tab[303] -#define __pyx_n_u_suspend_requested __pyx_string_tab[304] -#define __pyx_n_u_sys __pyx_string_tab[305] -#define __pyx_n_u_sys_monitor __pyx_string_tab[306] -#define __pyx_n_u_t __pyx_string_tab[307] -#define __pyx_n_u_test __pyx_string_tab[308] -#define __pyx_n_u_thread __pyx_string_tab[309] -#define __pyx_n_u_thread_active __pyx_string_tab[310] -#define __pyx_n_u_thread_ident __pyx_string_tab[311] -#define __pyx_n_u_thread_info __pyx_string_tab[312] -#define __pyx_n_u_thread_local_info __pyx_string_tab[313] -#define __pyx_n_u_threading __pyx_string_tab[314] -#define __pyx_n_u_tident __pyx_string_tab[315] -#define __pyx_n_u_to_offset __pyx_string_tab[316] -#define __pyx_n_u_trace __pyx_string_tab[317] -#define __pyx_n_u_traceback __pyx_string_tab[318] -#define __pyx_n_u_track_dummy_thread_ref __pyx_string_tab[319] -#define __pyx_n_u_try_except_infos __pyx_string_tab[320] -#define __pyx_n_u_types __pyx_string_tab[321] -#define __pyx_n_u_typing __pyx_string_tab[322] -#define __pyx_n_u_update __pyx_string_tab[323] -#define __pyx_n_u_update_monitor_events __pyx_string_tab[324] -#define __pyx_n_u_use_setstate __pyx_string_tab[325] -#define __pyx_n_u_use_tool_id __pyx_string_tab[326] -#define __pyx_n_u_user_uncaught_exc_info __pyx_string_tab[327] -#define __pyx_n_u_values __pyx_string_tab[328] -#define __pyx_n_u_wrap __pyx_string_tab[329] -#define __pyx_n_u_writer __pyx_string_tab[330] -#define __pyx_kp_b_PyObject_PyObject_int___pyx_skip __pyx_string_tab[331] -#define __pyx_kp_b_iso88591_1F __pyx_string_tab[332] -#define __pyx_kp_b_iso88591_4AV1 __pyx_string_tab[333] -#define __pyx_kp_b_iso88591_5Q_YgWA __pyx_string_tab[334] -#define __pyx_kp_b_iso88591_6 __pyx_string_tab[335] -#define __pyx_kp_b_iso88591_A_G5_IYa_vWE_T_T_gQ_7_V4wc_1 __pyx_string_tab[336] -#define __pyx_kp_b_iso88591_A_Q_K_1_5Q __pyx_string_tab[337] -#define __pyx_kp_b_iso88591_A_a_T_j_4q_d_4z __pyx_string_tab[338] -#define __pyx_kp_b_iso88591_A_q __pyx_string_tab[339] -#define __pyx_kp_b_iso88591_A_q_A __pyx_string_tab[340] -#define __pyx_kp_b_iso88591_A_q_q __pyx_string_tab[341] -#define __pyx_kp_b_iso88591_EQ_wiq_S_vS_A_A_E_A_was_0_1_3a __pyx_string_tab[342] -#define __pyx_kp_b_iso88591_T_4_tCUUYYbbffuuyyz_G1F_a_vWE_Q __pyx_string_tab[343] -#define __pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_WA_q_7t1G_gUV __pyx_string_tab[344] -#define __pyx_kp_b_iso88591_T_T_tCVVZZrrv_w_J_J_N_N_n_n_r_r __pyx_string_tab[345] -#define __pyx_kp_b_iso88591_T_d_d_G1F_a_vWE_Q_q_t_7_q_d_7_W __pyx_string_tab[346] -#define __pyx_kp_b_iso88591__6 __pyx_string_tab[347] -#define __pyx_kp_b_iso88591__7 __pyx_string_tab[348] +#define __pyx_kp_u__2 __pyx_string_tab[0] +#define __pyx_kp_u_Helper_class_to_remove_a_dummy __pyx_string_tab[1] +#define __pyx_kp_u__4 __pyx_string_tab[2] +#define __pyx_kp_u_tree_fragment __pyx_string_tab[3] +#define __pyx_kp_u__5 __pyx_string_tab[4] +#define __pyx_kp_u_pyc __pyx_string_tab[5] +#define __pyx_kp_u_1 __pyx_string_tab[6] +#define __pyx_kp_u_frozen_runpy __pyx_string_tab[7] +#define __pyx_kp_u_module_2 __pyx_string_tab[8] +#define __pyx_kp_u_ __pyx_string_tab[9] +#define __pyx_kp_u_None __pyx_string_tab[10] +#define __pyx_kp_u_Not_the_same_exception __pyx_string_tab[11] +#define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[12] +#define __pyx_kp_u_Optional_bool __pyx_string_tab[13] +#define __pyx_kp_u_Stop_inside_ipython_call __pyx_string_tab[14] +#define __pyx_kp_u_IgnoreException __pyx_string_tab[15] +#define __pyx_kp_u_pydev_execfile_py __pyx_string_tab[16] +#define __pyx_kp_u_pydevd_sys_monitoring__pydevd_s __pyx_string_tab[17] +#define __pyx_kp_u_add_note __pyx_string_tab[18] +#define __pyx_kp_u_cfunc_to_py __pyx_string_tab[19] +#define __pyx_kp_u_disable __pyx_string_tab[20] +#define __pyx_kp_u_enable __pyx_string_tab[21] +#define __pyx_kp_u_gc __pyx_string_tab[22] +#define __pyx_kp_u_isenabled __pyx_string_tab[23] +#define __pyx_kp_u_pydevd_py __pyx_string_tab[24] +#define __pyx_kp_u_pydevd_traceproperty_py __pyx_string_tab[25] +#define __pyx_kp_u_python_function __pyx_string_tab[26] +#define __pyx_kp_u_python_line __pyx_string_tab[27] +#define __pyx_n_u_ALL __pyx_string_tab[28] +#define __pyx_n_u_Any __pyx_string_tab[29] +#define __pyx_n_u_CodeType __pyx_string_tab[30] +#define __pyx_n_u_DEBUGGER_ID __pyx_string_tab[31] +#define __pyx_n_u_DEBUG_START __pyx_string_tab[32] +#define __pyx_n_u_DEBUG_START_PY3K __pyx_string_tab[33] +#define __pyx_n_u_DISABLE __pyx_string_tab[34] +#define __pyx_n_u_Dict __pyx_string_tab[35] +#define __pyx_n_u_EXCEPTION_TYPE_HANDLED __pyx_string_tab[36] +#define __pyx_n_u_EXCEPTION_TYPE_USER_UNHANDLED __pyx_string_tab[37] +#define __pyx_n_u_ForkSafeLock __pyx_string_tab[38] +#define __pyx_n_u_FrameType __pyx_string_tab[39] +#define __pyx_n_u_FuncCodeInfo __pyx_string_tab[40] +#define __pyx_n_u_FuncCodeInfo___reduce_cython __pyx_string_tab[41] +#define __pyx_n_u_FuncCodeInfo___setstate_cython __pyx_string_tab[42] +#define __pyx_n_u_FuncCodeInfo_get_line_of_offset __pyx_string_tab[43] +#define __pyx_n_u_GlobalDebuggerHolder __pyx_string_tab[44] +#define __pyx_n_u_IGNORE_EXCEPTION_TAG __pyx_string_tab[45] +#define __pyx_n_u_IS_PY313_OR_GREATER __pyx_string_tab[46] +#define __pyx_n_u_JUMP __pyx_string_tab[47] +#define __pyx_n_u_LINE __pyx_string_tab[48] +#define __pyx_n_u_NORM_PATHS_AND_BASE_CONTAINER __pyx_string_tab[49] +#define __pyx_n_u_None __pyx_string_tab[50] +#define __pyx_n_u_Optional __pyx_string_tab[51] +#define __pyx_n_u_PYDEVD_IPYTHON_CONTEXT __pyx_string_tab[52] +#define __pyx_n_u_PYTHON_SUSPEND __pyx_string_tab[53] +#define __pyx_n_u_PY_RESUME __pyx_string_tab[54] +#define __pyx_n_u_PY_RETURN __pyx_string_tab[55] +#define __pyx_n_u_PY_START __pyx_string_tab[56] +#define __pyx_n_u_PY_UNWIND __pyx_string_tab[57] +#define __pyx_n_u_RAISE __pyx_string_tab[58] +#define __pyx_n_u_RETURN_VALUES_DICT __pyx_string_tab[59] +#define __pyx_n_u_TRACE_PROPERTY __pyx_string_tab[60] +#define __pyx_n_u_Thread __pyx_string_tab[61] +#define __pyx_n_u_ThreadInfo __pyx_string_tab[62] +#define __pyx_n_u_ThreadInfo___reduce_cython __pyx_string_tab[63] +#define __pyx_n_u_ThreadInfo___setstate_cython __pyx_string_tab[64] +#define __pyx_n_u_Tuple __pyx_string_tab[65] +#define __pyx_n_u_CodeLineInfo __pyx_string_tab[66] +#define __pyx_n_u_CodeLineInfo___reduce_cython __pyx_string_tab[67] +#define __pyx_n_u_CodeLineInfo___setstate_cython __pyx_string_tab[68] +#define __pyx_n_u_DeleteDummyThreadOnDel __pyx_string_tab[69] +#define __pyx_n_u_DeleteDummyThreadOnDel___del __pyx_string_tab[70] +#define __pyx_n_u_DeleteDummyThreadOnDel___init __pyx_string_tab[71] +#define __pyx_n_u_DummyThread __pyx_string_tab[72] +#define __pyx_n_u_TryExceptContainerObj __pyx_string_tab[73] +#define __pyx_n_u_TryExceptContainerObj___reduce __pyx_string_tab[74] +#define __pyx_n_u_TryExceptContainerObj___setstat __pyx_string_tab[75] +#define __pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy __pyx_string_tab[76] +#define __pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy_2 __pyx_string_tab[77] +#define __pyx_n_u_Pyx_CFunc_7f6725__29_pydevd_sy __pyx_string_tab[78] +#define __pyx_n_u_Pyx_CFunc_893235__29_pydevd_sy __pyx_string_tab[79] +#define __pyx_n_u_Pyx_CFunc_b0409f__29_pydevd_sy __pyx_string_tab[80] +#define __pyx_n_u_Pyx_PyDict_NextRef __pyx_string_tab[81] +#define __pyx_n_u_annotate __pyx_string_tab[82] +#define __pyx_n_u_bootstrap __pyx_string_tab[83] +#define __pyx_n_u_bootstrap_inner __pyx_string_tab[84] +#define __pyx_n_u_call __pyx_string_tab[85] +#define __pyx_n_u_class __pyx_string_tab[86] +#define __pyx_n_u_class_getitem __pyx_string_tab[87] +#define __pyx_n_u_del __pyx_string_tab[88] +#define __pyx_n_u_dict __pyx_string_tab[89] +#define __pyx_n_u_doc __pyx_string_tab[90] +#define __pyx_n_u_enter __pyx_string_tab[91] +#define __pyx_n_u_exit __pyx_string_tab[92] +#define __pyx_n_u_func __pyx_string_tab[93] +#define __pyx_n_u_getstate __pyx_string_tab[94] +#define __pyx_n_u_init __pyx_string_tab[95] +#define __pyx_n_u_main_2 __pyx_string_tab[96] +#define __pyx_n_u_metaclass __pyx_string_tab[97] +#define __pyx_n_u_module __pyx_string_tab[98] +#define __pyx_n_u_name __pyx_string_tab[99] +#define __pyx_n_u_new __pyx_string_tab[100] +#define __pyx_n_u_prepare __pyx_string_tab[101] +#define __pyx_n_u_pyx_checksum __pyx_string_tab[102] +#define __pyx_n_u_pyx_result __pyx_string_tab[103] +#define __pyx_n_u_pyx_state __pyx_string_tab[104] +#define __pyx_n_u_pyx_type __pyx_string_tab[105] +#define __pyx_n_u_pyx_unpickle_FuncCodeInfo __pyx_string_tab[106] +#define __pyx_n_u_pyx_unpickle_ThreadInfo __pyx_string_tab[107] +#define __pyx_n_u_pyx_unpickle__CodeLineInfo __pyx_string_tab[108] +#define __pyx_n_u_pyx_unpickle__TryExceptContain __pyx_string_tab[109] +#define __pyx_n_u_pyx_vtable __pyx_string_tab[110] +#define __pyx_n_u_qualname __pyx_string_tab[111] +#define __pyx_n_u_reduce __pyx_string_tab[112] +#define __pyx_n_u_reduce_cython __pyx_string_tab[113] +#define __pyx_n_u_reduce_ex __pyx_string_tab[114] +#define __pyx_n_u_set_name __pyx_string_tab[115] +#define __pyx_n_u_setstate __pyx_string_tab[116] +#define __pyx_n_u_setstate_cython __pyx_string_tab[117] +#define __pyx_n_u_test __pyx_string_tab[118] +#define __pyx_n_u_traceback __pyx_string_tab[119] +#define __pyx_n_u_active __pyx_string_tab[120] +#define __pyx_n_u_active_limbo_lock __pyx_string_tab[121] +#define __pyx_n_u_bootstrap_2 __pyx_string_tab[122] +#define __pyx_n_u_bootstrap_inner_2 __pyx_string_tab[123] +#define __pyx_n_u_code_to_func_code_info_cache __pyx_string_tab[124] +#define __pyx_n_u_dict_2 __pyx_string_tab[125] +#define __pyx_n_u_do_wait_suspend __pyx_string_tab[126] +#define __pyx_n_u_dummy_thread_2 __pyx_string_tab[127] +#define __pyx_n_u_ensure_monitoring __pyx_string_tab[128] +#define __pyx_n_u_exec __pyx_string_tab[129] +#define __pyx_n_u_get_func_code_info __pyx_string_tab[130] +#define __pyx_n_u_get_ident __pyx_string_tab[131] +#define __pyx_n_u_getframe __pyx_string_tab[132] +#define __pyx_n_u_global_notify_skipped_step_in __pyx_string_tab[133] +#define __pyx_n_u_global_notify_skipped_step_in_l __pyx_string_tab[134] +#define __pyx_n_u_handle __pyx_string_tab[135] +#define __pyx_n_u_is_coroutine __pyx_string_tab[136] +#define __pyx_n_u_is_stopped __pyx_string_tab[137] +#define __pyx_n_u_os_thread_handle __pyx_string_tab[138] +#define __pyx_n_u_pydev_bundle __pyx_string_tab[139] +#define __pyx_n_u_pydev_bundle__pydev_saved_modul __pyx_string_tab[140] +#define __pyx_n_u_pydevd_bundle __pyx_string_tab[141] +#define __pyx_n_u_pydevd_bundle_pydevd_breakpoint __pyx_string_tab[142] +#define __pyx_n_u_pydevd_bundle_pydevd_bytecode_u __pyx_string_tab[143] +#define __pyx_n_u_pydevd_bundle_pydevd_constants __pyx_string_tab[144] +#define __pyx_n_u_pydevd_bundle_pydevd_trace_disp __pyx_string_tab[145] +#define __pyx_n_u_pydevd_bundle_pydevd_utils __pyx_string_tab[146] +#define __pyx_n_u_pydevd_sys_monitoring_cython __pyx_string_tab[147] +#define __pyx_n_u_ref __pyx_string_tab[148] +#define __pyx_n_u_run_2 __pyx_string_tab[149] +#define __pyx_n_u_thread_active __pyx_string_tab[150] +#define __pyx_n_u_thread_local_info __pyx_string_tab[151] +#define __pyx_n_u_tident __pyx_string_tab[152] +#define __pyx_n_u_track_dummy_thread_ref __pyx_string_tab[153] +#define __pyx_n_u_user_uncaught_exc_info __pyx_string_tab[154] +#define __pyx_n_u_add_command __pyx_string_tab[155] +#define __pyx_n_u_additional_info __pyx_string_tab[156] +#define __pyx_n_u_all_threads __pyx_string_tab[157] +#define __pyx_n_u_apply_files_filter __pyx_string_tab[158] +#define __pyx_n_u_arg __pyx_string_tab[159] +#define __pyx_n_u_args __pyx_string_tab[160] +#define __pyx_n_u_asyncio_coroutines __pyx_string_tab[161] +#define __pyx_n_u_basename __pyx_string_tab[162] +#define __pyx_n_u_break_on_caught_exceptions __pyx_string_tab[163] +#define __pyx_n_u_break_on_uncaught_exceptions __pyx_string_tab[164] +#define __pyx_n_u_break_on_user_uncaught_exception __pyx_string_tab[165] +#define __pyx_n_u_breakpoints __pyx_string_tab[166] +#define __pyx_n_u_call_2 __pyx_string_tab[167] +#define __pyx_n_u_cfunc_to_py __pyx_string_tab[168] +#define __pyx_n_u_children_variants __pyx_string_tab[169] +#define __pyx_n_u_cline_in_traceback __pyx_string_tab[170] +#define __pyx_n_u_cmd_factory __pyx_string_tab[171] +#define __pyx_n_u_cmd_step_into __pyx_string_tab[172] +#define __pyx_n_u_cmd_step_over __pyx_string_tab[173] +#define __pyx_n_u_co_filename __pyx_string_tab[174] +#define __pyx_n_u_co_lines __pyx_string_tab[175] +#define __pyx_n_u_co_name __pyx_string_tab[176] +#define __pyx_n_u_code __pyx_string_tab[177] +#define __pyx_n_u_code_obj __pyx_string_tab[178] +#define __pyx_n_u_collect_try_except_info __pyx_string_tab[179] +#define __pyx_n_u_collections __pyx_string_tab[180] +#define __pyx_n_u_compile __pyx_string_tab[181] +#define __pyx_n_u_current_thread __pyx_string_tab[182] +#define __pyx_n_u_debug __pyx_string_tab[183] +#define __pyx_n_u_dis __pyx_string_tab[184] +#define __pyx_n_u_disable_code_tracing __pyx_string_tab[185] +#define __pyx_n_u_do_wait_suspend_2 __pyx_string_tab[186] +#define __pyx_n_u_dummy_thread __pyx_string_tab[187] +#define __pyx_n_u_enable_code_tracing __pyx_string_tab[188] +#define __pyx_n_u_end __pyx_string_tab[189] +#define __pyx_n_u_endswith __pyx_string_tab[190] +#define __pyx_n_u_enumerate __pyx_string_tab[191] +#define __pyx_n_u_event __pyx_string_tab[192] +#define __pyx_n_u_events __pyx_string_tab[193] +#define __pyx_n_u_exc __pyx_string_tab[194] +#define __pyx_n_u_exception __pyx_string_tab[195] +#define __pyx_n_u_execfile __pyx_string_tab[196] +#define __pyx_n_u_expression __pyx_string_tab[197] +#define __pyx_n_u_f_back __pyx_string_tab[198] +#define __pyx_n_u_f_bootstrap __pyx_string_tab[199] +#define __pyx_n_u_f_code __pyx_string_tab[200] +#define __pyx_n_u_f_disable_next_line_if_match __pyx_string_tab[201] +#define __pyx_n_u_f_lasti __pyx_string_tab[202] +#define __pyx_n_u_f_lineno __pyx_string_tab[203] +#define __pyx_n_u_f_locals __pyx_string_tab[204] +#define __pyx_n_u_f_reported_unhandled_exc_tag __pyx_string_tab[205] +#define __pyx_n_u_f_unhandled_exc __pyx_string_tab[206] +#define __pyx_n_u_f_unhandled_frame __pyx_string_tab[207] +#define __pyx_n_u_file_to_line_to_breakpoints __pyx_string_tab[208] +#define __pyx_n_u_findlinestarts __pyx_string_tab[209] +#define __pyx_n_u_first_line __pyx_string_tab[210] +#define __pyx_n_u_frame __pyx_string_tab[211] +#define __pyx_n_u_frame_or_depth __pyx_string_tab[212] +#define __pyx_n_u_free_tool_id __pyx_string_tab[213] +#define __pyx_n_u_from_offset __pyx_string_tab[214] +#define __pyx_n_u_function_breakpoint_name_to_brea __pyx_string_tab[215] +#define __pyx_n_u_get __pyx_string_tab[216] +#define __pyx_n_u_get_abs_path_real_path_and_base __pyx_string_tab[217] +#define __pyx_n_u_get_abs_path_real_path_and_base_2 __pyx_string_tab[218] +#define __pyx_n_u_get_breakpoint __pyx_string_tab[219] +#define __pyx_n_u_get_cache_file_type __pyx_string_tab[220] +#define __pyx_n_u_get_clsname_for_code __pyx_string_tab[221] +#define __pyx_n_u_get_file_type __pyx_string_tab[222] +#define __pyx_n_u_get_ident_2 __pyx_string_tab[223] +#define __pyx_n_u_get_line_of_offset __pyx_string_tab[224] +#define __pyx_n_u_get_local_events __pyx_string_tab[225] +#define __pyx_n_u_get_smart_step_into_variant_from __pyx_string_tab[226] +#define __pyx_n_u_get_tool __pyx_string_tab[227] +#define __pyx_n_u_global_dbg __pyx_string_tab[228] +#define __pyx_n_u_handle_breakpoint_condition __pyx_string_tab[229] +#define __pyx_n_u_handle_breakpoint_expression __pyx_string_tab[230] +#define __pyx_n_u_handle_exception __pyx_string_tab[231] +#define __pyx_n_u_has_breaks __pyx_string_tab[232] +#define __pyx_n_u_has_caught_exception_breakpoint __pyx_string_tab[233] +#define __pyx_n_u_has_condition __pyx_string_tab[234] +#define __pyx_n_u_has_plugin_exception_breaks __pyx_string_tab[235] +#define __pyx_n_u_has_plugin_line_breaks __pyx_string_tab[236] +#define __pyx_n_u_ident __pyx_string_tab[237] +#define __pyx_n_u_instruction __pyx_string_tab[238] +#define __pyx_n_u_instruction_offset __pyx_string_tab[239] +#define __pyx_n_u_is_alive __pyx_string_tab[240] +#define __pyx_n_u_is_bootstrap_frame_internal __pyx_string_tab[241] +#define __pyx_n_u_is_done __pyx_string_tab[242] +#define __pyx_n_u_is_files_filter_enabled __pyx_string_tab[243] +#define __pyx_n_u_is_logpoint __pyx_string_tab[244] +#define __pyx_n_u_is_pydev_daemon_thread __pyx_string_tab[245] +#define __pyx_n_u_is_tracked_frame __pyx_string_tab[246] +#define __pyx_n_u_is_unhandled_exception __pyx_string_tab[247] +#define __pyx_n_u_is_unwind __pyx_string_tab[248] +#define __pyx_n_u_items __pyx_string_tab[249] +#define __pyx_n_u_kwargs __pyx_string_tab[250] +#define __pyx_n_u_last_line __pyx_string_tab[251] +#define __pyx_n_u_line __pyx_string_tab[252] +#define __pyx_n_u_line_to_breakpoints __pyx_string_tab[253] +#define __pyx_n_u_line_to_offset __pyx_string_tab[254] +#define __pyx_n_u_linesep __pyx_string_tab[255] +#define __pyx_n_u_local __pyx_string_tab[256] +#define __pyx_n_u_main __pyx_string_tab[257] +#define __pyx_n_u_make_io_message __pyx_string_tab[258] +#define __pyx_n_u_max __pyx_string_tab[259] +#define __pyx_n_u_min __pyx_string_tab[260] +#define __pyx_n_u_monitor __pyx_string_tab[261] +#define __pyx_n_u_monitoring __pyx_string_tab[262] +#define __pyx_n_u_mtime __pyx_string_tab[263] +#define __pyx_n_u_namedtuple __pyx_string_tab[264] +#define __pyx_n_u_notify_skipped_step_in_because_o __pyx_string_tab[265] +#define __pyx_n_u_offset __pyx_string_tab[266] +#define __pyx_n_u_original_step_cmd __pyx_string_tab[267] +#define __pyx_n_u_os __pyx_string_tab[268] +#define __pyx_n_u_os_path __pyx_string_tab[269] +#define __pyx_n_u_plugin __pyx_string_tab[270] +#define __pyx_n_u_pop __pyx_string_tab[271] +#define __pyx_n_u_py_db __pyx_string_tab[272] +#define __pyx_n_u_pydb_disposed __pyx_string_tab[273] +#define __pyx_n_u_pydev_do_not_trace __pyx_string_tab[274] +#define __pyx_n_u_pydev_log __pyx_string_tab[275] +#define __pyx_n_u_pydev_monkey __pyx_string_tab[276] +#define __pyx_n_u_pydev_state __pyx_string_tab[277] +#define __pyx_n_u_pydev_step_cmd __pyx_string_tab[278] +#define __pyx_n_u_pydevd __pyx_string_tab[279] +#define __pyx_n_u_pydevd_dont_trace __pyx_string_tab[280] +#define __pyx_n_u_pydevd_file_utils __pyx_string_tab[281] +#define __pyx_n_u_pydevd_runpy __pyx_string_tab[282] +#define __pyx_n_u_re __pyx_string_tab[283] +#define __pyx_n_u_register_callback __pyx_string_tab[284] +#define __pyx_n_u_required_events __pyx_string_tab[285] +#define __pyx_n_u_required_events_breakpoint __pyx_string_tab[286] +#define __pyx_n_u_required_events_stepping __pyx_string_tab[287] +#define __pyx_n_u_reset_thread_local_info __pyx_string_tab[288] +#define __pyx_n_u_restart_events __pyx_string_tab[289] +#define __pyx_n_u_return __pyx_string_tab[290] +#define __pyx_n_u_retval __pyx_string_tab[291] +#define __pyx_n_u_run __pyx_string_tab[292] +#define __pyx_n_u_runpy __pyx_string_tab[293] +#define __pyx_n_u_self __pyx_string_tab[294] +#define __pyx_n_u_set_events __pyx_string_tab[295] +#define __pyx_n_u_set_local_events __pyx_string_tab[296] +#define __pyx_n_u_set_suspend __pyx_string_tab[297] +#define __pyx_n_u_set_trace_for_frame_and_parents __pyx_string_tab[298] +#define __pyx_n_u_setdefault __pyx_string_tab[299] +#define __pyx_n_u_should_stop_on_exception __pyx_string_tab[300] +#define __pyx_n_u_should_trace_hook __pyx_string_tab[301] +#define __pyx_n_u_show_return_values __pyx_string_tab[302] +#define __pyx_n_u_splitext __pyx_string_tab[303] +#define __pyx_n_u_start __pyx_string_tab[304] +#define __pyx_n_u_start_monitoring __pyx_string_tab[305] +#define __pyx_n_u_startswith __pyx_string_tab[306] +#define __pyx_n_u_state __pyx_string_tab[307] +#define __pyx_n_u_stop __pyx_string_tab[308] +#define __pyx_n_u_stop_monitoring __pyx_string_tab[309] +#define __pyx_n_u_stop_on_unhandled_exception __pyx_string_tab[310] +#define __pyx_n_u_suspend __pyx_string_tab[311] +#define __pyx_n_u_suspend_other_threads __pyx_string_tab[312] +#define __pyx_n_u_suspend_policy __pyx_string_tab[313] +#define __pyx_n_u_suspend_requested __pyx_string_tab[314] +#define __pyx_n_u_sys __pyx_string_tab[315] +#define __pyx_n_u_sys_monitor __pyx_string_tab[316] +#define __pyx_n_u_t __pyx_string_tab[317] +#define __pyx_n_u_thread __pyx_string_tab[318] +#define __pyx_n_u_thread_ident __pyx_string_tab[319] +#define __pyx_n_u_thread_info __pyx_string_tab[320] +#define __pyx_n_u_threading __pyx_string_tab[321] +#define __pyx_n_u_to_offset __pyx_string_tab[322] +#define __pyx_n_u_trace __pyx_string_tab[323] +#define __pyx_n_u_try_except_infos __pyx_string_tab[324] +#define __pyx_n_u_types __pyx_string_tab[325] +#define __pyx_n_u_typing __pyx_string_tab[326] +#define __pyx_n_u_update __pyx_string_tab[327] +#define __pyx_n_u_update_monitor_events __pyx_string_tab[328] +#define __pyx_n_u_use_setstate __pyx_string_tab[329] +#define __pyx_n_u_use_tool_id __pyx_string_tab[330] +#define __pyx_n_u_values __pyx_string_tab[331] +#define __pyx_n_u_wrap __pyx_string_tab[332] +#define __pyx_n_u_writer __pyx_string_tab[333] +#define __pyx_kp_b_PyObject_PyObject_int___pyx_skip __pyx_string_tab[334] +#define __pyx_kp_b_iso88591_q __pyx_string_tab[335] +#define __pyx_kp_b_iso88591_6 __pyx_string_tab[336] +#define __pyx_kp_b_iso88591_1F __pyx_string_tab[337] +#define __pyx_kp_b_iso88591_4AV1 __pyx_string_tab[338] +#define __pyx_kp_b_iso88591_q_0_kQR_XQa_7_A_1 __pyx_string_tab[339] +#define __pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1 __pyx_string_tab[340] +#define __pyx_kp_b_iso88591_q_0_kQR_7_q0_a_1 __pyx_string_tab[341] +#define __pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1 __pyx_string_tab[342] +#define __pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_WA_q_7t1G_gUV_7 __pyx_string_tab[343] +#define __pyx_kp_b_iso88591_l_a_q_l_vWE_Q_q_t_7_q_d_7_WA_d __pyx_string_tab[344] +#define __pyx_kp_b_iso88591_t_C4GYY_ffjjyy_q_l_vWE_Q_q_t_G5 __pyx_string_tab[345] +#define __pyx_kp_b_iso88591_C4GZZ_vvz_N_N_R_R_r_r_v_v_D_D_H __pyx_string_tab[346] +#define __pyx_kp_b_iso88591_5Q_YgWA __pyx_string_tab[347] +#define __pyx_kp_b_iso88591_t7_1A_1M_Q_a __pyx_string_tab[348] #define __pyx_kp_b_iso88591_a_A __pyx_string_tab[349] -#define __pyx_kp_b_iso88591_q __pyx_string_tab[350] -#define __pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1 __pyx_string_tab[351] -#define __pyx_kp_b_iso88591_q_0_kQR_7_q0_a_1 __pyx_string_tab[352] -#define __pyx_kp_b_iso88591_q_0_kQR_XQa_7_A_1 __pyx_string_tab[353] -#define __pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1 __pyx_string_tab[354] -#define __pyx_kp_b_iso88591_q_7_1G_A_awnA_Qm7_A_Qm7_Q_Qm7_Q __pyx_string_tab[355] -#define __pyx_kp_b_iso88591_q_gQ_4wiq_q_Q_A_6_3a_9A __pyx_string_tab[356] -#define __pyx_kp_b_iso88591_t7_1A_1M_Q_a __pyx_string_tab[357] -#define __pyx_kp_b_iso88591_vS_S_Q_q_6avQ_Q_q_aq_7_Q_1_4AQ __pyx_string_tab[358] -#define __pyx_kp_b_iso88591_vS_q_2_aq_gQ_S_Q_1_A_A_fD_a_1_Q __pyx_string_tab[359] +#define __pyx_kp_b_iso88591__6 __pyx_string_tab[350] +#define __pyx_kp_b_iso88591_vS_q_2_aq_gQ_S_Q_1_A_A_fD_a_1_Q __pyx_string_tab[351] +#define __pyx_kp_b_iso88591_vS_S_Q_q_6avQ_Q_q_aq_7_Q_1_4AQ __pyx_string_tab[352] +#define __pyx_kp_b_iso88591_A_G5_IYa_vWE_T_T_gQ_7_V4wc_1 __pyx_string_tab[353] +#define __pyx_kp_b_iso88591_A_Q_K_1_5Q __pyx_string_tab[354] +#define __pyx_kp_b_iso88591_A_q __pyx_string_tab[355] +#define __pyx_kp_b_iso88591_A_a_T_j_4q_d_4z __pyx_string_tab[356] +#define __pyx_kp_b_iso88591_A_q_q __pyx_string_tab[357] +#define __pyx_kp_b_iso88591_A_q_A __pyx_string_tab[358] +#define __pyx_kp_b_iso88591__7 __pyx_string_tab[359] +#define __pyx_kp_b_iso88591_EQ_wiq_S_vS_A_A_E_A_was_0_1_3a __pyx_string_tab[360] +#define __pyx_kp_b_iso88591_q_7_1G_A_awnA_Qm7_A_Qm7_Q_Qm7_Q __pyx_string_tab[361] +#define __pyx_kp_b_iso88591_q_gQ_4wiq_q_Q_A_6_3a_9A __pyx_string_tab[362] #define __pyx_int_0 __pyx_number_tab[0] #define __pyx_int_neg_1 __pyx_number_tab[1] #define __pyx_int_1 __pyx_number_tab[2] @@ -3500,17 +4120,21 @@ static CYTHON_SMALL_CODE int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset); Py_CLEAR(clear_module_state->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval); Py_CLEAR(clear_module_state->__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval); - Py_CLEAR(clear_module_state->__pyx_k__2); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_get.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_items.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_pop.method); + Py_CLEAR(clear_module_state->__pyx_umethod_PyDict_Type_values.method); + Py_CLEAR(clear_module_state->__pyx_k__3); for (int i=0; i<1; ++i) { Py_CLEAR(clear_module_state->__pyx_slice[i]); } - for (int i=0; i<7; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); } + for (int i=0; i<10; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); } for (int i=0; i<31; ++i) { Py_CLEAR(clear_module_state->__pyx_codeobj_tab[i]); } - for (int i=0; i<360; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); } + for (int i=0; i<363; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); } for (int i=0; i<17; ++i) { Py_CLEAR(clear_module_state->__pyx_number_tab[i]); } /* #### Code section: module_state_clear_contents ### */ /* CommonTypesMetaclass.module_state_clear */ Py_CLEAR(clear_module_state->__pyx_CommonTypesMetaclassType); -/* CythonFunctionShared.module_state_clear */ +/* CythonFunctionPerModule.module_state_clear */ Py_CLEAR(clear_module_state->__pyx_CyFunctionType); /* #### Code section: module_state_clear_end ### */ @@ -3547,17 +4171,21 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void Py_VISIT(traverse_module_state->__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset); Py_VISIT(traverse_module_state->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval); Py_VISIT(traverse_module_state->__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval); - Py_VISIT(traverse_module_state->__pyx_k__2); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_get.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_items.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_pop.method); + Py_VISIT(traverse_module_state->__pyx_umethod_PyDict_Type_values.method); + Py_VISIT(traverse_module_state->__pyx_k__3); for (int i=0; i<1; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_slice[i]); } - for (int i=0; i<7; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); } + for (int i=0; i<10; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); } for (int i=0; i<31; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_codeobj_tab[i]); } - for (int i=0; i<360; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); } + for (int i=0; i<363; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); } for (int i=0; i<17; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_number_tab[i]); } /* #### Code section: module_state_traverse_contents ### */ /* CommonTypesMetaclass.module_state_traverse */ Py_VISIT(traverse_module_state->__pyx_CommonTypesMetaclassType); -/* CythonFunctionShared.module_state_traverse */ +/* CythonFunctionPerModule.module_state_traverse */ Py_VISIT(traverse_module_state->__pyx_CyFunctionType); /* #### Code section: module_state_traverse_end ### */ @@ -3566,7 +4194,7 @@ return 0; #endif /* #### Code section: module_code ### */ -/* "cfunc.to_py":67 +/* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object exc): # <<<<<<<<<<<<<< @@ -3576,7 +4204,7 @@ return 0; /* Python wrapper */ static PyObject *__pyx_pw_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -3585,7 +4213,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_wrap, "wrap(code, instruction, exc)"); static PyMethodDef __pyx_mdef_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap = {"wrap", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_wrap}; static PyObject *__pyx_pw_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -3594,7 +4222,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_code = 0; PyObject *__pyx_v_instruction = 0; PyObject *__pyx_v_exc = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -3605,7 +4233,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("wrap (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -3616,38 +4244,38 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_instruction,&__pyx_mstate_global->__pyx_n_u_exc,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 67, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 86, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 67, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 86, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 3; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 67, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 86, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) } __pyx_v_code = values[0]; __pyx_v_instruction = values[1]; @@ -3655,7 +4283,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 67, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 86, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -3689,21 +4317,27 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - /* "cfunc.to_py":69 + /* "cfunc.to_py":88 * def wrap(object code, object instruction, object exc): * """wrap(code, instruction, exc)""" * return f(code, instruction, exc) # <<<<<<<<<<<<<< * return wrap * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction, __pyx_v_exc); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 69, __pyx_L1_error) + __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction, __pyx_v_exc); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; - /* "cfunc.to_py":67 + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object exc): # <<<<<<<<<<<<<< @@ -3722,7 +4356,7 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys return __pyx_r; } -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") # <<<<<<<<<<<<<< @@ -3744,36 +4378,44 @@ static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lPa if (unlikely(!__pyx_cur_scope)) { __pyx_cur_scope = ((struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(1, 65, __pyx_L1_error) + __PYX_ERR(1, 84, __pyx_L1_error) } else { __Pyx_GOTREF((PyObject *)__pyx_cur_scope); } __pyx_cur_scope->__pyx_v_f = __pyx_v_f; - /* "cfunc.to_py":67 + + + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object exc): # <<<<<<<<<<<<<< * """wrap(code, instruction, exc)""" * return f(code, instruction, exc) */ - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 67, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; - /* "cfunc.to_py":70 + /* "cfunc.to_py":89 * """wrap(code, instruction, exc)""" * return f(code, instruction, exc) * return wrap # <<<<<<<<<<<<<< * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_wrap); - __pyx_r = __pyx_v_wrap; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_wrap); + __pyx_r = __pyx_v_wrap; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "cfunc.to_py":65 + /* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc") # <<<<<<<<<<<<<< @@ -3794,7 +4436,7 @@ static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lPa return __pyx_r; } -/* "cfunc.to_py":67 +/* "cfunc.to_py":86 * @cname("__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset") * cdef object __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(object (*f)(object, object) ): * def wrap(object code, object instruction_offset): # <<<<<<<<<<<<<< @@ -3804,7 +4446,7 @@ static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lPa /* Python wrapper */ static PyObject *__pyx_pw_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -3813,7 +4455,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_wrap, "wrap(code, instruction_offset)"); static PyMethodDef __pyx_mdef_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap = {"wrap", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_wrap}; static PyObject *__pyx_pw_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -3821,7 +4463,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_code = 0; PyObject *__pyx_v_instruction_offset = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -3832,7 +4474,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("wrap (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -3843,39 +4485,39 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_instruction_offset,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 67, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 86, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 67, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 86, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 2; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, i); __PYX_ERR(1, 67, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, i); __PYX_ERR(1, 86, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) } __pyx_v_code = values[0]; __pyx_v_instruction_offset = values[1]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, __pyx_nargs); __PYX_ERR(1, 67, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, __pyx_nargs); __PYX_ERR(1, 86, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -3909,21 +4551,27 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - /* "cfunc.to_py":69 + /* "cfunc.to_py":88 * def wrap(object code, object instruction_offset): * """wrap(code, instruction_offset)""" * return f(code, instruction_offset) # <<<<<<<<<<<<<< * return wrap * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 69, __pyx_L1_error) + __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; - /* "cfunc.to_py":67 + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset") * cdef object __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(object (*f)(object, object) ): * def wrap(object code, object instruction_offset): # <<<<<<<<<<<<<< @@ -3942,7 +4590,7 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys return __pyx_r; } -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset") # <<<<<<<<<<<<<< @@ -3964,36 +4612,44 @@ static PyObject *__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lPa if (unlikely(!__pyx_cur_scope)) { __pyx_cur_scope = ((struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(1, 65, __pyx_L1_error) + __PYX_ERR(1, 84, __pyx_L1_error) } else { __Pyx_GOTREF((PyObject *)__pyx_cur_scope); } __pyx_cur_scope->__pyx_v_f = __pyx_v_f; - /* "cfunc.to_py":67 + + + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset") * cdef object __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(object (*f)(object, object) ): * def wrap(object code, object instruction_offset): # <<<<<<<<<<<<<< * """wrap(code, instruction_offset)""" * return f(code, instruction_offset) */ - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_893235__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 67, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_893235__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; - /* "cfunc.to_py":70 + /* "cfunc.to_py":89 * """wrap(code, instruction_offset)""" * return f(code, instruction_offset) * return wrap # <<<<<<<<<<<<<< * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_wrap); - __pyx_r = __pyx_v_wrap; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_wrap); + __pyx_r = __pyx_v_wrap; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "cfunc.to_py":65 + /* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset") # <<<<<<<<<<<<<< @@ -4014,7 +4670,7 @@ static PyObject *__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lPa return __pyx_r; } -/* "cfunc.to_py":67 +/* "cfunc.to_py":86 * @cname("__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line") * cdef object __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(object (*f)(object, int) ): * def wrap(object code, int line): # <<<<<<<<<<<<<< @@ -4024,16 +4680,16 @@ static PyObject *__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lPa /* Python wrapper */ static PyObject *__pyx_pw_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_wrap, "wrap(code, line: 'int')"); +PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_wrap, "wrap(code, line: \047int\047)"); static PyMethodDef __pyx_mdef_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap = {"wrap", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_wrap}; static PyObject *__pyx_pw_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4041,7 +4697,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_code = 0; int __pyx_v_line; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -4052,7 +4708,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("wrap (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -4063,39 +4719,39 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_line,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 67, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 86, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 67, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 86, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 2; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, i); __PYX_ERR(1, 67, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, i); __PYX_ERR(1, 86, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) } __pyx_v_code = values[0]; - __pyx_v_line = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 67, __pyx_L3_error) + __pyx_v_line = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 86, __pyx_L3_error) } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, __pyx_nargs); __PYX_ERR(1, 67, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("wrap", 1, 2, 2, __pyx_nargs); __PYX_ERR(1, 86, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -4112,6 +4768,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4129,21 +4786,27 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_ __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - /* "cfunc.to_py":69 + /* "cfunc.to_py":88 * def wrap(object code, int line): * """wrap(code, line: 'int')""" * return f(code, line) # <<<<<<<<<<<<<< * return wrap * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 69, __pyx_L1_error) + __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; - /* "cfunc.to_py":67 + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line") * cdef object __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(object (*f)(object, int) ): * def wrap(object code, int line): # <<<<<<<<<<<<<< @@ -4162,7 +4825,7 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_ return __pyx_r; } -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line") # <<<<<<<<<<<<<< @@ -4184,36 +4847,44 @@ static PyObject *__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lPa if (unlikely(!__pyx_cur_scope)) { __pyx_cur_scope = ((struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(1, 65, __pyx_L1_error) + __PYX_ERR(1, 84, __pyx_L1_error) } else { __Pyx_GOTREF((PyObject *)__pyx_cur_scope); } __pyx_cur_scope->__pyx_v_f = __pyx_v_f; - /* "cfunc.to_py":67 + + + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line") * cdef object __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(object (*f)(object, int) ): * def wrap(object code, int line): # <<<<<<<<<<<<<< * """wrap(code, line: 'int')""" * return f(code, line) */ - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_b0409f__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[2])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 67, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_89__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_b0409f__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[2])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; - /* "cfunc.to_py":70 + /* "cfunc.to_py":89 * """wrap(code, line: 'int')""" * return f(code, line) * return wrap # <<<<<<<<<<<<<< * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_wrap); - __pyx_r = __pyx_v_wrap; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_wrap); + __pyx_r = __pyx_v_wrap; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "cfunc.to_py":65 + /* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line") # <<<<<<<<<<<<<< @@ -4234,7 +4905,7 @@ static PyObject *__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lPa return __pyx_r; } -/* "cfunc.to_py":67 +/* "cfunc.to_py":86 * @cname("__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset") * cdef object __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(object (*f)(object, int, int) ): * def wrap(object code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -4244,16 +4915,16 @@ static PyObject *__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lPa /* Python wrapper */ static PyObject *__pyx_pw_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_wrap, "wrap(code, from_offset: 'int', to_offset: 'int')"); +PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_wrap, "wrap(code, from_offset: \047int\047, to_offset: \047int\047)"); static PyMethodDef __pyx_mdef_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap = {"wrap", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_wrap}; static PyObject *__pyx_pw_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4262,7 +4933,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_code = 0; int __pyx_v_from_offset; int __pyx_v_to_offset; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -4273,7 +4944,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("wrap (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -4284,46 +4955,46 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_from_offset,&__pyx_mstate_global->__pyx_n_u_to_offset,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 67, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 86, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 67, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 86, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 3; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 67, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 86, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) } __pyx_v_code = values[0]; - __pyx_v_from_offset = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_from_offset == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 67, __pyx_L3_error) - __pyx_v_to_offset = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_to_offset == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 67, __pyx_L3_error) + __pyx_v_from_offset = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_from_offset == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 86, __pyx_L3_error) + __pyx_v_to_offset = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_to_offset == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 86, __pyx_L3_error) } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 67, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 86, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -4340,6 +5011,8 @@ PyObject *__pyx_args, PyObject *__pyx_kwds for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -4357,21 +5030,27 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - /* "cfunc.to_py":69 + /* "cfunc.to_py":88 * def wrap(object code, int from_offset, int to_offset): * """wrap(code, from_offset: 'int', to_offset: 'int')""" * return f(code, from_offset, to_offset) # <<<<<<<<<<<<<< * return wrap * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_from_offset, __pyx_v_to_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 69, __pyx_L1_error) + __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_from_offset, __pyx_v_to_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; - /* "cfunc.to_py":67 + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset") * cdef object __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(object (*f)(object, int, int) ): * def wrap(object code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -4390,7 +5069,7 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys return __pyx_r; } -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset") # <<<<<<<<<<<<<< @@ -4412,36 +5091,44 @@ static PyObject *__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lPa if (unlikely(!__pyx_cur_scope)) { __pyx_cur_scope = ((struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(1, 65, __pyx_L1_error) + __PYX_ERR(1, 84, __pyx_L1_error) } else { __Pyx_GOTREF((PyObject *)__pyx_cur_scope); } __pyx_cur_scope->__pyx_v_f = __pyx_v_f; - /* "cfunc.to_py":67 + + + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset") * cdef object __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(object (*f)(object, int, int) ): * def wrap(object code, int from_offset, int to_offset): # <<<<<<<<<<<<<< * """wrap(code, from_offset: 'int', to_offset: 'int')""" * return f(code, from_offset, to_offset) */ - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_7f6725__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[3])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 67, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_108__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_7f6725__29_pydevd_sy, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[3])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; - /* "cfunc.to_py":70 + /* "cfunc.to_py":89 * """wrap(code, from_offset: 'int', to_offset: 'int')""" * return f(code, from_offset, to_offset) * return wrap # <<<<<<<<<<<<<< * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_wrap); - __pyx_r = __pyx_v_wrap; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_wrap); + __pyx_r = __pyx_v_wrap; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "cfunc.to_py":65 + /* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset") # <<<<<<<<<<<<<< @@ -4462,7 +5149,7 @@ static PyObject *__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lPa return __pyx_r; } -/* "cfunc.to_py":67 +/* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object retval): # <<<<<<<<<<<<<< @@ -4472,7 +5159,7 @@ static PyObject *__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lPa /* Python wrapper */ static PyObject *__pyx_pw_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4481,7 +5168,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_wrap, "wrap(code, instruction, retval)"); static PyMethodDef __pyx_mdef_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap = {"wrap", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_wrap}; static PyObject *__pyx_pw_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -4490,7 +5177,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_code = 0; PyObject *__pyx_v_instruction = 0; PyObject *__pyx_v_retval = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -4501,7 +5188,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("wrap (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -4512,38 +5199,38 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_instruction,&__pyx_mstate_global->__pyx_n_u_retval,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 67, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 86, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 67, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "wrap", 0) < (0)) __PYX_ERR(1, 86, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 3; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 67, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, i); __PYX_ERR(1, 86, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 86, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(1, 86, __pyx_L3_error) values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 67, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(1, 86, __pyx_L3_error) } __pyx_v_code = values[0]; __pyx_v_instruction = values[1]; @@ -4551,7 +5238,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 67, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("wrap", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 86, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -4585,21 +5272,27 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys __pyx_outer_scope = (struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval *) __Pyx_CyFunction_GetClosure(__pyx_self); __pyx_cur_scope = __pyx_outer_scope; - /* "cfunc.to_py":69 + /* "cfunc.to_py":88 * def wrap(object code, object instruction, object retval): * """wrap(code, instruction, retval)""" * return f(code, instruction, retval) # <<<<<<<<<<<<<< * return wrap * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction, __pyx_v_retval); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 69, __pyx_L1_error) + __pyx_t_1 = __pyx_cur_scope->__pyx_v_f(__pyx_v_code, __pyx_v_instruction, __pyx_v_retval); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 88, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; - /* "cfunc.to_py":67 + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object retval): # <<<<<<<<<<<<<< @@ -4618,7 +5311,7 @@ static PyObject *__pyx_pf_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys return __pyx_r; } -/* "cfunc.to_py":65 +/* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval") # <<<<<<<<<<<<<< @@ -4640,36 +5333,44 @@ static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lPa if (unlikely(!__pyx_cur_scope)) { __pyx_cur_scope = ((struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval *)Py_None); __Pyx_INCREF(Py_None); - __PYX_ERR(1, 65, __pyx_L1_error) + __PYX_ERR(1, 84, __pyx_L1_error) } else { __Pyx_GOTREF((PyObject *)__pyx_cur_scope); } __pyx_cur_scope->__pyx_v_f = __pyx_v_f; - /* "cfunc.to_py":67 + + + /* "cfunc.to_py":86 * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval") * cdef object __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(object (*f)(object, object, object) ): * def wrap(object code, object instruction, object retval): # <<<<<<<<<<<<<< * """wrap(code, instruction, retval)""" * return f(code, instruction, retval) */ - __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy_2, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 67, __pyx_L1_error) + __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_11cfunc_dot_to_py_105__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_1wrap, 0, __pyx_mstate_global->__pyx_n_u_Pyx_CFunc_4904d5__29_pydevd_sy_2, ((PyObject*)__pyx_cur_scope), __pyx_mstate_global->__pyx_n_u_cfunc_to_py, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 86, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_wrap = __pyx_t_1; __pyx_t_1 = 0; - /* "cfunc.to_py":70 + /* "cfunc.to_py":89 * """wrap(code, instruction, retval)""" * return f(code, instruction, retval) * return wrap # <<<<<<<<<<<<<< * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_wrap); - __pyx_r = __pyx_v_wrap; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_wrap); + __pyx_r = __pyx_v_wrap; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "cfunc.to_py":65 + /* "cfunc.to_py":84 * * * @cname("__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval") # <<<<<<<<<<<<<< @@ -4718,7 +5419,7 @@ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_1get_smart_step_into_v const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return NULL; if (__pyx_kwds_len > 0) { - if (unlikely(__Pyx_CheckKeywordStrings("get_smart_step_into_variant_from_frame_offset", __pyx_kwds) == -1)) return NULL; + if (unlikely(__Pyx_CheckKeywordStrings(__pyx_kwds) == -1)) return NULL; } __Pyx_INCREF(__pyx_args); __pyx_v_args = __pyx_args; @@ -4743,8 +5444,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_get_smart_step_into_va * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "_pydevd_sys_monitoring_cython.pyx":56 @@ -4850,6 +5557,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_10) { + /* "_pydevd_sys_monitoring_cython.pyx":111 * # Check with lock in place (callers should actually have checked * # before without the lock in place due to performance). @@ -4857,8 +5565,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in * _global_notify_skipped_step_in = True * py_db.notify_skipped_step_in_because_of_filters(frame) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L11_try_return; /* "_pydevd_sys_monitoring_cython.pyx":108 @@ -4921,8 +5635,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_4 = PyTuple_Pack(3, __pyx_t_1, __pyx_t_3, __pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_4); + { + PyObject* __pyx_temp[3] = {__pyx_t_1, __pyx_t_3, __pyx_t_5}; + __pyx_t_4 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_4); + } __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_4, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -4932,7 +5649,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; if (__pyx_t_10 < (0)) __PYX_ERR(0, 107, __pyx_L9_except_error) __pyx_t_12 = (!__pyx_t_10); + + if (unlikely(__pyx_t_12)) { + __Pyx_GIVEREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_3); __Pyx_XGIVEREF(__pyx_t_5); @@ -5053,7 +5773,6 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ * # ELSE * # _getframe = sys._getframe */ - __Pyx_XDECREF(__pyx_r); __pyx_t_2 = NULL; __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_sys); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 122, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -5080,7 +5799,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 122, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -5166,7 +5892,6 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * except: * frame = _getframe(depth) */ - __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 137, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_bootstrap); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 137, __pyx_L3_error) @@ -5185,7 +5910,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 137, __pyx_L3_error); __pyx_t_5 = 0; __pyx_t_6 = 0; - __pyx_r = __pyx_t_4; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L7_try_return; @@ -5258,6 +5990,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ while (1) { __pyx_t_9 = (__pyx_v_f_bootstrap != Py_None); + if (!__pyx_t_9) break; /* "_pydevd_sys_monitoring_cython.pyx":144 @@ -5329,7 +6062,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 145, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_11 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 145, __pyx_L5_except_error) + __pyx_t_11 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 145, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_11); @@ -5342,9 +6075,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. */ - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 147, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 147, __pyx_L5_except_error) if (__pyx_t_9) { + /* "_pydevd_sys_monitoring_cython.pyx":148 * * if name == "threading": @@ -5357,19 +6091,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 148, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) if (!__pyx_t_16) { + } else { + __pyx_t_9 = __pyx_t_16; + goto __pyx_L15_bool_binop_done; } - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) + __pyx_t_9 = __pyx_t_16; + __pyx_L15_bool_binop_done:; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_16 = __pyx_t_9; + + if (__pyx_t_16) { + /* "_pydevd_sys_monitoring_cython.pyx":150 * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. @@ -5377,9 +6119,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -5406,25 +6154,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 152, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) if (!__pyx_t_9) { + } else { + __pyx_t_16 = __pyx_t_9; + goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) if (!__pyx_t_9) { + } else { + __pyx_t_16 = __pyx_t_9; + goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_is_alive, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_16 = __pyx_t_9; + __pyx_L17_bool_binop_done:; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_9 = __pyx_t_16; + + if (__pyx_t_9) { + /* "_pydevd_sys_monitoring_cython.pyx":154 * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. @@ -5469,9 +6228,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * if f_bootstrap.f_code.co_name == "__call__": * is_bootstrap_frame_internal = True */ - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 157, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 157, __pyx_L5_except_error) if (__pyx_t_9) { + /* "_pydevd_sys_monitoring_cython.pyx":158 * * elif name == "pydev_monkey": @@ -5484,10 +6244,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 158, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 158, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 158, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_9) { + /* "_pydevd_sys_monitoring_cython.pyx":159 * elif name == "pydev_monkey": * if f_bootstrap.f_code.co_name == "__call__": @@ -5532,9 +6293,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * if f_bootstrap.f_code.co_name in ("run", "main"): * # We need to get to _exec */ - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 162, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 162, __pyx_L5_except_error) if (__pyx_t_9) { + /* "_pydevd_sys_monitoring_cython.pyx":163 * * elif name == "pydevd": @@ -5547,19 +6309,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 163, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_run, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 163, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_run, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 163, __pyx_L5_except_error) if (!__pyx_t_16) { + } else { + __pyx_t_9 = __pyx_t_16; + goto __pyx_L22_bool_binop_done; } - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_main, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 163, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_main, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 163, __pyx_L5_except_error) + __pyx_t_9 = __pyx_t_16; + __pyx_L22_bool_binop_done:; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_16 = __pyx_t_9; + + if (__pyx_t_16) { + /* "_pydevd_sys_monitoring_cython.pyx":165 * if f_bootstrap.f_code.co_name in ("run", "main"): * # We need to get to _exec @@ -5567,9 +6337,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * * if f_bootstrap.f_code.co_name == "_exec": */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); - __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_tuple[1]); + __pyx_r = __pyx_mstate_global->__pyx_tuple[1]; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -5596,10 +6372,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 167, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __pyx_t_16 = (__Pyx_PyUnicode_Equals(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 167, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 167, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_16) { + /* "_pydevd_sys_monitoring_cython.pyx":168 * * if f_bootstrap.f_code.co_name == "_exec": @@ -5650,6 +6427,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_16) { + /* "_pydevd_sys_monitoring_cython.pyx":172 * * elif f_bootstrap.f_back is None: @@ -5693,6 +6471,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_16 = (__pyx_v_f_bootstrap != Py_None); if (__pyx_t_16) { + /* "_pydevd_sys_monitoring_cython.pyx":177 * * if f_bootstrap is not None: @@ -5727,7 +6506,6 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * * return f_bootstrap, is_bootstrap_frame_internal */ - __Pyx_XDECREF(__pyx_r); __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 179, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_f_bootstrap); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 179, __pyx_L5_except_error) @@ -5746,7 +6524,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 179, __pyx_L5_except_error); __pyx_t_10 = 0; __pyx_t_12 = 0; - __pyx_r = __pyx_t_11; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_11; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -5769,7 +6554,6 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_11 = __Pyx_PyBool_FromLong(__pyx_v_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 181, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 181, __pyx_L5_except_error) @@ -5780,7 +6564,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_GIVEREF(__pyx_t_11); if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_11) != (0)) __PYX_ERR(0, 181, __pyx_L5_except_error); __pyx_t_11 = 0; - __pyx_r = __pyx_t_12; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_12; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -5839,6 +6630,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_L0:; __Pyx_XDECREF(__pyx_v_frame); __Pyx_XDECREF(__pyx_v_f_bootstrap); + __Pyx_XDECREF(__pyx_v_filename); __Pyx_XDECREF(__pyx_v_name); __Pyx_XGIVEREF(__pyx_r); @@ -5867,16 +6659,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; int __pyx_t_6; - size_t __pyx_t_7; - PyObject *__pyx_t_8 = NULL; + int __pyx_t_7; + size_t __pyx_t_8; PyObject *__pyx_t_9 = NULL; PyObject *__pyx_t_10 = NULL; - struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11; - int __pyx_t_12; - PyObject *__pyx_t_13 = NULL; + PyObject *__pyx_t_11 = NULL; + struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12; + int __pyx_t_13; PyObject *__pyx_t_14 = NULL; PyObject *__pyx_t_15 = NULL; PyObject *__pyx_t_16 = NULL; + PyObject *__pyx_t_17 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -5886,8 +6679,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< - * # Unhandled frame has to be from the same exception. - * if _thread_local_info.f_unhandled_exc is exc: + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: + * return None */ { __Pyx_PyThreadState_declare @@ -5898,40 +6691,163 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":193 + /* "_pydevd_sys_monitoring_cython.pyx":192 + * # fmt: on + * try: + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: # <<<<<<<<<<<<<< + * return None + * except AttributeError: +*/ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 192, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_reported_unhandled_exc_tag); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 192, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_6 = (__pyx_t_5 == __pyx_v_exc); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_6) { + + + /* "_pydevd_sys_monitoring_cython.pyx":193 + * try: + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: + * return None # <<<<<<<<<<<<<< + * except AttributeError: + * pass +*/ + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } + goto __pyx_L7_try_return; + + /* "_pydevd_sys_monitoring_cython.pyx":192 + * # fmt: on + * try: + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: # <<<<<<<<<<<<<< + * return None + * except AttributeError: +*/ + } + + /* "_pydevd_sys_monitoring_cython.pyx":191 + * # ENDIF + * # fmt: on + * try: # <<<<<<<<<<<<<< + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: + * return None +*/ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L8_try_end; + __pyx_L3_error:; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":194 + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: + * return None + * except AttributeError: # <<<<<<<<<<<<<< + * pass + * +*/ + __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_AttributeError)))); + if (__pyx_t_7) { + __Pyx_ErrRestore(0,0,0); + goto __pyx_L4_exception_handled; + } + goto __pyx_L5_except_error; + + /* "_pydevd_sys_monitoring_cython.pyx":191 + * # ENDIF + * # fmt: on + * try: # <<<<<<<<<<<<<< + * if _thread_local_info.f_reported_unhandled_exc_tag is exc: + * return None +*/ + __pyx_L5_except_error:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L1_error; + __pyx_L7_try_return:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L0; + __pyx_L4_exception_handled:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + __pyx_L8_try_end:; + } + + /* "_pydevd_sys_monitoring_cython.pyx":197 + * pass + * + * try: # <<<<<<<<<<<<<< + * # Unhandled frame has to be from the same exception. + * if _thread_local_info.f_unhandled_exc is exc: +*/ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_2, &__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_1); + /*try:*/ { + + /* "_pydevd_sys_monitoring_cython.pyx":199 * try: * # Unhandled frame has to be from the same exception. * if _thread_local_info.f_unhandled_exc is exc: # <<<<<<<<<<<<<< * return _thread_local_info.f_unhandled_frame * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 193, __pyx_L3_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 193, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 199, __pyx_L12_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_6 = (__pyx_t_5 == __pyx_v_exc); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 199, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_6 = (__pyx_t_4 == __pyx_v_exc); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (likely(__pyx_t_6)) { - /* "_pydevd_sys_monitoring_cython.pyx":194 + + /* "_pydevd_sys_monitoring_cython.pyx":200 * # Unhandled frame has to be from the same exception. * if _thread_local_info.f_unhandled_exc is exc: * return _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<< * else: * del _thread_local_info.f_unhandled_frame */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 194, __pyx_L3_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 194, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 200, __pyx_L12_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; - goto __pyx_L7_try_return; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 200, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_5 = 0; + goto __pyx_L16_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":193 + /* "_pydevd_sys_monitoring_cython.pyx":199 * try: * # Unhandled frame has to be from the same exception. * if _thread_local_info.f_unhandled_exc is exc: # <<<<<<<<<<<<<< @@ -5940,7 +6856,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":196 + /* "_pydevd_sys_monitoring_cython.pyx":202 * return _thread_local_info.f_unhandled_frame * else: * del _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<< @@ -5948,57 +6864,57 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio * raise AttributeError('Not the same exception') */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 196, __pyx_L3_error) - __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame) < (0)) __PYX_ERR(0, 196, __pyx_L3_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 202, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_5); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame) < (0)) __PYX_ERR(0, 202, __pyx_L12_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":197 + /* "_pydevd_sys_monitoring_cython.pyx":203 * else: * del _thread_local_info.f_unhandled_frame * del _thread_local_info.f_unhandled_exc # <<<<<<<<<<<<<< * raise AttributeError('Not the same exception') * except: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 197, __pyx_L3_error) - __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc) < (0)) __PYX_ERR(0, 197, __pyx_L3_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 203, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_5); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc) < (0)) __PYX_ERR(0, 203, __pyx_L12_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":198 + /* "_pydevd_sys_monitoring_cython.pyx":204 * del _thread_local_info.f_unhandled_frame * del _thread_local_info.f_unhandled_exc * raise AttributeError('Not the same exception') # <<<<<<<<<<<<<< * except: * f_unhandled = _getframe(depth) */ - __pyx_t_5 = NULL; - __pyx_t_7 = 1; + __pyx_t_4 = NULL; + __pyx_t_8 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_mstate_global->__pyx_kp_u_Not_the_same_exception}; - __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 198, __pyx_L3_error) - __Pyx_GOTREF(__pyx_t_4); + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_mstate_global->__pyx_kp_u_Not_the_same_exception}; + __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 204, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_5); } - __Pyx_Raise(__pyx_t_4, 0, 0, 0); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __PYX_ERR(0, 198, __pyx_L3_error) + __Pyx_Raise(__pyx_t_5, 0, 0, 0); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __PYX_ERR(0, 204, __pyx_L12_error) } - /* "_pydevd_sys_monitoring_cython.pyx":191 - * # ENDIF - * # fmt: on + /* "_pydevd_sys_monitoring_cython.pyx":197 + * pass + * * try: # <<<<<<<<<<<<<< * # Unhandled frame has to be from the same exception. * if _thread_local_info.f_unhandled_exc is exc: */ } - __pyx_L3_error:; + __pyx_L12_error:; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":199 + /* "_pydevd_sys_monitoring_cython.pyx":205 * del _thread_local_info.f_unhandled_exc * raise AttributeError('Not the same exception') * except: # <<<<<<<<<<<<<< @@ -6007,29 +6923,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_unhandled_exception_frame", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_8) < 0) __PYX_ERR(0, 199, __pyx_L5_except_error) - __Pyx_XGOTREF(__pyx_t_4); + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_9) < 0) __PYX_ERR(0, 205, __pyx_L14_except_error) __Pyx_XGOTREF(__pyx_t_5); - __Pyx_XGOTREF(__pyx_t_8); + __Pyx_XGOTREF(__pyx_t_4); + __Pyx_XGOTREF(__pyx_t_9); - /* "_pydevd_sys_monitoring_cython.pyx":200 + /* "_pydevd_sys_monitoring_cython.pyx":206 * raise AttributeError('Not the same exception') * except: * f_unhandled = _getframe(depth) # <<<<<<<<<<<<<< * * while f_unhandled is not None and f_unhandled.f_back is not None: */ - __pyx_t_9 = __Pyx_PyLong_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 200, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_11.__pyx_n = 1; - __pyx_t_11.depth = __pyx_t_9; - __pyx_t_10 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 200, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 206, __pyx_L14_except_error) __Pyx_GOTREF(__pyx_t_10); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_v_f_unhandled = __pyx_t_10; - __pyx_t_10 = 0; + __pyx_t_12.__pyx_n = 1; + __pyx_t_12.depth = __pyx_t_10; + __pyx_t_11 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_12); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 206, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_v_f_unhandled = __pyx_t_11; + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":202 + /* "_pydevd_sys_monitoring_cython.pyx":208 * f_unhandled = _getframe(depth) * * while f_unhandled is not None and f_unhandled.f_back is not None: # <<<<<<<<<<<<<< @@ -6037,170 +6953,194 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio * filename = f_back.f_code.co_filename */ while (1) { - __pyx_t_12 = (__pyx_v_f_unhandled != Py_None); - if (__pyx_t_12) { + __pyx_t_13 = (__pyx_v_f_unhandled != Py_None); + if (__pyx_t_13) { + } else { - __pyx_t_6 = __pyx_t_12; - goto __pyx_L14_bool_binop_done; + + __pyx_t_6 = __pyx_t_13; + + goto __pyx_L23_bool_binop_done; } - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 202, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); - __pyx_t_12 = (__pyx_t_10 != Py_None); - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_6 = __pyx_t_12; - __pyx_L14_bool_binop_done:; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 208, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_13 = (__pyx_t_11 != Py_None); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + + __pyx_t_6 = __pyx_t_13; + + __pyx_L23_bool_binop_done:; + if (!__pyx_t_6) break; - /* "_pydevd_sys_monitoring_cython.pyx":203 + /* "_pydevd_sys_monitoring_cython.pyx":209 * * while f_unhandled is not None and f_unhandled.f_back is not None: * f_back = f_unhandled.f_back # <<<<<<<<<<<<<< * filename = f_back.f_code.co_filename * name = splitext(basename(filename))[0] */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 203, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); - __Pyx_XDECREF_SET(__pyx_v_f_back, __pyx_t_10); - __pyx_t_10 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 209, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_XDECREF_SET(__pyx_v_f_back, __pyx_t_11); + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":204 + /* "_pydevd_sys_monitoring_cython.pyx":210 * while f_unhandled is not None and f_unhandled.f_back is not None: * f_back = f_unhandled.f_back * filename = f_back.f_code.co_filename # <<<<<<<<<<<<<< * name = splitext(basename(filename))[0] * */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 204, __pyx_L5_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 210, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 210, __pyx_L14_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 204, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_9); - __pyx_t_9 = 0; + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_10); + __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":205 + /* "_pydevd_sys_monitoring_cython.pyx":211 * f_back = f_unhandled.f_back * filename = f_back.f_code.co_filename * name = splitext(basename(filename))[0] # <<<<<<<<<<<<<< * * # When the back frame is the bootstrap (or if we have no back */ - __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_splitext); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 205, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_15 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_16, __pyx_mstate_global->__pyx_n_u_basename); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 205, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_16); - __pyx_t_7 = 1; + __pyx_t_11 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_splitext); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 211, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_16 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_17, __pyx_mstate_global->__pyx_n_u_basename); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 211, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_17); + __pyx_t_8 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_16))) { - __pyx_t_15 = PyMethod_GET_SELF(__pyx_t_16); - assert(__pyx_t_15); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_16); - __Pyx_INCREF(__pyx_t_15); + if (unlikely(PyMethod_Check(__pyx_t_17))) { + __pyx_t_16 = PyMethod_GET_SELF(__pyx_t_17); + assert(__pyx_t_16); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_17); + __Pyx_INCREF(__pyx_t_16); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_16, __pyx__function); - __pyx_t_7 = 0; + __Pyx_DECREF_SET(__pyx_t_17, __pyx__function); + __pyx_t_8 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_15, __pyx_v_filename}; - __pyx_t_14 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_16, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; - __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; - if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 205, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_14); + PyObject *__pyx_callargs[2] = {__pyx_t_16, __pyx_v_filename}; + __pyx_t_15 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_17, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_16); __pyx_t_16 = 0; + __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0; + if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 211, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_15); } - __pyx_t_7 = 1; + __pyx_t_8 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_13))) { - __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_13); - assert(__pyx_t_10); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_13); - __Pyx_INCREF(__pyx_t_10); + if (unlikely(PyMethod_Check(__pyx_t_14))) { + __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_14); + assert(__pyx_t_11); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_14); + __Pyx_INCREF(__pyx_t_11); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_13, __pyx__function); - __pyx_t_7 = 0; + __Pyx_DECREF_SET(__pyx_t_14, __pyx__function); + __pyx_t_8 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_14}; - __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_13, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_t_15}; + __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 205, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 211, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_13 = __Pyx_GetItemInt(__pyx_t_9, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 205, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_13); - __pyx_t_13 = 0; + __pyx_t_14 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 211, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_14); + __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":209 + /* "_pydevd_sys_monitoring_cython.pyx":215 * # When the back frame is the bootstrap (or if we have no back * # frame) then use this frame as the one to track. * if name == "threading": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break */ - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_threading, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 215, __pyx_L14_except_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":210 + + /* "_pydevd_sys_monitoring_cython.pyx":216 * # frame) then use this frame as the one to track. * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): # <<<<<<<<<<<<<< * break * */ - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 210, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 210, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - if (!__pyx_t_12) { + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 216, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 216, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 216, __pyx_L14_except_error) + if (!__pyx_t_13) { + } else { - __pyx_t_6 = __pyx_t_12; - goto __pyx_L18_bool_binop_done; + + __pyx_t_6 = __pyx_t_13; + + goto __pyx_L27_bool_binop_done; } - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - if (!__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap_2, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 216, __pyx_L14_except_error) + if (!__pyx_t_13) { + } else { - __pyx_t_6 = __pyx_t_12; - goto __pyx_L18_bool_binop_done; + + __pyx_t_6 = __pyx_t_13; + + goto __pyx_L27_bool_binop_done; } - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - if (!__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 216, __pyx_L14_except_error) + if (!__pyx_t_13) { + } else { - __pyx_t_6 = __pyx_t_12; - goto __pyx_L18_bool_binop_done; + + __pyx_t_6 = __pyx_t_13; + + goto __pyx_L27_bool_binop_done; } - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - if (!__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 216, __pyx_L14_except_error) + if (!__pyx_t_13) { + } else { - __pyx_t_6 = __pyx_t_12; - goto __pyx_L18_bool_binop_done; + + __pyx_t_6 = __pyx_t_13; + + goto __pyx_L27_bool_binop_done; } - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_run, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - __pyx_t_6 = __pyx_t_12; - __pyx_L18_bool_binop_done:; - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_12 = __pyx_t_6; - if (__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_run, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 216, __pyx_L14_except_error) + + __pyx_t_6 = __pyx_t_13; + + __pyx_L27_bool_binop_done:; + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_13 = __pyx_t_6; + + + if (__pyx_t_13) { + - /* "_pydevd_sys_monitoring_cython.pyx":211 + /* "_pydevd_sys_monitoring_cython.pyx":217 * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break # <<<<<<<<<<<<<< * * elif name == "pydev_monkey": */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":210 + /* "_pydevd_sys_monitoring_cython.pyx":216 * # frame) then use this frame as the one to track. * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): # <<<<<<<<<<<<<< @@ -6209,52 +7149,54 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":209 + /* "_pydevd_sys_monitoring_cython.pyx":215 * # When the back frame is the bootstrap (or if we have no back * # frame) then use this frame as the one to track. * if name == "threading": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break */ - goto __pyx_L16; + goto __pyx_L25; } - /* "_pydevd_sys_monitoring_cython.pyx":213 + /* "_pydevd_sys_monitoring_cython.pyx":219 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< * if f_back.f_code.co_name == "__call__": * break */ - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 213, __pyx_L5_except_error) - if (__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydev_monkey, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 219, __pyx_L14_except_error) + if (__pyx_t_13) { + - /* "_pydevd_sys_monitoring_cython.pyx":214 + /* "_pydevd_sys_monitoring_cython.pyx":220 * * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<< * break * */ - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 214, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 214, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 214, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (__pyx_t_12) { + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 220, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 220, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 220, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + if (__pyx_t_13) { + - /* "_pydevd_sys_monitoring_cython.pyx":215 + /* "_pydevd_sys_monitoring_cython.pyx":221 * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": * break # <<<<<<<<<<<<<< * * elif name == "pydevd": */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":214 + /* "_pydevd_sys_monitoring_cython.pyx":220 * * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<< @@ -6263,67 +7205,79 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":213 + /* "_pydevd_sys_monitoring_cython.pyx":219 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< * if f_back.f_code.co_name == "__call__": * break */ - goto __pyx_L16; + goto __pyx_L25; } - /* "_pydevd_sys_monitoring_cython.pyx":217 + /* "_pydevd_sys_monitoring_cython.pyx":223 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("_exec", "run", "main"): * break */ - __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 217, __pyx_L5_except_error) - if (__pyx_t_12) { + __pyx_t_13 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 223, __pyx_L14_except_error) + if (__pyx_t_13) { + - /* "_pydevd_sys_monitoring_cython.pyx":218 + /* "_pydevd_sys_monitoring_cython.pyx":224 * * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<< * break * */ - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 218, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 218, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 218, __pyx_L5_except_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 224, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 224, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 224, __pyx_L14_except_error) if (!__pyx_t_6) { + } else { - __pyx_t_12 = __pyx_t_6; - goto __pyx_L25_bool_binop_done; + + __pyx_t_13 = __pyx_t_6; + + goto __pyx_L34_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_run, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 218, __pyx_L5_except_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_run, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 224, __pyx_L14_except_error) if (!__pyx_t_6) { + } else { - __pyx_t_12 = __pyx_t_6; - goto __pyx_L25_bool_binop_done; + + __pyx_t_13 = __pyx_t_6; + + goto __pyx_L34_bool_binop_done; } - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_main, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 218, __pyx_L5_except_error) - __pyx_t_12 = __pyx_t_6; - __pyx_L25_bool_binop_done:; - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_t_6 = __pyx_t_12; + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_main, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 224, __pyx_L14_except_error) + + __pyx_t_13 = __pyx_t_6; + + __pyx_L34_bool_binop_done:; + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_6 = __pyx_t_13; + + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":219 + + /* "_pydevd_sys_monitoring_cython.pyx":225 * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): * break # <<<<<<<<<<<<<< * * elif name == "pydevd_runpy": */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":218 + /* "_pydevd_sys_monitoring_cython.pyx":224 * * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<< @@ -6332,63 +7286,65 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":217 + /* "_pydevd_sys_monitoring_cython.pyx":223 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("_exec", "run", "main"): * break */ - goto __pyx_L16; + goto __pyx_L25; } - /* "_pydevd_sys_monitoring_cython.pyx":221 + /* "_pydevd_sys_monitoring_cython.pyx":227 * break * * elif name == "pydevd_runpy": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 221, __pyx_L5_except_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_pydevd_runpy, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 227, __pyx_L14_except_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":222 + + /* "_pydevd_sys_monitoring_cython.pyx":228 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 222, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_14); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 222, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); - __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_13 = __pyx_t_10; - __Pyx_INCREF(__pyx_t_13); - __pyx_t_7 = 0; + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 228, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_15); + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 228, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + __pyx_t_14 = __pyx_t_11; + __Pyx_INCREF(__pyx_t_14); + __pyx_t_8 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_13, __pyx_mstate_global->__pyx_tuple[2]}; - __pyx_t_9 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 222, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_mstate_global->__pyx_tuple[2]}; + __pyx_t_10 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 228, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 222, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 228, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":223 + + /* "_pydevd_sys_monitoring_cython.pyx":229 * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): * break # <<<<<<<<<<<<<< * * elif name == "": */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":222 + /* "_pydevd_sys_monitoring_cython.pyx":228 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< @@ -6397,63 +7353,65 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":221 + /* "_pydevd_sys_monitoring_cython.pyx":227 * break * * elif name == "pydevd_runpy": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - goto __pyx_L16; + goto __pyx_L25; } - /* "_pydevd_sys_monitoring_cython.pyx":225 + /* "_pydevd_sys_monitoring_cython.pyx":231 * break * * elif name == "": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u_frozen_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 225, __pyx_L5_except_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_kp_u_frozen_runpy, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 231, __pyx_L14_except_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":226 + + /* "_pydevd_sys_monitoring_cython.pyx":232 * * elif name == "": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 226, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 226, __pyx_L5_except_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 232, __pyx_L14_except_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - __pyx_t_10 = __pyx_t_14; - __Pyx_INCREF(__pyx_t_10); - __pyx_t_7 = 0; + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 232, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + __pyx_t_11 = __pyx_t_15; + __Pyx_INCREF(__pyx_t_11); + __pyx_t_8 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_mstate_global->__pyx_tuple[2]}; - __pyx_t_9 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 226, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_mstate_global->__pyx_tuple[2]}; + __pyx_t_10 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 232, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 226, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 232, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":227 + + /* "_pydevd_sys_monitoring_cython.pyx":233 * elif name == "": * if f_back.f_code.co_name.startswith(("run", "_run")): * break # <<<<<<<<<<<<<< * * elif name == "runpy": */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":226 + /* "_pydevd_sys_monitoring_cython.pyx":232 * * elif name == "": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< @@ -6462,63 +7420,65 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":225 + /* "_pydevd_sys_monitoring_cython.pyx":231 * break * * elif name == "": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - goto __pyx_L16; + goto __pyx_L25; } - /* "_pydevd_sys_monitoring_cython.pyx":229 + /* "_pydevd_sys_monitoring_cython.pyx":235 * break * * elif name == "runpy": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 229, __pyx_L5_except_error) + __pyx_t_6 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_runpy, Py_EQ); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 235, __pyx_L14_except_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":230 + + /* "_pydevd_sys_monitoring_cython.pyx":236 * * elif name == "runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 230, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 230, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_14 = __pyx_t_13; - __Pyx_INCREF(__pyx_t_14); - __pyx_t_7 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 236, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 236, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_15 = __pyx_t_14; + __Pyx_INCREF(__pyx_t_15); + __pyx_t_8 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_mstate_global->__pyx_tuple[2]}; - __pyx_t_9 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 230, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); + PyObject *__pyx_callargs[2] = {__pyx_t_15, __pyx_mstate_global->__pyx_tuple[2]}; + __pyx_t_10 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_startswith, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 236, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 230, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 236, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":231 + + /* "_pydevd_sys_monitoring_cython.pyx":237 * elif name == "runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): * break # <<<<<<<<<<<<<< * * f_unhandled = f_back */ - goto __pyx_L13_break; + goto __pyx_L22_break; - /* "_pydevd_sys_monitoring_cython.pyx":230 + /* "_pydevd_sys_monitoring_cython.pyx":236 * * elif name == "runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< @@ -6527,7 +7487,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":229 + /* "_pydevd_sys_monitoring_cython.pyx":235 * break * * elif name == "runpy": # <<<<<<<<<<<<<< @@ -6535,9 +7495,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio * break */ } - __pyx_L16:; + __pyx_L25:; - /* "_pydevd_sys_monitoring_cython.pyx":233 + /* "_pydevd_sys_monitoring_cython.pyx":239 * break * * f_unhandled = f_back # <<<<<<<<<<<<<< @@ -6547,9 +7507,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __Pyx_INCREF(__pyx_v_f_back); __Pyx_DECREF_SET(__pyx_v_f_unhandled, __pyx_v_f_back); } - __pyx_L13_break:; + __pyx_L22_break:; - /* "_pydevd_sys_monitoring_cython.pyx":235 + /* "_pydevd_sys_monitoring_cython.pyx":241 * f_unhandled = f_back * * if f_unhandled is not None: # <<<<<<<<<<<<<< @@ -6559,51 +7519,58 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __pyx_t_6 = (__pyx_v_f_unhandled != Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":236 + + /* "_pydevd_sys_monitoring_cython.pyx":242 * * if f_unhandled is not None: * _thread_local_info.f_unhandled_frame = f_unhandled # <<<<<<<<<<<<<< * _thread_local_info.f_unhandled_exc = exc * return _thread_local_info.f_unhandled_frame */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 236, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame, __pyx_v_f_unhandled) < (0)) __PYX_ERR(0, 236, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 242, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame, __pyx_v_f_unhandled) < (0)) __PYX_ERR(0, 242, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":237 + /* "_pydevd_sys_monitoring_cython.pyx":243 * if f_unhandled is not None: * _thread_local_info.f_unhandled_frame = f_unhandled * _thread_local_info.f_unhandled_exc = exc # <<<<<<<<<<<<<< * return _thread_local_info.f_unhandled_frame * */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 237, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc, __pyx_v_exc) < (0)) __PYX_ERR(0, 237, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 243, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc, __pyx_v_exc) < (0)) __PYX_ERR(0, 243, __pyx_L14_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":238 + /* "_pydevd_sys_monitoring_cython.pyx":244 * _thread_local_info.f_unhandled_frame = f_unhandled * _thread_local_info.f_unhandled_exc = exc * return _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<< * * return f_unhandled */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 238, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 238, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_r = __pyx_t_13; - __pyx_t_13 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 244, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 244, __pyx_L14_except_error) + __Pyx_GOTREF(__pyx_t_14); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_14; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - goto __pyx_L6_except_return; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + goto __pyx_L15_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":235 + /* "_pydevd_sys_monitoring_cython.pyx":241 * f_unhandled = f_back * * if f_unhandled is not None: # <<<<<<<<<<<<<< @@ -6612,46 +7579,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":240 + /* "_pydevd_sys_monitoring_cython.pyx":246 * return _thread_local_info.f_unhandled_frame * * return f_unhandled # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_f_unhandled); - __pyx_r = __pyx_v_f_unhandled; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_f_unhandled); + __pyx_r = __pyx_v_f_unhandled; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - goto __pyx_L6_except_return; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + goto __pyx_L15_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":191 - * # ENDIF - * # fmt: on + /* "_pydevd_sys_monitoring_cython.pyx":197 + * pass + * * try: # <<<<<<<<<<<<<< * # Unhandled frame has to be from the same exception. * if _thread_local_info.f_unhandled_exc is exc: */ - __pyx_L5_except_error:; - __Pyx_XGIVEREF(__pyx_t_1); - __Pyx_XGIVEREF(__pyx_t_2); + __pyx_L14_except_error:; __Pyx_XGIVEREF(__pyx_t_3); - __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); - goto __pyx_L1_error; - __pyx_L7_try_return:; - __Pyx_XGIVEREF(__pyx_t_1); __Pyx_XGIVEREF(__pyx_t_2); - __Pyx_XGIVEREF(__pyx_t_3); - __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); - goto __pyx_L0; - __pyx_L6_except_return:; __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_1); + goto __pyx_L1_error; + __pyx_L16_try_return:; + __Pyx_XGIVEREF(__pyx_t_3); __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_1); + goto __pyx_L0; + __pyx_L15_except_return:; __Pyx_XGIVEREF(__pyx_t_3); - __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_1); goto __pyx_L0; } @@ -6667,13 +7640,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); - __Pyx_XDECREF(__pyx_t_8); __Pyx_XDECREF(__pyx_t_9); __Pyx_XDECREF(__pyx_t_10); - __Pyx_XDECREF(__pyx_t_13); + __Pyx_XDECREF(__pyx_t_11); __Pyx_XDECREF(__pyx_t_14); __Pyx_XDECREF(__pyx_t_15); __Pyx_XDECREF(__pyx_t_16); + __Pyx_XDECREF(__pyx_t_17); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_unhandled_exception_frame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; @@ -6686,7 +7659,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":265 +/* "_pydevd_sys_monitoring_cython.pyx":271 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, thread, unsigned long thread_ident, bint trace, PyDBAdditionalThreadInfo additional_info): # <<<<<<<<<<<<<< @@ -6695,13 +7668,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ /* Python wrapper */ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_thread = 0; unsigned long __pyx_v_thread_ident; int __pyx_v_trace; struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_additional_info = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[4] = {0,0,0,0}; int __pyx_lineno = 0; @@ -6710,62 +7697,64 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_thread,&__pyx_mstate_global->__pyx_n_u_thread_ident,&__pyx_mstate_global->__pyx_n_u_trace,&__pyx_mstate_global->__pyx_n_u_additional_info,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 265, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 271, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 4: - values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 265, __pyx_L3_error) + values[3] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 3); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 271, __pyx_L3_error) CYTHON_FALLTHROUGH; case 3: - values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 265, __pyx_L3_error) + values[2] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 2); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 271, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 265, __pyx_L3_error) + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 271, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 265, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 271, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 265, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 271, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 4; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, i); __PYX_ERR(0, 265, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, i); __PYX_ERR(0, 271, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 4)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 265, __pyx_L3_error) - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 265, __pyx_L3_error) - values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 265, __pyx_L3_error) - values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 265, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 271, __pyx_L3_error) + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 271, __pyx_L3_error) + values[2] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 2); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 271, __pyx_L3_error) + values[3] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 3); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 271, __pyx_L3_error) } __pyx_v_thread = values[0]; - __pyx_v_thread_ident = __Pyx_PyLong_As_unsigned_long(values[1]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 265, __pyx_L3_error) - __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 265, __pyx_L3_error) + __pyx_v_thread_ident = __Pyx_PyLong_As_unsigned_long(values[1]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 271, __pyx_L3_error) + __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 271, __pyx_L3_error) __pyx_v_additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)values[3]); } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 265, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 271, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -6776,7 +7765,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj __Pyx_RefNannyFinishContext(); return -1; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_additional_info), __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, 1, "additional_info", 0))) __PYX_ERR(0, 265, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_additional_info), __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, 1, "additional_info", 0))) __PYX_ERR(0, 271, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_self), __pyx_v_thread, __pyx_v_thread_ident, __pyx_v_trace, __pyx_v_additional_info); /* function exit code */ @@ -6792,6 +7781,8 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -6805,7 +7796,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":270 + /* "_pydevd_sys_monitoring_cython.pyx":276 * # ENDIF * # fmt: on * self.thread = thread # <<<<<<<<<<<<<< @@ -6815,10 +7806,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __Pyx_INCREF(__pyx_v_thread); __Pyx_GIVEREF(__pyx_v_thread); __Pyx_GOTREF(__pyx_v_self->thread); - __Pyx_DECREF(__pyx_v_self->thread); - __pyx_v_self->thread = __pyx_v_thread; + __Pyx_DECREF_SET(__pyx_v_self->thread, __pyx_v_thread); - /* "_pydevd_sys_monitoring_cython.pyx":271 + /* "_pydevd_sys_monitoring_cython.pyx":277 * # fmt: on * self.thread = thread * self.thread_ident = thread_ident # <<<<<<<<<<<<<< @@ -6827,7 +7817,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct */ __pyx_v_self->thread_ident = __pyx_v_thread_ident; - /* "_pydevd_sys_monitoring_cython.pyx":272 + /* "_pydevd_sys_monitoring_cython.pyx":278 * self.thread = thread * self.thread_ident = thread_ident * self.additional_info = additional_info # <<<<<<<<<<<<<< @@ -6837,10 +7827,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __Pyx_INCREF((PyObject *)__pyx_v_additional_info); __Pyx_GIVEREF((PyObject *)__pyx_v_additional_info); __Pyx_GOTREF((PyObject *)__pyx_v_self->additional_info); - __Pyx_DECREF((PyObject *)__pyx_v_self->additional_info); - __pyx_v_self->additional_info = __pyx_v_additional_info; + __Pyx_DECREF_SET(__pyx_v_self->additional_info, __pyx_v_additional_info); - /* "_pydevd_sys_monitoring_cython.pyx":273 + /* "_pydevd_sys_monitoring_cython.pyx":279 * self.thread_ident = thread_ident * self.additional_info = additional_info * self.trace = trace # <<<<<<<<<<<<<< @@ -6849,27 +7838,27 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct */ __pyx_v_self->trace = __pyx_v_trace; - /* "_pydevd_sys_monitoring_cython.pyx":274 + /* "_pydevd_sys_monitoring_cython.pyx":280 * self.additional_info = additional_info * self.trace = trace * self._use_is_stopped = hasattr(thread, '_is_stopped') # <<<<<<<<<<<<<< * self._use_on_thread_handle = hasattr(thread, '_os_thread_handle') * */ - __pyx_t_1 = __Pyx_HasAttr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_is_stopped); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 274, __pyx_L1_error) + __pyx_t_1 = __Pyx_HasAttr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_is_stopped); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 280, __pyx_L1_error) __pyx_v_self->_use_is_stopped = __pyx_t_1; - /* "_pydevd_sys_monitoring_cython.pyx":275 + /* "_pydevd_sys_monitoring_cython.pyx":281 * self.trace = trace * self._use_is_stopped = hasattr(thread, '_is_stopped') * self._use_on_thread_handle = hasattr(thread, '_os_thread_handle') # <<<<<<<<<<<<<< * * # fmt: off */ - __pyx_t_1 = __Pyx_HasAttr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_os_thread_handle); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 275, __pyx_L1_error) + __pyx_t_1 = __Pyx_HasAttr(__pyx_v_thread, __pyx_mstate_global->__pyx_n_u_os_thread_handle); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(0, 281, __pyx_L1_error) __pyx_v_self->_use_on_thread_handle = __pyx_t_1; - /* "_pydevd_sys_monitoring_cython.pyx":265 + /* "_pydevd_sys_monitoring_cython.pyx":271 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, thread, unsigned long thread_ident, bint trace, PyDBAdditionalThreadInfo additional_info): # <<<<<<<<<<<<<< @@ -6884,11 +7873,12 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.ThreadInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":279 +/* "_pydevd_sys_monitoring_cython.pyx":285 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint is_thread_alive(self): # <<<<<<<<<<<<<< @@ -6909,7 +7899,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( int __pyx_clineno = 0; __Pyx_RefNannySetupContext("is_thread_alive", 0); - /* "_pydevd_sys_monitoring_cython.pyx":284 + /* "_pydevd_sys_monitoring_cython.pyx":290 * # ENDIF * # fmt: on * if self._use_on_thread_handle: # <<<<<<<<<<<<<< @@ -6918,14 +7908,14 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( */ if (__pyx_v_self->_use_on_thread_handle) { - /* "_pydevd_sys_monitoring_cython.pyx":285 + /* "_pydevd_sys_monitoring_cython.pyx":291 * # fmt: on * if self._use_on_thread_handle: * return not self.thread._os_thread_handle.is_done() # <<<<<<<<<<<<<< * elif self._use_is_stopped: * return not self.thread._is_stopped */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_os_thread_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 285, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_os_thread_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 291, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_2 = __pyx_t_3; __Pyx_INCREF(__pyx_t_2); @@ -6935,15 +7925,19 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_is_done, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 285, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 291, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 285, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 291, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = (!__pyx_t_5); + { + + __pyx_r = (!__pyx_t_5); + } + goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":284 + /* "_pydevd_sys_monitoring_cython.pyx":290 * # ENDIF * # fmt: on * if self._use_on_thread_handle: # <<<<<<<<<<<<<< @@ -6952,7 +7946,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( */ } - /* "_pydevd_sys_monitoring_cython.pyx":286 + /* "_pydevd_sys_monitoring_cython.pyx":292 * if self._use_on_thread_handle: * return not self.thread._os_thread_handle.is_done() * elif self._use_is_stopped: # <<<<<<<<<<<<<< @@ -6961,21 +7955,25 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( */ if (__pyx_v_self->_use_is_stopped) { - /* "_pydevd_sys_monitoring_cython.pyx":287 + /* "_pydevd_sys_monitoring_cython.pyx":293 * return not self.thread._os_thread_handle.is_done() * elif self._use_is_stopped: * return not self.thread._is_stopped # <<<<<<<<<<<<<< * else: * return not self.thread._handle.is_done() */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_is_stopped); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 287, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_is_stopped); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 287, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 293, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = (!__pyx_t_5); + { + + __pyx_r = (!__pyx_t_5); + } + goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":286 + /* "_pydevd_sys_monitoring_cython.pyx":292 * if self._use_on_thread_handle: * return not self.thread._os_thread_handle.is_done() * elif self._use_is_stopped: # <<<<<<<<<<<<<< @@ -6984,7 +7982,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( */ } - /* "_pydevd_sys_monitoring_cython.pyx":289 + /* "_pydevd_sys_monitoring_cython.pyx":295 * return not self.thread._is_stopped * else: * return not self.thread._handle.is_done() # <<<<<<<<<<<<<< @@ -6992,7 +7990,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( * */ /*else*/ { - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_mstate_global->__pyx_n_u_handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = __pyx_t_2; __Pyx_INCREF(__pyx_t_3); @@ -7002,16 +8000,20 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_is_done, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 289, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 289, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_r = (!__pyx_t_5); + { + + __pyx_r = (!__pyx_t_5); + } + goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":279 + /* "_pydevd_sys_monitoring_cython.pyx":285 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint is_thread_alive(self): # <<<<<<<<<<<<<< @@ -7027,6 +8029,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.ThreadInfo.is_thread_alive", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -7039,7 +8042,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive( /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -7047,20 +8050,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -7090,8 +8093,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; - int __pyx_t_6; + PyObject *__pyx_t_6 = NULL; int __pyx_t_7; + int __pyx_t_8; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -7100,90 +8104,132 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->_use_is_stopped); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->_use_on_thread_handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyLong_From_unsigned_long(__pyx_v_self->thread_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_self->trace); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyTuple_New(6); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF((PyObject *)__pyx_v_self->additional_info); - __Pyx_GIVEREF((PyObject *)__pyx_v_self->additional_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, ((PyObject *)__pyx_v_self->additional_info)) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->thread); - __Pyx_GIVEREF(__pyx_v_self->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_v_self->thread) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_t_3) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 5, __pyx_t_4) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_t_2 = 0; - __pyx_t_3 = 0; - __pyx_t_4 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_5); - __pyx_t_5 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->_use_is_stopped); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->_use_on_thread_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyLong_From_unsigned_long(__pyx_v_self->thread_ident); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyBool_FromLong(__pyx_v_self->trace); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = PyTuple_New(6); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF((PyObject *)__pyx_v_self->additional_info); + __Pyx_GIVEREF((PyObject *)__pyx_v_self->additional_info); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, ((PyObject *)__pyx_v_self->additional_info)) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->thread); + __Pyx_GIVEREF(__pyx_v_self->thread); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 3, __pyx_v_self->thread) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 4, __pyx_t_4) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 5, __pyx_t_5) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_t_3 = 0; + __pyx_t_4 = 0; + __pyx_t_5 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_6); + __pyx_t_6 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_5 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_v__dict = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_6 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_v__dict = __pyx_t_6; + __pyx_t_6 = 0; + } - /* "(tree fragment)":7 - * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_7 = (__pyx_v__dict != Py_None); - if (__pyx_t_7) { + __pyx_t_8 = (__pyx_v__dict != Py_None); + if (__pyx_t_8) { + } else { - __pyx_t_6 = __pyx_t_7; - goto __pyx_L4_bool_binop_done; + + __pyx_t_7 = __pyx_t_8; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(1, 7, __pyx_L1_error) - __pyx_t_6 = __pyx_t_7; - __pyx_L4_bool_binop_done:; - if (__pyx_t_6) { + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(1, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_7 = __pyx_t_8; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_7) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 9, __pyx_L1_error); + __pyx_t_6 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_6)); + __pyx_t_6 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -7192,17 +8238,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self._use_is_stopped, self._use_on_thread_handle, self.additional_info, self.thread, self.thread_ident, self.trace) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.additional_info is not None or self.thread is not None # <<<<<<<<<<<<<< @@ -7210,20 +8256,25 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, None), state */ /*else*/ { - __pyx_t_7 = (((PyObject *)__pyx_v_self->additional_info) != Py_None); - if (!__pyx_t_7) { + __pyx_t_8 = (((PyObject *)__pyx_v_self->additional_info) != Py_None); + if (!__pyx_t_8) { + } else { - __pyx_t_6 = __pyx_t_7; - goto __pyx_L6_bool_binop_done; + + __pyx_t_7 = __pyx_t_8; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_7 = (__pyx_v_self->thread != Py_None); - __pyx_t_6 = __pyx_t_7; - __pyx_L6_bool_binop_done:; - __pyx_v_use_setstate = __pyx_t_6; + __pyx_t_8 = (__pyx_v_self->thread != Py_None); + + __pyx_t_7 = __pyx_t_8; + + __pyx_L9_bool_binop_done:; + __pyx_v_use_setstate = __pyx_t_7; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.additional_info is not None or self.thread is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -7232,43 +8283,49 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.additional_info is not None or self.thread is not None * if use_setstate: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadInfo); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadInfo); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_456410); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_456410); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_456410) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_456410) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, Py_None) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_5) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_GIVEREF(__pyx_t_6); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_6) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_6 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; - __pyx_r = __pyx_t_3; - __pyx_t_3 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.additional_info is not None or self.thread is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -7277,7 +8334,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, None), state * else: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) # <<<<<<<<<<<<<< @@ -7285,30 +8342,36 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce * __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadInfo); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_ThreadInfo); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_456410); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_456410); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_mstate_global->__pyx_int_456410) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_456410) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_5) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_3 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __pyx_t_5 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_6 = 0; goto __pyx_L0; } @@ -7325,17 +8388,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce __Pyx_XDECREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.ThreadInfo.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -7344,7 +8409,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -7352,14 +8417,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -7370,7 +8435,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -7381,32 +8446,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -7437,24 +8502,24 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(1, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(1, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -7475,7 +8540,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":297 +/* "_pydevd_sys_monitoring_cython.pyx":303 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< @@ -7485,7 +8550,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -7493,7 +8558,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__ = {"__init__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -7501,7 +8566,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_self = 0; PyObject *__pyx_v_dummy_thread = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -7512,7 +8577,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -7523,39 +8588,39 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_dummy_thread,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 297, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 303, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 297, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 303, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 297, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 303, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 297, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 303, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 2; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, i); __PYX_ERR(0, 297, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, i); __PYX_ERR(0, 303, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 297, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 303, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 297, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 303, __pyx_L3_error) } __pyx_v_self = values[0]; __pyx_v_dummy_thread = values[1]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 297, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 303, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -7585,40 +8650,40 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":298 + /* "_pydevd_sys_monitoring_cython.pyx":304 * * def __init__(self, dummy_thread): * self._dummy_thread = dummy_thread # <<<<<<<<<<<<<< * self._tident = dummy_thread.ident * # Put the thread on a thread local variable so that when */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_dummy_thread_2, __pyx_v_dummy_thread) < (0)) __PYX_ERR(0, 298, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_dummy_thread_2, __pyx_v_dummy_thread) < (0)) __PYX_ERR(0, 304, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":299 + /* "_pydevd_sys_monitoring_cython.pyx":305 * def __init__(self, dummy_thread): * self._dummy_thread = dummy_thread * self._tident = dummy_thread.ident # <<<<<<<<<<<<<< * # Put the thread on a thread local variable so that when * # the related thread finishes this instance is collected. */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dummy_thread, __pyx_mstate_global->__pyx_n_u_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 299, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dummy_thread, __pyx_mstate_global->__pyx_n_u_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident, __pyx_t_1) < (0)) __PYX_ERR(0, 299, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident, __pyx_t_1) < (0)) __PYX_ERR(0, 305, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":306 + /* "_pydevd_sys_monitoring_cython.pyx":312 * # If any client code creates a reference to this instance, * # the related _DummyThread will be kept forever! * _thread_local_info._track_dummy_thread_ref = self # <<<<<<<<<<<<<< * * def __del__(self): */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 306, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_track_dummy_thread_ref, __pyx_v_self) < (0)) __PYX_ERR(0, 306, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_track_dummy_thread_ref, __pyx_v_self) < (0)) __PYX_ERR(0, 312, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":297 + /* "_pydevd_sys_monitoring_cython.pyx":303 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< @@ -7639,7 +8704,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":308 +/* "_pydevd_sys_monitoring_cython.pyx":314 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< @@ -7649,7 +8714,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -7657,14 +8722,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__ = {"__del__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_self = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -7675,7 +8740,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__del__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -7686,32 +8751,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 308, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 314, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 308, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 314, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__del__", 0) < (0)) __PYX_ERR(0, 308, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__del__", 0) < (0)) __PYX_ERR(0, 314, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, i); __PYX_ERR(0, 308, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, i); __PYX_ERR(0, 314, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 308, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 314, __pyx_L3_error) } __pyx_v_self = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 308, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 314, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -7752,7 +8817,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":309 + /* "_pydevd_sys_monitoring_cython.pyx":315 * * def __del__(self): * with threading._active_limbo_lock: # <<<<<<<<<<<<<< @@ -7760,15 +8825,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn * _thread_active.pop(self._tident, None) */ /*with:*/ { - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 309, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_active_limbo_lock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 309, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_active_limbo_lock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_3 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 309, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; - __pyx_t_5 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_enter); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 309, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_enter); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 315, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -7787,7 +8852,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 309, __pyx_L3_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 315, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -7802,7 +8867,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":310 + /* "_pydevd_sys_monitoring_cython.pyx":316 * def __del__(self): * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: # <<<<<<<<<<<<<< @@ -7810,12 +8875,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn * */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 310, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 310, __pyx_L7_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 310, __pyx_L7_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 316, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -7835,17 +8900,18 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 310, __pyx_L7_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 316, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_dummy_thread_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 310, __pyx_L7_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_dummy_thread_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 316, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_10 = (__pyx_t_2 == __pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":311 + + /* "_pydevd_sys_monitoring_cython.pyx":317 * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: * _thread_active.pop(self._tident, None) # <<<<<<<<<<<<<< @@ -7853,12 +8919,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 311, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 317, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 311, __pyx_L7_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 317, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 311, __pyx_L7_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_tident); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 317, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -7878,12 +8944,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 311, __pyx_L7_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 317, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":310 + /* "_pydevd_sys_monitoring_cython.pyx":316 * def __del__(self): * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: # <<<<<<<<<<<<<< @@ -7892,7 +8958,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn */ } - /* "_pydevd_sys_monitoring_cython.pyx":309 + /* "_pydevd_sys_monitoring_cython.pyx":315 * * def __del__(self): * with threading._active_limbo_lock: # <<<<<<<<<<<<<< @@ -7911,28 +8977,34 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._DeleteDummyThreadOnDel.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_5) < 0) __PYX_ERR(0, 309, __pyx_L9_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_5) < 0) __PYX_ERR(0, 315, __pyx_L9_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_2 = PyTuple_Pack(3, __pyx_t_4, __pyx_t_1, __pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 309, __pyx_L9_except_error) - __Pyx_GOTREF(__pyx_t_2); + { + PyObject* __pyx_temp[3] = {__pyx_t_4, __pyx_t_1, __pyx_t_5}; + __pyx_t_2 = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 315, __pyx_L9_except_error) + __Pyx_GOTREF(__pyx_t_2); + } __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 309, __pyx_L9_except_error) + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 315, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (__pyx_t_10 < (0)) __PYX_ERR(0, 309, __pyx_L9_except_error) + if (__pyx_t_10 < (0)) __PYX_ERR(0, 315, __pyx_L9_except_error) __pyx_t_12 = (!__pyx_t_10); + + if (unlikely(__pyx_t_12)) { + __Pyx_GIVEREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_1); __Pyx_XGIVEREF(__pyx_t_5); __Pyx_ErrRestoreWithState(__pyx_t_4, __pyx_t_1, __pyx_t_5); __pyx_t_4 = 0; __pyx_t_1 = 0; __pyx_t_5 = 0; - __PYX_ERR(0, 309, __pyx_L9_except_error) + __PYX_ERR(0, 315, __pyx_L9_except_error) } __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -7958,7 +9030,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn if (__pyx_t_3) { __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_mstate_global->__pyx_tuple[0], NULL); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 309, __pyx_L1_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 315, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } @@ -7973,7 +9045,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __pyx_L17:; } - /* "_pydevd_sys_monitoring_cython.pyx":308 + /* "_pydevd_sys_monitoring_cython.pyx":314 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< @@ -7997,7 +9069,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":316 +/* "_pydevd_sys_monitoring_cython.pyx":322 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _create_thread_info(depth): # <<<<<<<<<<<<<< @@ -8031,7 +9103,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_thread_info", 0); - /* "_pydevd_sys_monitoring_cython.pyx":324 + /* "_pydevd_sys_monitoring_cython.pyx":330 * # Don't call threading.currentThread because if we're too early in the process * # we may create a dummy thread. * thread_ident = _get_ident() # <<<<<<<<<<<<<< @@ -8039,7 +9111,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 324, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 330, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = 1; #if CYTHON_UNPACK_METHODS @@ -8058,23 +9130,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 330, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_5 = __Pyx_PyLong_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 324, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyLong_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 330, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_thread_ident = __pyx_t_5; - /* "_pydevd_sys_monitoring_cython.pyx":326 + /* "_pydevd_sys_monitoring_cython.pyx":332 * thread_ident = _get_ident() * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) # <<<<<<<<<<<<<< * if f_bootstrap_frame is None: * return None # Case for threading when it's still in bootstrap or early in pydevd. */ - __pyx_t_1 = __Pyx_PyLong_AddObjC(__pyx_v_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyLong_AddObjC(__pyx_v_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) { @@ -8083,7 +9155,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 326, __pyx_L1_error) + __PYX_ERR(0, 332, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -8092,23 +9164,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_2); } else { - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_2); } #else - __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); #endif __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } else { Py_ssize_t index = -1; - __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 326, __pyx_L1_error) + __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_7 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); @@ -8116,7 +9188,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_GOTREF(__pyx_t_1); index = 1; __pyx_t_2 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed; __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < (0)) __PYX_ERR(0, 326, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < (0)) __PYX_ERR(0, 332, __pyx_L1_error) __pyx_t_7 = NULL; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L4_unpacking_done; @@ -8124,7 +9196,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_7 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 326, __pyx_L1_error) + __PYX_ERR(0, 332, __pyx_L1_error) __pyx_L4_unpacking_done:; } __pyx_v_f_bootstrap_frame = __pyx_t_1; @@ -8132,7 +9204,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_v_is_bootstrap_frame_internal = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":327 + /* "_pydevd_sys_monitoring_cython.pyx":333 * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: # <<<<<<<<<<<<<< @@ -8142,18 +9214,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_f_bootstrap_frame == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":328 + + /* "_pydevd_sys_monitoring_cython.pyx":334 * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: * return None # Case for threading when it's still in bootstrap or early in pydevd. # <<<<<<<<<<<<<< * * if is_bootstrap_frame_internal: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":327 + /* "_pydevd_sys_monitoring_cython.pyx":333 * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: # <<<<<<<<<<<<<< @@ -8162,17 +9241,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":330 + /* "_pydevd_sys_monitoring_cython.pyx":336 * return None # Case for threading when it's still in bootstrap or early in pydevd. * * if is_bootstrap_frame_internal: # <<<<<<<<<<<<<< * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_bootstrap_frame_internal); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 330, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_bootstrap_frame_internal); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 336, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":331 + + /* "_pydevd_sys_monitoring_cython.pyx":337 * * if is_bootstrap_frame_internal: * t = None # <<<<<<<<<<<<<< @@ -8182,45 +9262,56 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __pyx_v_t = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":332 + /* "_pydevd_sys_monitoring_cython.pyx":338 * if is_bootstrap_frame_internal: * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 338, __pyx_L1_error) if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L8_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_bootstrap_inner_2, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 338, __pyx_L1_error) if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L8_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_is_alive, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_8 = __pyx_t_9; + __pyx_L8_bool_binop_done:; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_9 = __pyx_t_8; + + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":334 + + /* "_pydevd_sys_monitoring_cython.pyx":340 * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") # <<<<<<<<<<<<<< * if not isinstance(t, threading.Thread): * t = None */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 334, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 340, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __pyx_t_1; __Pyx_INCREF(__pyx_t_3); @@ -8230,30 +9321,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 334, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 340, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":335 + /* "_pydevd_sys_monitoring_cython.pyx":341 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< * t = None * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 335, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 335, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 335, __pyx_L1_error) + __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 341, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = (!__pyx_t_9); + + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":336 + + /* "_pydevd_sys_monitoring_cython.pyx":342 * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): * t = None # <<<<<<<<<<<<<< @@ -8263,7 +9357,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_t, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":335 + /* "_pydevd_sys_monitoring_cython.pyx":341 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< @@ -8272,7 +9366,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":332 + /* "_pydevd_sys_monitoring_cython.pyx":338 * if is_bootstrap_frame_internal: * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< @@ -8282,39 +9376,47 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L7; } - /* "_pydevd_sys_monitoring_cython.pyx":338 + /* "_pydevd_sys_monitoring_cython.pyx":344 * t = None * * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): # <<<<<<<<<<<<<< * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 344, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_exec, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 344, __pyx_L1_error) if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L12_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 338, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_call, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 344, __pyx_L1_error) + __pyx_t_8 = __pyx_t_9; + __pyx_L12_bool_binop_done:; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_9 = __pyx_t_8; + + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":340 + + /* "_pydevd_sys_monitoring_cython.pyx":346 * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") # <<<<<<<<<<<<<< * if not isinstance(t, threading.Thread): * t = None */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 340, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_1 = __pyx_t_3; __Pyx_INCREF(__pyx_t_1); @@ -8324,30 +9426,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 340, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":341 + /* "_pydevd_sys_monitoring_cython.pyx":347 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< * t = None * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_Thread); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 341, __pyx_L1_error) + __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 347, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_8 = (!__pyx_t_9); + + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":342 + + /* "_pydevd_sys_monitoring_cython.pyx":348 * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): * t = None # <<<<<<<<<<<<<< @@ -8357,7 +9462,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_t, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":341 + /* "_pydevd_sys_monitoring_cython.pyx":347 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< @@ -8366,7 +9471,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":338 + /* "_pydevd_sys_monitoring_cython.pyx":344 * t = None * * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): # <<<<<<<<<<<<<< @@ -8376,7 +9481,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO } __pyx_L7:; - /* "_pydevd_sys_monitoring_cython.pyx":330 + /* "_pydevd_sys_monitoring_cython.pyx":336 * return None # Case for threading when it's still in bootstrap or early in pydevd. * * if is_bootstrap_frame_internal: # <<<<<<<<<<<<<< @@ -8386,7 +9491,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L6; } - /* "_pydevd_sys_monitoring_cython.pyx":348 + /* "_pydevd_sys_monitoring_cython.pyx":354 * # In practice this means it's some unmanaged thread, so, creating * # a dummy thread is ok in this use-case. * t = threading.current_thread() # <<<<<<<<<<<<<< @@ -8395,9 +9500,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ /*else*/ { __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 348, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 354, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_current_thread); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 348, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_current_thread); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 354, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_4 = 1; @@ -8417,7 +9522,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 348, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 354, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __pyx_v_t = __pyx_t_3; @@ -8425,7 +9530,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO } __pyx_L6:; - /* "_pydevd_sys_monitoring_cython.pyx":350 + /* "_pydevd_sys_monitoring_cython.pyx":356 * t = threading.current_thread() * * if t is None: # <<<<<<<<<<<<<< @@ -8435,7 +9540,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_t == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":351 + + /* "_pydevd_sys_monitoring_cython.pyx":357 * * if t is None: * t = _thread_active.get(thread_ident) # <<<<<<<<<<<<<< @@ -8443,12 +9549,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: */ __pyx_t_6 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 351, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 351, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 351, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 1; #if CYTHON_UNPACK_METHODS @@ -8468,13 +9574,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 351, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 357, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":350 + /* "_pydevd_sys_monitoring_cython.pyx":356 * t = threading.current_thread() * * if t is None: # <<<<<<<<<<<<<< @@ -8483,35 +9589,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":353 + /* "_pydevd_sys_monitoring_cython.pyx":359 * t = _thread_active.get(thread_ident) * * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<< * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 353, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DummyThread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 353, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DummyThread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 353, __pyx_L1_error) + __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L17_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 353, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 353, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 359, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L17_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":354 + + /* "_pydevd_sys_monitoring_cython.pyx":360 * * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) # <<<<<<<<<<<<<< @@ -8519,7 +9633,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * if t is None: */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 354, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 1; #if CYTHON_UNPACK_METHODS @@ -8538,16 +9652,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 354, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 354, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 360, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ref, __pyx_t_1) < (0)) __PYX_ERR(0, 354, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ref, __pyx_t_1) < (0)) __PYX_ERR(0, 360, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":353 + /* "_pydevd_sys_monitoring_cython.pyx":359 * t = _thread_active.get(thread_ident) * * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<< @@ -8556,7 +9670,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":356 + /* "_pydevd_sys_monitoring_cython.pyx":362 * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * * if t is None: # <<<<<<<<<<<<<< @@ -8566,18 +9680,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_t == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":357 + + /* "_pydevd_sys_monitoring_cython.pyx":363 * * if t is None: * return None # <<<<<<<<<<<<<< * * if getattr(t, "is_pydev_daemon_thread", False): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":356 + /* "_pydevd_sys_monitoring_cython.pyx":362 * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * * if t is None: # <<<<<<<<<<<<<< @@ -8586,29 +9707,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":359 + /* "_pydevd_sys_monitoring_cython.pyx":365 * return None * * if getattr(t, "is_pydev_daemon_thread", False): # <<<<<<<<<<<<<< * return ThreadInfo(t, thread_ident, False, None) * else: */ - __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_is_pydev_daemon_thread, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 359, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_is_pydev_daemon_thread, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 359, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 365, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":360 + + /* "_pydevd_sys_monitoring_cython.pyx":366 * * if getattr(t, "is_pydev_daemon_thread", False): * return ThreadInfo(t, thread_ident, False, None) # <<<<<<<<<<<<<< * else: * try: */ - __Pyx_XDECREF(__pyx_r); __pyx_t_1 = NULL; - __pyx_t_3 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 360, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = 1; { @@ -8616,14 +9737,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_callargs+__pyx_t_4, (5-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 360, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 366, __pyx_L1_error) __Pyx_GOTREF((PyObject *)__pyx_t_2); } - __pyx_r = ((PyObject *)__pyx_t_2); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = ((PyObject *)__pyx_t_2); + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":359 + /* "_pydevd_sys_monitoring_cython.pyx":365 * return None * * if getattr(t, "is_pydev_daemon_thread", False): # <<<<<<<<<<<<<< @@ -8632,7 +9760,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":362 + /* "_pydevd_sys_monitoring_cython.pyx":368 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -8649,19 +9777,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_XGOTREF(__pyx_t_13); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":363 + /* "_pydevd_sys_monitoring_cython.pyx":369 * else: * try: * additional_info = t.additional_info # <<<<<<<<<<<<<< * if additional_info is None: * raise AttributeError() */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 363, __pyx_L21_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 369, __pyx_L21_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_additional_info = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":364 + /* "_pydevd_sys_monitoring_cython.pyx":370 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -8671,7 +9799,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_additional_info == Py_None); if (unlikely(__pyx_t_8)) { - /* "_pydevd_sys_monitoring_cython.pyx":365 + + /* "_pydevd_sys_monitoring_cython.pyx":371 * additional_info = t.additional_info * if additional_info is None: * raise AttributeError() # <<<<<<<<<<<<<< @@ -8684,14 +9813,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 365, __pyx_L21_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 371, __pyx_L21_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 365, __pyx_L21_error) + __PYX_ERR(0, 371, __pyx_L21_error) - /* "_pydevd_sys_monitoring_cython.pyx":364 + /* "_pydevd_sys_monitoring_cython.pyx":370 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -8700,7 +9829,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":362 + /* "_pydevd_sys_monitoring_cython.pyx":368 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -8718,7 +9847,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":366 + /* "_pydevd_sys_monitoring_cython.pyx":372 * if additional_info is None: * raise AttributeError() * except: # <<<<<<<<<<<<<< @@ -8727,19 +9856,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._create_thread_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) __PYX_ERR(0, 366, __pyx_L23_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) __PYX_ERR(0, 372, __pyx_L23_except_error) __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":367 + /* "_pydevd_sys_monitoring_cython.pyx":373 * raise AttributeError() * except: * additional_info = set_additional_thread_info(t) # <<<<<<<<<<<<<< * return ThreadInfo(t, thread_ident, True, additional_info) * */ - __pyx_t_6 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_t, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 367, __pyx_L23_except_error) + __pyx_t_6 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_t, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 373, __pyx_L23_except_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_6); __pyx_t_6 = 0; @@ -8749,7 +9878,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L22_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":362 + /* "_pydevd_sys_monitoring_cython.pyx":368 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -8770,16 +9899,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_L26_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":368 + /* "_pydevd_sys_monitoring_cython.pyx":374 * except: * additional_info = set_additional_thread_info(t) * return ThreadInfo(t, thread_ident, True, additional_info) # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); __pyx_t_3 = NULL; - __pyx_t_2 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 368, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 1; { @@ -8787,15 +9915,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_callargs+__pyx_t_4, (5-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 368, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 374, __pyx_L1_error) __Pyx_GOTREF((PyObject *)__pyx_t_1); } - __pyx_r = ((PyObject *)__pyx_t_1); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = ((PyObject *)__pyx_t_1); + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":316 + /* "_pydevd_sys_monitoring_cython.pyx":322 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _create_thread_info(depth): # <<<<<<<<<<<<<< @@ -8812,6 +9947,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._create_thread_info", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_f_bootstrap_frame); __Pyx_XDECREF(__pyx_v_is_bootstrap_frame_internal); __Pyx_XDECREF(__pyx_v_t); @@ -8821,7 +9957,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":398 +/* "_pydevd_sys_monitoring_cython.pyx":404 * # ENDIF * # fmt: on * def __init__(self): # <<<<<<<<<<<<<< @@ -8830,21 +9966,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ /* Python wrapper */ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 0, 0, __pyx_nargs); return -1; } - const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; + const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; if (unlikely(__pyx_kwds_len < 0)) return -1; if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__init__", __pyx_kwds); return -1;} __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_v_self)); @@ -8863,46 +10015,43 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":399 + /* "_pydevd_sys_monitoring_cython.pyx":405 * # fmt: on * def __init__(self): * self.co_filename: str = "" # <<<<<<<<<<<<<< * self.canonical_normalized_filename: str = "" * self.abs_path_filename: str = "" */ - __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_); + __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u__2); + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u__2); __Pyx_GOTREF(__pyx_v_self->co_filename); - __Pyx_DECREF(__pyx_v_self->co_filename); - __pyx_v_self->co_filename = __pyx_mstate_global->__pyx_kp_u_; + __Pyx_DECREF_SET(__pyx_v_self->co_filename, __pyx_mstate_global->__pyx_kp_u__2); - /* "_pydevd_sys_monitoring_cython.pyx":400 + /* "_pydevd_sys_monitoring_cython.pyx":406 * def __init__(self): * self.co_filename: str = "" * self.canonical_normalized_filename: str = "" # <<<<<<<<<<<<<< * self.abs_path_filename: str = "" * */ - __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_); + __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u__2); + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u__2); __Pyx_GOTREF(__pyx_v_self->canonical_normalized_filename); - __Pyx_DECREF(__pyx_v_self->canonical_normalized_filename); - __pyx_v_self->canonical_normalized_filename = __pyx_mstate_global->__pyx_kp_u_; + __Pyx_DECREF_SET(__pyx_v_self->canonical_normalized_filename, __pyx_mstate_global->__pyx_kp_u__2); - /* "_pydevd_sys_monitoring_cython.pyx":401 + /* "_pydevd_sys_monitoring_cython.pyx":407 * self.co_filename: str = "" * self.canonical_normalized_filename: str = "" * self.abs_path_filename: str = "" # <<<<<<<<<<<<<< * * # These is never seen and we never stop, even if it's a callback coming */ - __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_); + __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u__2); + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u__2); __Pyx_GOTREF(__pyx_v_self->abs_path_filename); - __Pyx_DECREF(__pyx_v_self->abs_path_filename); - __pyx_v_self->abs_path_filename = __pyx_mstate_global->__pyx_kp_u_; + __Pyx_DECREF_SET(__pyx_v_self->abs_path_filename, __pyx_mstate_global->__pyx_kp_u__2); - /* "_pydevd_sys_monitoring_cython.pyx":405 + /* "_pydevd_sys_monitoring_cython.pyx":411 * # These is never seen and we never stop, even if it's a callback coming * # from user code (these are completely invisible to the debugging tracing). * self.always_skip_code: bool = False # <<<<<<<<<<<<<< @@ -8911,7 +10060,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->always_skip_code = 0; - /* "_pydevd_sys_monitoring_cython.pyx":407 + /* "_pydevd_sys_monitoring_cython.pyx":413 * self.always_skip_code: bool = False * * self.breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -8920,7 +10069,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":408 + /* "_pydevd_sys_monitoring_cython.pyx":414 * * self.breakpoint_found: bool = False * self.function_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -8929,7 +10078,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->function_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":411 + /* "_pydevd_sys_monitoring_cython.pyx":417 * * # A plugin can choose whether to stop on function calls or line events. * self.plugin_line_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -8938,7 +10087,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_line_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":412 + /* "_pydevd_sys_monitoring_cython.pyx":418 * # A plugin can choose whether to stop on function calls or line events. * self.plugin_line_breakpoint_found: bool = False * self.plugin_call_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -8947,7 +10096,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_call_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":414 + /* "_pydevd_sys_monitoring_cython.pyx":420 * self.plugin_call_breakpoint_found: bool = False * * self.plugin_line_stepping: bool = False # <<<<<<<<<<<<<< @@ -8956,7 +10105,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_line_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":415 + /* "_pydevd_sys_monitoring_cython.pyx":421 * * self.plugin_line_stepping: bool = False * self.plugin_call_stepping: bool = False # <<<<<<<<<<<<<< @@ -8965,7 +10114,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_call_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":416 + /* "_pydevd_sys_monitoring_cython.pyx":422 * self.plugin_line_stepping: bool = False * self.plugin_call_stepping: bool = False * self.plugin_return_stepping: bool = False # <<<<<<<<<<<<<< @@ -8974,7 +10123,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_return_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":421 + /* "_pydevd_sys_monitoring_cython.pyx":427 * # to be re-evaluated (if invalid a new FuncCodeInfo must be created and * # tracing can't be disabled for the related frames). * self.pydb_mtime: int = -1 # <<<<<<<<<<<<<< @@ -8983,22 +10132,21 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->pydb_mtime = -1; - /* "_pydevd_sys_monitoring_cython.pyx":423 + /* "_pydevd_sys_monitoring_cython.pyx":429 * self.pydb_mtime: int = -1 * * self.bp_line_to_breakpoint: Dict[int, Any] = {} # <<<<<<<<<<<<<< * self.function_breakpoint = None * */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 423, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 429, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->bp_line_to_breakpoint); - __Pyx_DECREF(__pyx_v_self->bp_line_to_breakpoint); - __pyx_v_self->bp_line_to_breakpoint = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v_self->bp_line_to_breakpoint, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":424 + /* "_pydevd_sys_monitoring_cython.pyx":430 * * self.bp_line_to_breakpoint: Dict[int, Any] = {} * self.function_breakpoint = None # <<<<<<<<<<<<<< @@ -9008,10 +10156,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->function_breakpoint); - __Pyx_DECREF(__pyx_v_self->function_breakpoint); - __pyx_v_self->function_breakpoint = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->function_breakpoint, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":429 + /* "_pydevd_sys_monitoring_cython.pyx":435 * # that we may still need to pause in it (in a step return to user code, * # we may need to track this one). * self.always_filtered_out: bool = False # <<<<<<<<<<<<<< @@ -9020,7 +10167,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->always_filtered_out = 0; - /* "_pydevd_sys_monitoring_cython.pyx":433 + /* "_pydevd_sys_monitoring_cython.pyx":439 * # This should be used to filter code in a 144 * # (and other XXX_MY_CODE variants). * self.filtered_out_force_checked: bool = False # <<<<<<<<<<<<<< @@ -9029,7 +10176,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->filtered_out_force_checked = 0; - /* "_pydevd_sys_monitoring_cython.pyx":435 + /* "_pydevd_sys_monitoring_cython.pyx":441 * self.filtered_out_force_checked: bool = False * * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None # <<<<<<<<<<<<<< @@ -9039,10 +10186,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->try_except_container_obj); - __Pyx_DECREF(__pyx_v_self->try_except_container_obj); - __pyx_v_self->try_except_container_obj = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->try_except_container_obj, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":436 + /* "_pydevd_sys_monitoring_cython.pyx":442 * * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None * self.code_obj: CodeType = None # <<<<<<<<<<<<<< @@ -9052,23 +10198,21 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_self->code_obj); - __Pyx_DECREF(__pyx_v_self->code_obj); - __pyx_v_self->code_obj = Py_None; + __Pyx_DECREF_SET(__pyx_v_self->code_obj, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":437 + /* "_pydevd_sys_monitoring_cython.pyx":443 * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None * self.code_obj: CodeType = None * self.co_name: str = "" # <<<<<<<<<<<<<< * * def get_line_of_offset(self, offset): */ - __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_); + __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u__2); + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u__2); __Pyx_GOTREF(__pyx_v_self->co_name); - __Pyx_DECREF(__pyx_v_self->co_name); - __pyx_v_self->co_name = __pyx_mstate_global->__pyx_kp_u_; + __Pyx_DECREF_SET(__pyx_v_self->co_name, __pyx_mstate_global->__pyx_kp_u__2); - /* "_pydevd_sys_monitoring_cython.pyx":398 + /* "_pydevd_sys_monitoring_cython.pyx":404 * # ENDIF * # fmt: on * def __init__(self): # <<<<<<<<<<<<<< @@ -9084,11 +10228,12 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.FuncCodeInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":439 +/* "_pydevd_sys_monitoring_cython.pyx":445 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< @@ -9098,7 +10243,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -9106,14 +10251,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset = {"get_line_of_offset", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_offset = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -9124,7 +10269,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_line_of_offset (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -9135,32 +10280,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_offset,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 439, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 445, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 439, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 445, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get_line_of_offset", 0) < (0)) __PYX_ERR(0, 439, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get_line_of_offset", 0) < (0)) __PYX_ERR(0, 445, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, i); __PYX_ERR(0, 439, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, i); __PYX_ERR(0, 445, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 439, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 445, __pyx_L3_error) } __pyx_v_offset = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 439, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 445, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -9204,7 +10349,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_line_of_offset", 0); - /* "_pydevd_sys_monitoring_cython.pyx":440 + /* "_pydevd_sys_monitoring_cython.pyx":446 * * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): # <<<<<<<<<<<<<< @@ -9218,7 +10363,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_co_lines, __pyx_callargs+__pyx_t_3, (1-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 440, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) { @@ -9226,9 +10371,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __pyx_t_4 = 0; __pyx_t_5 = NULL; } else { - __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_5 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 446, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -9237,17 +10382,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 440, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 446, __pyx_L1_error) #endif if (__pyx_t_4 >= __pyx_temp) break; } - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(__pyx_t_2, __pyx_t_4, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_2, __pyx_t_4, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_4; } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 440, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 446, __pyx_L1_error) #endif if (__pyx_t_4 >= __pyx_temp) break; } @@ -9258,13 +10403,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li #endif ++__pyx_t_4; } - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 440, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 446, __pyx_L1_error) } else { __pyx_t_1 = __pyx_t_5(__pyx_t_2); if (unlikely(!__pyx_t_1)) { PyObject* exc_type = PyErr_Occurred(); if (exc_type) { - if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 440, __pyx_L1_error) + if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 446, __pyx_L1_error) PyErr_Clear(); } break; @@ -9277,7 +10422,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 440, __pyx_L1_error) + __PYX_ERR(0, 446, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -9288,28 +10433,28 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __pyx_t_8 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_8); } else { - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_8); } #else - __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 440, __pyx_L1_error) + __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 446, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_10 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_9); @@ -9319,7 +10464,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_GOTREF(__pyx_t_7); index = 2; __pyx_t_8 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_8)) goto __pyx_L5_unpacking_failed; __Pyx_GOTREF(__pyx_t_8); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 3) < (0)) __PYX_ERR(0, 440, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 3) < (0)) __PYX_ERR(0, 446, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; goto __pyx_L6_unpacking_done; @@ -9327,7 +10472,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 440, __pyx_L1_error) + __PYX_ERR(0, 446, __pyx_L1_error) __pyx_L6_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_start, __pyx_t_6); @@ -9337,7 +10482,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_XDECREF_SET(__pyx_v_line, __pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":441 + /* "_pydevd_sys_monitoring_cython.pyx":447 * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): * if start is not None and end is not None and line is not None: # <<<<<<<<<<<<<< @@ -9346,57 +10491,74 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li */ __pyx_t_12 = (__pyx_v_start != Py_None); if (__pyx_t_12) { + } else { + __pyx_t_11 = __pyx_t_12; + goto __pyx_L8_bool_binop_done; } __pyx_t_12 = (__pyx_v_end != Py_None); if (__pyx_t_12) { + } else { + __pyx_t_11 = __pyx_t_12; + goto __pyx_L8_bool_binop_done; } __pyx_t_12 = (__pyx_v_line != Py_None); + __pyx_t_11 = __pyx_t_12; + __pyx_L8_bool_binop_done:; if (__pyx_t_11) { - /* "_pydevd_sys_monitoring_cython.pyx":442 + + /* "_pydevd_sys_monitoring_cython.pyx":448 * for start, end, line in self.code_obj.co_lines(): * if start is not None and end is not None and line is not None: * if offset >= start and offset <= end: # <<<<<<<<<<<<<< * return line * return -1 */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_start, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 442, __pyx_L1_error) - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 442, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_12 = __Pyx_PyObject_CompareBoolGe_object_object(__pyx_v_offset, __pyx_v_start, Py_GE); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 448, __pyx_L1_error) if (__pyx_t_12) { + } else { + __pyx_t_11 = __pyx_t_12; + goto __pyx_L12_bool_binop_done; } - __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_end, Py_LE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 442, __pyx_L1_error) - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 442, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_12 = __Pyx_PyObject_CompareBoolLe_object_object(__pyx_v_offset, __pyx_v_end, Py_LE); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 448, __pyx_L1_error) + __pyx_t_11 = __pyx_t_12; + __pyx_L12_bool_binop_done:; if (__pyx_t_11) { - /* "_pydevd_sys_monitoring_cython.pyx":443 + + /* "_pydevd_sys_monitoring_cython.pyx":449 * if start is not None and end is not None and line is not None: * if offset >= start and offset <= end: * return line # <<<<<<<<<<<<<< * return -1 * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_line); - __pyx_r = __pyx_v_line; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_line); + __pyx_r = __pyx_v_line; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":442 + /* "_pydevd_sys_monitoring_cython.pyx":448 * for start, end, line in self.code_obj.co_lines(): * if start is not None and end is not None and line is not None: * if offset >= start and offset <= end: # <<<<<<<<<<<<<< @@ -9405,7 +10567,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li */ } - /* "_pydevd_sys_monitoring_cython.pyx":441 + /* "_pydevd_sys_monitoring_cython.pyx":447 * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): * if start is not None and end is not None and line is not None: # <<<<<<<<<<<<<< @@ -9414,7 +10576,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li */ } - /* "_pydevd_sys_monitoring_cython.pyx":440 + /* "_pydevd_sys_monitoring_cython.pyx":446 * * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): # <<<<<<<<<<<<<< @@ -9424,19 +10586,25 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":444 + /* "_pydevd_sys_monitoring_cython.pyx":450 * if offset >= start and offset <= end: * return line * return -1 # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_mstate_global->__pyx_int_neg_1); - __pyx_r = __pyx_mstate_global->__pyx_int_neg_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_mstate_global->__pyx_int_neg_1); + __pyx_r = __pyx_mstate_global->__pyx_int_neg_1; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":439 + /* "_pydevd_sys_monitoring_cython.pyx":445 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< @@ -9471,7 +10639,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -9479,20 +10647,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -9529,8 +10697,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu PyObject *__pyx_t_10 = NULL; PyObject *__pyx_t_11 = NULL; PyObject *__pyx_t_12 = NULL; - int __pyx_t_13; + PyObject *__pyx_t_13 = NULL; int __pyx_t_14; + int __pyx_t_15; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -9539,143 +10708,185 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->always_filtered_out); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->always_skip_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->breakpoint_found); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_self->filtered_out_force_checked); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyBool_FromLong(__pyx_v_self->function_breakpoint_found); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_call_breakpoint_found); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_call_stepping); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_line_breakpoint_found); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_line_stepping); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_return_stepping); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyLong_From_int(__pyx_v_self->pydb_mtime); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = PyTuple_New(19); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __Pyx_INCREF(__pyx_v_self->abs_path_filename); - __Pyx_GIVEREF(__pyx_v_self->abs_path_filename); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_v_self->abs_path_filename) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 2, __pyx_t_2) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->bp_line_to_breakpoint); - __Pyx_GIVEREF(__pyx_v_self->bp_line_to_breakpoint); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 3, __pyx_v_self->bp_line_to_breakpoint) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 4, __pyx_t_3) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->canonical_normalized_filename); - __Pyx_GIVEREF(__pyx_v_self->canonical_normalized_filename); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 5, __pyx_v_self->canonical_normalized_filename) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->co_filename); - __Pyx_GIVEREF(__pyx_v_self->co_filename); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 6, __pyx_v_self->co_filename) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->co_name); - __Pyx_GIVEREF(__pyx_v_self->co_name); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 7, __pyx_v_self->co_name) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->code_obj); - __Pyx_GIVEREF(__pyx_v_self->code_obj); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 8, __pyx_v_self->code_obj) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 9, __pyx_t_4) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->function_breakpoint); - __Pyx_GIVEREF(__pyx_v_self->function_breakpoint); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 10, __pyx_v_self->function_breakpoint) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 11, __pyx_t_5) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 12, __pyx_t_6) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_7); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 13, __pyx_t_7) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_8); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 14, __pyx_t_8) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_9); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 15, __pyx_t_9) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_10); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 16, __pyx_t_10) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_11); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 17, __pyx_t_11) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->try_except_container_obj); - __Pyx_GIVEREF(__pyx_v_self->try_except_container_obj); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 18, __pyx_v_self->try_except_container_obj) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_t_2 = 0; - __pyx_t_3 = 0; - __pyx_t_4 = 0; - __pyx_t_5 = 0; - __pyx_t_6 = 0; - __pyx_t_7 = 0; - __pyx_t_8 = 0; - __pyx_t_9 = 0; - __pyx_t_10 = 0; - __pyx_t_11 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_12); - __pyx_t_12 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->always_filtered_out); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_self->always_skip_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_self->breakpoint_found); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyBool_FromLong(__pyx_v_self->filtered_out_force_checked); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->function_breakpoint_found); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_call_breakpoint_found); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_call_stepping); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_9 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_line_breakpoint_found); if (unlikely(!__pyx_t_9)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_10 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_line_stepping); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_11 = __Pyx_PyBool_FromLong(__pyx_v_self->plugin_return_stepping); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_self->pydb_mtime); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_12); + __pyx_t_13 = PyTuple_New(19); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_13); + __Pyx_INCREF(__pyx_v_self->abs_path_filename); + __Pyx_GIVEREF(__pyx_v_self->abs_path_filename); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_v_self->abs_path_filename) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_2) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 2, __pyx_t_3) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->bp_line_to_breakpoint); + __Pyx_GIVEREF(__pyx_v_self->bp_line_to_breakpoint); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 3, __pyx_v_self->bp_line_to_breakpoint) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 4, __pyx_t_4) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->canonical_normalized_filename); + __Pyx_GIVEREF(__pyx_v_self->canonical_normalized_filename); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 5, __pyx_v_self->canonical_normalized_filename) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->co_filename); + __Pyx_GIVEREF(__pyx_v_self->co_filename); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 6, __pyx_v_self->co_filename) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->co_name); + __Pyx_GIVEREF(__pyx_v_self->co_name); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 7, __pyx_v_self->co_name) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->code_obj); + __Pyx_GIVEREF(__pyx_v_self->code_obj); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 8, __pyx_v_self->code_obj) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 9, __pyx_t_5) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->function_breakpoint); + __Pyx_GIVEREF(__pyx_v_self->function_breakpoint); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 10, __pyx_v_self->function_breakpoint) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_6); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 11, __pyx_t_6) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_7); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 12, __pyx_t_7) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_8); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 13, __pyx_t_8) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_9); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 14, __pyx_t_9) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_10); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 15, __pyx_t_10) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_11); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 16, __pyx_t_11) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_12); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 17, __pyx_t_12) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->try_except_container_obj); + __Pyx_GIVEREF(__pyx_v_self->try_except_container_obj); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 18, __pyx_v_self->try_except_container_obj) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_t_3 = 0; + __pyx_t_4 = 0; + __pyx_t_5 = 0; + __pyx_t_6 = 0; + __pyx_t_7 = 0; + __pyx_t_8 = 0; + __pyx_t_9 = 0; + __pyx_t_10 = 0; + __pyx_t_11 = 0; + __pyx_t_12 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_13); + __pyx_t_13 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_12 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_v__dict = __pyx_t_12; - __pyx_t_12 = 0; + __pyx_t_13 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_13); + __pyx_v__dict = __pyx_t_13; + __pyx_t_13 = 0; + } - /* "(tree fragment)":7 - * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_14 = (__pyx_v__dict != Py_None); - if (__pyx_t_14) { + __pyx_t_15 = (__pyx_v__dict != Py_None); + if (__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L4_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(1, 7, __pyx_L1_error) - __pyx_t_13 = __pyx_t_14; - __pyx_L4_bool_binop_done:; - if (__pyx_t_13) { + __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(1, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_14 = __pyx_t_15; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_14) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_12 = PyTuple_New(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 8, __pyx_L1_error); - __pyx_t_11 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_12); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_11)); - __pyx_t_11 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 9, __pyx_L1_error); + __pyx_t_13 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_13); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_13)); + __pyx_t_13 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -9684,17 +10895,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.abs_path_filename, self.always_filtered_out, self.always_skip_code, self.bp_line_to_breakpoint, self.breakpoint_found, self.canonical_normalized_filename, self.co_filename, self.co_name, self.code_obj, self.filtered_out_force_checked, self.function_breakpoint, self.function_breakpoint_found, self.plugin_call_breakpoint_found, self.plugin_call_stepping, self.plugin_line_breakpoint_found, self.plugin_line_stepping, self.plugin_return_stepping, self.pydb_mtime, self.try_except_container_obj) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.abs_path_filename is not None or self.bp_line_to_breakpoint is not None or self.canonical_normalized_filename is not None or self.co_filename is not None or self.co_name is not None or self.code_obj is not None or self.function_breakpoint is not None or self.try_except_container_obj is not None # <<<<<<<<<<<<<< @@ -9702,56 +10913,79 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, None), state */ /*else*/ { - __pyx_t_14 = (__pyx_v_self->abs_path_filename != ((PyObject*)Py_None)); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->abs_path_filename != ((PyObject*)Py_None)); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->bp_line_to_breakpoint != ((PyObject*)Py_None)); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->bp_line_to_breakpoint != ((PyObject*)Py_None)); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->canonical_normalized_filename != ((PyObject*)Py_None)); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->canonical_normalized_filename != ((PyObject*)Py_None)); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->co_filename != ((PyObject*)Py_None)); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->co_filename != ((PyObject*)Py_None)); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->co_name != ((PyObject*)Py_None)); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->co_name != ((PyObject*)Py_None)); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->code_obj != Py_None); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->code_obj != Py_None); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->function_breakpoint != Py_None); - if (!__pyx_t_14) { + __pyx_t_15 = (__pyx_v_self->function_breakpoint != Py_None); + if (!__pyx_t_15) { + } else { - __pyx_t_13 = __pyx_t_14; - goto __pyx_L6_bool_binop_done; + + __pyx_t_14 = __pyx_t_15; + + goto __pyx_L9_bool_binop_done; } - __pyx_t_14 = (__pyx_v_self->try_except_container_obj != Py_None); - __pyx_t_13 = __pyx_t_14; - __pyx_L6_bool_binop_done:; - __pyx_v_use_setstate = __pyx_t_13; + __pyx_t_15 = (__pyx_v_self->try_except_container_obj != Py_None); + + __pyx_t_14 = __pyx_t_15; + + __pyx_L9_bool_binop_done:; + __pyx_v_use_setstate = __pyx_t_14; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.abs_path_filename is not None or self.bp_line_to_breakpoint is not None or self.canonical_normalized_filename is not None or self.co_filename is not None or self.co_name is not None or self.code_obj is not None or self.function_breakpoint is not None or self.try_except_container_obj is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -9760,43 +10994,49 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.abs_path_filename is not None or self.bp_line_to_breakpoint is not None or self.canonical_normalized_filename is not None or self.co_filename is not None or self.co_name is not None or self.code_obj is not None or self.function_breakpoint is not None or self.try_except_container_obj is not None * if use_setstate: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_FuncCodeInfo); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = PyTuple_New(3); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_12); + __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_FuncCodeInfo); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_13); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_66323410); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_66323410); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_mstate_global->__pyx_int_66323410) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_66323410) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 2, Py_None) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_10 = PyTuple_New(3); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - __Pyx_GIVEREF(__pyx_t_11); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_t_11) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_12); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_10, 1, __pyx_t_12) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_12 = PyTuple_New(3); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_GIVEREF(__pyx_t_13); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_13) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_10, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_11 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_13 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_12; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_12 = 0; - __pyx_r = __pyx_t_10; - __pyx_t_10 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.abs_path_filename is not None or self.bp_line_to_breakpoint is not None or self.canonical_normalized_filename is not None or self.co_filename is not None or self.co_name is not None or self.code_obj is not None or self.function_breakpoint is not None or self.try_except_container_obj is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -9805,7 +11045,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, None), state * else: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) # <<<<<<<<<<<<<< @@ -9813,30 +11053,36 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu * __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_FuncCodeInfo); if (unlikely(!__pyx_t_10)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - __pyx_t_12 = PyTuple_New(3); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_pyx_unpickle_FuncCodeInfo); if (unlikely(!__pyx_t_12)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_12); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_66323410); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_66323410); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_mstate_global->__pyx_int_66323410) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_66323410) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); - __Pyx_GIVEREF(__pyx_t_10); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_10) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_13); __Pyx_GIVEREF(__pyx_t_12); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_12) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_10 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_12) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __pyx_t_12 = 0; - __pyx_r = __pyx_t_11; - __pyx_t_11 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_13; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_13 = 0; goto __pyx_L0; } @@ -9860,17 +11106,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu __Pyx_XDECREF(__pyx_t_10); __Pyx_XDECREF(__pyx_t_11); __Pyx_XDECREF(__pyx_t_12); + __Pyx_XDECREF(__pyx_t_13); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.FuncCodeInfo.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -9879,7 +11127,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__redu /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -9887,14 +11135,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -9905,7 +11153,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -9916,32 +11164,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -9972,24 +11220,24 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_6__sets int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(1, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(1, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -10010,7 +11258,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_6__sets return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":449 +/* "_pydevd_sys_monitoring_cython.pyx":455 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<< @@ -10036,7 +11284,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_thread_info", 0); - /* "_pydevd_sys_monitoring_cython.pyx":459 + /* "_pydevd_sys_monitoring_cython.pyx":465 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -10052,24 +11300,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":462 + /* "_pydevd_sys_monitoring_cython.pyx":468 * # Note: changing to a `dict[thread.ident] = thread_info` had almost no * # effect in the performance. * return _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * if not create: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 462, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 468, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 462, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 468, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":459 + /* "_pydevd_sys_monitoring_cython.pyx":465 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -10081,7 +11335,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":463 + /* "_pydevd_sys_monitoring_cython.pyx":469 * # effect in the performance. * return _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -10090,12 +11344,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_thread_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 463, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 469, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":464 + /* "_pydevd_sys_monitoring_cython.pyx":470 * return _thread_local_info.thread_info * except: * if not create: # <<<<<<<<<<<<<< @@ -10103,23 +11357,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ * thread_info = _create_thread_info(depth + 1) */ __pyx_t_7 = (!__pyx_v_create); + if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":465 + + /* "_pydevd_sys_monitoring_cython.pyx":471 * except: * if not create: * return None # <<<<<<<<<<<<<< * thread_info = _create_thread_info(depth + 1) * if thread_info is None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":464 + /* "_pydevd_sys_monitoring_cython.pyx":470 * return _thread_local_info.thread_info * except: * if not create: # <<<<<<<<<<<<<< @@ -10128,22 +11390,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ } - /* "_pydevd_sys_monitoring_cython.pyx":466 + /* "_pydevd_sys_monitoring_cython.pyx":472 * if not create: * return None * thread_info = _create_thread_info(depth + 1) # <<<<<<<<<<<<<< * if thread_info is None: * return None */ - __pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_depth + 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 466, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_depth + 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 472, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 466, __pyx_L5_except_error) + __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 472, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_thread_info = __pyx_t_9; __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":467 + /* "_pydevd_sys_monitoring_cython.pyx":473 * return None * thread_info = _create_thread_info(depth + 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -10153,21 +11415,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __pyx_t_7 = (__pyx_v_thread_info == Py_None); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":468 + + /* "_pydevd_sys_monitoring_cython.pyx":474 * thread_info = _create_thread_info(depth + 1) * if thread_info is None: * return None # <<<<<<<<<<<<<< * * _thread_local_info.thread_info = thread_info */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":467 + /* "_pydevd_sys_monitoring_cython.pyx":473 * return None * thread_info = _create_thread_info(depth + 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -10176,32 +11445,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ } - /* "_pydevd_sys_monitoring_cython.pyx":470 + /* "_pydevd_sys_monitoring_cython.pyx":476 * return None * * _thread_local_info.thread_info = thread_info # <<<<<<<<<<<<<< * return _thread_local_info.thread_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 470, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 476, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_info, __pyx_v_thread_info) < (0)) __PYX_ERR(0, 470, __pyx_L5_except_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_info, __pyx_v_thread_info) < (0)) __PYX_ERR(0, 476, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":471 + /* "_pydevd_sys_monitoring_cython.pyx":477 * * _thread_local_info.thread_info = thread_info * return _thread_local_info.thread_info # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 471, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 477, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 471, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 477, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - __pyx_r = __pyx_t_8; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_8; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -10209,7 +11484,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":459 + /* "_pydevd_sys_monitoring_cython.pyx":465 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -10236,7 +11511,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":449 + /* "_pydevd_sys_monitoring_cython.pyx":455 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<< @@ -10260,7 +11535,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":490 +/* "_pydevd_sys_monitoring_cython.pyx":496 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, dict line_to_offset, int first_line, int last_line): # <<<<<<<<<<<<<< @@ -10269,12 +11544,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ /* Python wrapper */ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_line_to_offset = 0; int __pyx_v_first_line; int __pyx_v_last_line; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[3] = {0,0,0}; int __pyx_lineno = 0; @@ -10283,55 +11572,57 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(Py int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_line_to_offset,&__pyx_mstate_global->__pyx_n_u_first_line,&__pyx_mstate_global->__pyx_n_u_last_line,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 490, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 496, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: - values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 490, __pyx_L3_error) + values[2] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 2); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 496, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 490, __pyx_L3_error) + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 496, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 490, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 496, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 490, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 496, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 3; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, i); __PYX_ERR(0, 490, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, i); __PYX_ERR(0, 496, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 490, __pyx_L3_error) - values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 490, __pyx_L3_error) - values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 490, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 496, __pyx_L3_error) + values[1] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 1); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 496, __pyx_L3_error) + values[2] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 2); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 496, __pyx_L3_error) } __pyx_v_line_to_offset = ((PyObject*)values[0]); - __pyx_v_first_line = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_first_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 490, __pyx_L3_error) - __pyx_v_last_line = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_last_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 490, __pyx_L3_error) + __pyx_v_first_line = __Pyx_PyLong_As_int(values[1]); if (unlikely((__pyx_v_first_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 496, __pyx_L3_error) + __pyx_v_last_line = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_last_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 496, __pyx_L3_error) } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 490, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 496, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -10342,7 +11633,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(Py __Pyx_RefNannyFinishContext(); return -1; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_line_to_offset), (&PyDict_Type), 1, "line_to_offset", 1))) __PYX_ERR(0, 490, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_line_to_offset), (&PyDict_Type), 1, "line_to_offset", 1))) __PYX_ERR(0, 496, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v_self), __pyx_v_line_to_offset, __pyx_v_first_line, __pyx_v_last_line); /* function exit code */ @@ -10358,6 +11649,8 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(Py Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10367,7 +11660,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":491 + /* "_pydevd_sys_monitoring_cython.pyx":497 * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, dict line_to_offset, int first_line, int last_line): * self.line_to_offset = line_to_offset # <<<<<<<<<<<<<< @@ -10377,10 +11670,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str __Pyx_INCREF(__pyx_v_line_to_offset); __Pyx_GIVEREF(__pyx_v_line_to_offset); __Pyx_GOTREF(__pyx_v_self->line_to_offset); - __Pyx_DECREF(__pyx_v_self->line_to_offset); - __pyx_v_self->line_to_offset = __pyx_v_line_to_offset; + __Pyx_DECREF_SET(__pyx_v_self->line_to_offset, __pyx_v_line_to_offset); - /* "_pydevd_sys_monitoring_cython.pyx":492 + /* "_pydevd_sys_monitoring_cython.pyx":498 * def __init__(self, dict line_to_offset, int first_line, int last_line): * self.line_to_offset = line_to_offset * self.first_line = first_line # <<<<<<<<<<<<<< @@ -10389,7 +11681,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str */ __pyx_v_self->first_line = __pyx_v_first_line; - /* "_pydevd_sys_monitoring_cython.pyx":493 + /* "_pydevd_sys_monitoring_cython.pyx":499 * self.line_to_offset = line_to_offset * self.first_line = first_line * self.last_line = last_line # <<<<<<<<<<<<<< @@ -10398,7 +11690,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str */ __pyx_v_self->last_line = __pyx_v_last_line; - /* "_pydevd_sys_monitoring_cython.pyx":490 + /* "_pydevd_sys_monitoring_cython.pyx":496 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, dict line_to_offset, int first_line, int last_line): # <<<<<<<<<<<<<< @@ -10408,6 +11700,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -10420,7 +11713,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(str /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10428,20 +11721,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -10469,8 +11762,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red PyObject *__pyx_t_1 = NULL; PyObject *__pyx_t_2 = NULL; PyObject *__pyx_t_3 = NULL; - int __pyx_t_4; + PyObject *__pyx_t_4 = NULL; int __pyx_t_5; + int __pyx_t_6; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -10479,77 +11773,119 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.first_line, self.last_line, self.line_to_offset) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.first_line, self.last_line, self.line_to_offset) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_self->first_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->last_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __Pyx_INCREF(__pyx_v_self->line_to_offset); - __Pyx_GIVEREF(__pyx_v_self->line_to_offset); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_self->line_to_offset) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __pyx_t_1 = 0; - __pyx_t_2 = 0; - __pyx_v_state = ((PyObject*)__pyx_t_3); - __pyx_t_3 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.first_line, self.last_line, self.line_to_offset) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.first_line, self.last_line, self.line_to_offset) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_self->first_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyLong_From_int(__pyx_v_self->last_line); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __Pyx_INCREF(__pyx_v_self->line_to_offset); + __Pyx_GIVEREF(__pyx_v_self->line_to_offset); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_self->line_to_offset) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __pyx_t_2 = 0; + __pyx_t_3 = 0; + __pyx_v_state = ((PyObject*)__pyx_t_4); + __pyx_t_4 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.first_line, self.last_line, self.line_to_offset) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_v__dict = __pyx_t_3; - __pyx_t_3 = 0; + __pyx_t_4 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_v__dict = __pyx_t_4; + __pyx_t_4 = 0; + } - /* "(tree fragment)":7 - * state = (self.first_line, self.last_line, self.line_to_offset) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.first_line, self.last_line, self.line_to_offset) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.first_line, self.last_line, self.line_to_offset) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_5 = (__pyx_v__dict != Py_None); - if (__pyx_t_5) { + __pyx_t_6 = (__pyx_v__dict != Py_None); + if (__pyx_t_6) { + } else { - __pyx_t_4 = __pyx_t_5; - goto __pyx_L4_bool_binop_done; + + __pyx_t_5 = __pyx_t_6; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(1, 7, __pyx_L1_error) - __pyx_t_4 = __pyx_t_5; - __pyx_L4_bool_binop_done:; - if (__pyx_t_4) { + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(1, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_5 = __pyx_t_6; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_5) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 8, __pyx_L1_error); - __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); - __pyx_t_2 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 9, __pyx_L1_error); + __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); + __pyx_t_4 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -10558,17 +11894,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.first_line, self.last_line, self.line_to_offset) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.first_line, self.last_line, self.line_to_offset) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.line_to_offset is not None # <<<<<<<<<<<<<< @@ -10576,12 +11912,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state */ /*else*/ { - __pyx_t_4 = (__pyx_v_self->line_to_offset != ((PyObject*)Py_None)); - __pyx_v_use_setstate = __pyx_t_4; + __pyx_t_5 = (__pyx_v_self->line_to_offset != ((PyObject*)Py_None)); + __pyx_v_use_setstate = __pyx_t_5; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.line_to_offset is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -10590,43 +11926,49 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.line_to_offset is not None * if use_setstate: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_95010005); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_95010005); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_mstate_global->__pyx_int_95010005) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_95010005) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_None) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_3) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_2 = 0; - __pyx_t_3 = 0; - __pyx_r = __pyx_t_1; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_4 = 0; __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_3; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_3 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.line_to_offset is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -10635,7 +11977,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state * else: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) # <<<<<<<<<<<<<< @@ -10643,30 +11985,36 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_95010005); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_95010005); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_mstate_global->__pyx_int_95010005) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_95010005) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_1 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __pyx_t_3 = 0; - __pyx_r = __pyx_t_2; - __pyx_t_2 = 0; + __pyx_t_1 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_4 = 0; goto __pyx_L0; } @@ -10681,17 +12029,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._CodeLineInfo.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -10700,7 +12050,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__red /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -10708,14 +12058,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -10726,7 +12076,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -10737,32 +12087,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -10793,24 +12143,24 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__set int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(1, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(1, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -10831,7 +12181,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__set return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":507 +/* "_pydevd_sys_monitoring_cython.pyx":513 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -10840,7 +12190,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__set */ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyObject *__pyx_v_code_obj, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info *__pyx_optional_args) { - PyObject *__pyx_v__cache = __pyx_mstate_global->__pyx_k__2; + PyObject *__pyx_v__cache = __pyx_mstate_global->__pyx_k__3; PyObject *__pyx_v_line_to_offset = NULL; PyObject *__pyx_v_first_line = NULL; PyObject *__pyx_v_last_line = NULL; @@ -10875,7 +12225,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 } } - /* "_pydevd_sys_monitoring_cython.pyx":512 + /* "_pydevd_sys_monitoring_cython.pyx":518 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -10891,22 +12241,28 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":513 + /* "_pydevd_sys_monitoring_cython.pyx":519 * # fmt: on * try: * return _cache[code_obj] # <<<<<<<<<<<<<< * except: * line_to_offset = {} */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v__cache, __pyx_v_code_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 513, __pyx_L3_error) + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v__cache, __pyx_v_code_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 519, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo))))) __PYX_ERR(0, 513, __pyx_L3_error) - __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_4); + if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo))))) __PYX_ERR(0, 519, __pyx_L3_error) + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_4); + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":512 + /* "_pydevd_sys_monitoring_cython.pyx":518 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -10917,7 +12273,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __pyx_L3_error:; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":514 + /* "_pydevd_sys_monitoring_cython.pyx":520 * try: * return _cache[code_obj] * except: # <<<<<<<<<<<<<< @@ -10926,24 +12282,24 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_code_line_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 514, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 520, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":515 + /* "_pydevd_sys_monitoring_cython.pyx":521 * return _cache[code_obj] * except: * line_to_offset = {} # <<<<<<<<<<<<<< * first_line = None * last_line = None */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 515, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 521, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_line_to_offset = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":516 + /* "_pydevd_sys_monitoring_cython.pyx":522 * except: * line_to_offset = {} * first_line = None # <<<<<<<<<<<<<< @@ -10953,7 +12309,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_INCREF(Py_None); __pyx_v_first_line = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":517 + /* "_pydevd_sys_monitoring_cython.pyx":523 * line_to_offset = {} * first_line = None * last_line = None # <<<<<<<<<<<<<< @@ -10963,7 +12319,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_INCREF(Py_None); __pyx_v_last_line = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":519 + /* "_pydevd_sys_monitoring_cython.pyx":525 * last_line = None * * for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<< @@ -10971,9 +12327,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 * line_to_offset[line] = offset */ __pyx_t_8 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_dis); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_dis); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_findlinestarts); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_findlinestarts); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_11 = 1; @@ -10993,7 +12349,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_10, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); } if (likely(PyList_CheckExact(__pyx_t_7)) || PyTuple_CheckExact(__pyx_t_7)) { @@ -11001,9 +12357,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __pyx_t_12 = 0; __pyx_t_13 = NULL; } else { - __pyx_t_12 = -1; __pyx_t_10 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_12 = -1; __pyx_t_10 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_13 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_10); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_13 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_10); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 525, __pyx_L5_except_error) } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; for (;;) { @@ -11012,17 +12368,17 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_10); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 525, __pyx_L5_except_error) #endif if (__pyx_t_12 >= __pyx_temp) break; } - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(__pyx_t_10, __pyx_t_12, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_10, __pyx_t_12, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_12; } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_10); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 525, __pyx_L5_except_error) #endif if (__pyx_t_12 >= __pyx_temp) break; } @@ -11033,13 +12389,13 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 #endif ++__pyx_t_12; } - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 525, __pyx_L5_except_error) } else { __pyx_t_7 = __pyx_t_13(__pyx_t_10); if (unlikely(!__pyx_t_7)) { PyObject* exc_type = PyErr_Occurred(); if (exc_type) { - if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 525, __pyx_L5_except_error) PyErr_Clear(); } break; @@ -11052,7 +12408,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 519, __pyx_L5_except_error) + __PYX_ERR(0, 525, __pyx_L5_except_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -11061,23 +12417,23 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __pyx_t_9 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_9); } else { - __pyx_t_8 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_9); } #else - __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_14 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 519, __pyx_L5_except_error) + __pyx_t_14 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 525, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_15 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_14); @@ -11085,7 +12441,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_GOTREF(__pyx_t_8); index = 1; __pyx_t_9 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_9)) goto __pyx_L13_unpacking_failed; __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 2) < (0)) __PYX_ERR(0, 519, __pyx_L5_except_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 2) < (0)) __PYX_ERR(0, 525, __pyx_L5_except_error) __pyx_t_15 = NULL; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; goto __pyx_L14_unpacking_done; @@ -11093,7 +12449,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 519, __pyx_L5_except_error) + __PYX_ERR(0, 525, __pyx_L5_except_error) __pyx_L14_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_offset, __pyx_t_8); @@ -11101,7 +12457,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __Pyx_XDECREF_SET(__pyx_v_line, __pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":520 + /* "_pydevd_sys_monitoring_cython.pyx":526 * * for offset, line in dis.findlinestarts(code_obj): * if line is not None: # <<<<<<<<<<<<<< @@ -11111,16 +12467,17 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 __pyx_t_16 = (__pyx_v_line != Py_None); if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":521 + + /* "_pydevd_sys_monitoring_cython.pyx":527 * for offset, line in dis.findlinestarts(code_obj): * if line is not None: * line_to_offset[line] = offset # <<<<<<<<<<<<<< * * if len(line_to_offset): */ - if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 521, __pyx_L5_except_error) + if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 527, __pyx_L5_except_error) - /* "_pydevd_sys_monitoring_cython.pyx":520 + /* "_pydevd_sys_monitoring_cython.pyx":526 * * for offset, line in dis.findlinestarts(code_obj): * if line is not None: # <<<<<<<<<<<<<< @@ -11129,7 +12486,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 */ } - /* "_pydevd_sys_monitoring_cython.pyx":519 + /* "_pydevd_sys_monitoring_cython.pyx":525 * last_line = None * * for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<< @@ -11139,18 +12496,21 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 } __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":523 + /* "_pydevd_sys_monitoring_cython.pyx":529 * line_to_offset[line] = offset * * if len(line_to_offset): # <<<<<<<<<<<<<< * first_line = min(line_to_offset) * last_line = max(line_to_offset) */ - __pyx_t_12 = PyDict_Size(__pyx_v_line_to_offset); if (unlikely(__pyx_t_12 == ((Py_ssize_t)-1))) __PYX_ERR(0, 523, __pyx_L5_except_error) + __pyx_t_12 = PyDict_Size(__pyx_v_line_to_offset); if (unlikely(__pyx_t_12 == ((Py_ssize_t)-1))) __PYX_ERR(0, 529, __pyx_L5_except_error) __pyx_t_16 = (__pyx_t_12 != 0); + + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":524 + + /* "_pydevd_sys_monitoring_cython.pyx":530 * * if len(line_to_offset): * first_line = min(line_to_offset) # <<<<<<<<<<<<<< @@ -11163,13 +12523,13 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_line_to_offset}; __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_min, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 524, __pyx_L5_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 530, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); } __Pyx_DECREF_SET(__pyx_v_first_line, __pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":525 + /* "_pydevd_sys_monitoring_cython.pyx":531 * if len(line_to_offset): * first_line = min(line_to_offset) * last_line = max(line_to_offset) # <<<<<<<<<<<<<< @@ -11182,13 +12542,13 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_line_to_offset}; __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_max, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 525, __pyx_L5_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 531, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); } __Pyx_DECREF_SET(__pyx_v_last_line, __pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":523 + /* "_pydevd_sys_monitoring_cython.pyx":529 * line_to_offset[line] = offset * * if len(line_to_offset): # <<<<<<<<<<<<<< @@ -11197,7 +12557,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 */ } - /* "_pydevd_sys_monitoring_cython.pyx":526 + /* "_pydevd_sys_monitoring_cython.pyx":532 * first_line = min(line_to_offset) * last_line = max(line_to_offset) * ret = _CodeLineInfo(line_to_offset, first_line, last_line) # <<<<<<<<<<<<<< @@ -11210,38 +12570,44 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_v_line_to_offset, __pyx_v_first_line, __pyx_v_last_line}; __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 526, __pyx_L5_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 532, __pyx_L5_except_error) __Pyx_GOTREF((PyObject *)__pyx_t_10); } __pyx_v_ret = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":527 + /* "_pydevd_sys_monitoring_cython.pyx":533 * last_line = max(line_to_offset) * ret = _CodeLineInfo(line_to_offset, first_line, last_line) * _cache[code_obj] = ret # <<<<<<<<<<<<<< * return ret * */ - if (unlikely((PyObject_SetItem(__pyx_v__cache, __pyx_v_code_obj, ((PyObject *)__pyx_v_ret)) < 0))) __PYX_ERR(0, 527, __pyx_L5_except_error) + if (unlikely((PyObject_SetItem(__pyx_v__cache, __pyx_v_code_obj, ((PyObject *)__pyx_v_ret)) < 0))) __PYX_ERR(0, 533, __pyx_L5_except_error) - /* "_pydevd_sys_monitoring_cython.pyx":528 + /* "_pydevd_sys_monitoring_cython.pyx":534 * ret = _CodeLineInfo(line_to_offset, first_line, last_line) * _cache[code_obj] = ret * return ret # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_ret); - __pyx_r = __pyx_v_ret; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_ret); + __pyx_r = __pyx_v_ret; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":512 + /* "_pydevd_sys_monitoring_cython.pyx":518 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -11268,7 +12634,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":507 + /* "_pydevd_sys_monitoring_cython.pyx":513 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -11300,7 +12666,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":536 +/* "_pydevd_sys_monitoring_cython.pyx":542 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< @@ -11309,7 +12675,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_2 */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_3_get_func_code_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -11353,8 +12719,8 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_t_12 = NULL; struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_13; PyObject *__pyx_t_14[3]; - int __pyx_t_15; - Py_ssize_t __pyx_t_16; + Py_ssize_t __pyx_t_15; + int __pyx_t_16; Py_ssize_t __pyx_t_17; int __pyx_t_18; int __pyx_lineno = 0; @@ -11362,22 +12728,22 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_func_code_info", 0); - /* "_pydevd_sys_monitoring_cython.pyx":550 + /* "_pydevd_sys_monitoring_cython.pyx":556 * Note that this can be called by any thread. * """ * py_db = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None: * return None */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 550, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 550, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":551 + /* "_pydevd_sys_monitoring_cython.pyx":557 * """ * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -11387,18 +12753,25 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_py_db == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":552 + + /* "_pydevd_sys_monitoring_cython.pyx":558 * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: * return None # <<<<<<<<<<<<<< * * func_code_info = _code_to_func_code_info_cache.get(code_obj) */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)Py_None); __Pyx_INCREF(Py_None); + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)Py_None); __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":551 + /* "_pydevd_sys_monitoring_cython.pyx":557 * """ * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -11407,7 +12780,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":554 + /* "_pydevd_sys_monitoring_cython.pyx":560 * return None * * func_code_info = _code_to_func_code_info_cache.get(code_obj) # <<<<<<<<<<<<<< @@ -11415,9 +12788,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 * if func_code_info.pydb_mtime == py_db.mtime: */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 554, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 554, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_6 = 1; @@ -11437,14 +12810,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 554, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 560, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo))))) __PYX_ERR(0, 554, __pyx_L1_error) + if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo))))) __PYX_ERR(0, 560, __pyx_L1_error) __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":555 + /* "_pydevd_sys_monitoring_cython.pyx":561 * * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: # <<<<<<<<<<<<<< @@ -11454,37 +12827,43 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (((PyObject *)__pyx_v_func_code_info) != Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":556 + + /* "_pydevd_sys_monitoring_cython.pyx":562 * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: * if func_code_info.pydb_mtime == py_db.mtime: # <<<<<<<<<<<<<< * # if DEBUG: * # print('_get_func_code_info: matched mtime', key, code_obj) */ - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_func_code_info->pydb_mtime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 556, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_func_code_info->pydb_mtime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 562, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_mtime); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 556, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_mtime); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 562, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 556, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_CompareBoolEq_int_object(__pyx_t_2, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 562, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 556, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":559 + + /* "_pydevd_sys_monitoring_cython.pyx":565 * # if DEBUG: * # print('_get_func_code_info: matched mtime', key, code_obj) * return func_code_info # <<<<<<<<<<<<<< * * # fmt: off */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); - __pyx_r = __pyx_v_func_code_info; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); + __pyx_r = __pyx_v_func_code_info; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":556 + /* "_pydevd_sys_monitoring_cython.pyx":562 * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: * if func_code_info.pydb_mtime == py_db.mtime: # <<<<<<<<<<<<<< @@ -11493,7 +12872,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":555 + /* "_pydevd_sys_monitoring_cython.pyx":561 * * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: # <<<<<<<<<<<<<< @@ -11502,7 +12881,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":568 + /* "_pydevd_sys_monitoring_cython.pyx":574 * cdef str co_filename * cdef str co_name * code = code_obj # <<<<<<<<<<<<<< @@ -11511,50 +12890,50 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_code = ((PyCodeObject *)__pyx_v_code_obj); - /* "_pydevd_sys_monitoring_cython.pyx":569 + /* "_pydevd_sys_monitoring_cython.pyx":575 * cdef str co_name * code = code_obj * co_filename = code.co_filename # <<<<<<<<<<<<<< * co_name = code.co_name * # ELSE */ - __pyx_t_1 = ((PyObject *)__pyx_v_code->co_filename); - __Pyx_INCREF(__pyx_t_1); - __pyx_v_co_filename = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_5 = ((PyObject *)__pyx_v_code->co_filename); + __Pyx_INCREF(__pyx_t_5); + __pyx_v_co_filename = ((PyObject*)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":570 + /* "_pydevd_sys_monitoring_cython.pyx":576 * code = code_obj * co_filename = code.co_filename * co_name = code.co_name # <<<<<<<<<<<<<< * # ELSE * # cache_file_type: dict */ - __pyx_t_1 = ((PyObject *)__pyx_v_code->co_name); - __Pyx_INCREF(__pyx_t_1); - __pyx_v_co_name = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_5 = ((PyObject *)__pyx_v_code->co_name); + __Pyx_INCREF(__pyx_t_5); + __pyx_v_co_name = ((PyObject*)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":582 + /* "_pydevd_sys_monitoring_cython.pyx":588 * # print('_get_func_code_info: new (mtime did not match)', key, code_obj) * * func_code_info = FuncCodeInfo() # <<<<<<<<<<<<<< * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) */ - __pyx_t_5 = NULL; + __pyx_t_2 = NULL; __pyx_t_6 = 1; { - PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) - __Pyx_GOTREF((PyObject *)__pyx_t_1); + PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; + __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 588, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_5); } - __Pyx_DECREF_SET(__pyx_v_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_1)); - __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5)); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":583 + /* "_pydevd_sys_monitoring_cython.pyx":589 * * func_code_info = FuncCodeInfo() * func_code_info.code_obj = code_obj # <<<<<<<<<<<<<< @@ -11564,47 +12943,46 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(__pyx_v_code_obj); __Pyx_GIVEREF(__pyx_v_code_obj); __Pyx_GOTREF(__pyx_v_func_code_info->code_obj); - __Pyx_DECREF(__pyx_v_func_code_info->code_obj); - __pyx_v_func_code_info->code_obj = __pyx_v_code_obj; + __Pyx_DECREF_SET(__pyx_v_func_code_info->code_obj, __pyx_v_code_obj); - /* "_pydevd_sys_monitoring_cython.pyx":584 + /* "_pydevd_sys_monitoring_cython.pyx":590 * func_code_info = FuncCodeInfo() * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) # <<<<<<<<<<<<<< * line_to_offset = code_line_info.line_to_offset * func_code_info.pydb_mtime = py_db.mtime */ - __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(__pyx_v_code_obj, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 584, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_code_line_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(__pyx_v_code_obj, NULL)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 590, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_code_line_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":585 + /* "_pydevd_sys_monitoring_cython.pyx":591 * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) * line_to_offset = code_line_info.line_to_offset # <<<<<<<<<<<<<< * func_code_info.pydb_mtime = py_db.mtime * */ - __pyx_t_1 = __pyx_v_code_line_info->line_to_offset; - __Pyx_INCREF(__pyx_t_1); - __pyx_v_line_to_offset = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_5 = __pyx_v_code_line_info->line_to_offset; + __Pyx_INCREF(__pyx_t_5); + __pyx_v_line_to_offset = ((PyObject*)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":586 + /* "_pydevd_sys_monitoring_cython.pyx":592 * code_line_info = _get_code_line_info(code_obj) * line_to_offset = code_line_info.line_to_offset * func_code_info.pydb_mtime = py_db.mtime # <<<<<<<<<<<<<< * * func_code_info.co_filename = co_filename */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_mtime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 586, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 586, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_mtime); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 592, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_PyLong_As_int(__pyx_t_5); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 592, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_func_code_info->pydb_mtime = __pyx_t_7; - /* "_pydevd_sys_monitoring_cython.pyx":588 + /* "_pydevd_sys_monitoring_cython.pyx":594 * func_code_info.pydb_mtime = py_db.mtime * * func_code_info.co_filename = co_filename # <<<<<<<<<<<<<< @@ -11614,10 +12992,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(__pyx_v_co_filename); __Pyx_GIVEREF(__pyx_v_co_filename); __Pyx_GOTREF(__pyx_v_func_code_info->co_filename); - __Pyx_DECREF(__pyx_v_func_code_info->co_filename); - __pyx_v_func_code_info->co_filename = __pyx_v_co_filename; + __Pyx_DECREF_SET(__pyx_v_func_code_info->co_filename, __pyx_v_co_filename); - /* "_pydevd_sys_monitoring_cython.pyx":589 + /* "_pydevd_sys_monitoring_cython.pyx":595 * * func_code_info.co_filename = co_filename * func_code_info.co_name = co_name # <<<<<<<<<<<<<< @@ -11627,10 +13004,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(__pyx_v_co_name); __Pyx_GIVEREF(__pyx_v_co_name); __Pyx_GOTREF(__pyx_v_func_code_info->co_name); - __Pyx_DECREF(__pyx_v_func_code_info->co_name); - __pyx_v_func_code_info->co_name = __pyx_v_co_name; + __Pyx_DECREF_SET(__pyx_v_func_code_info->co_name, __pyx_v_co_name); - /* "_pydevd_sys_monitoring_cython.pyx":592 + /* "_pydevd_sys_monitoring_cython.pyx":598 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -11646,22 +13022,22 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XGOTREF(__pyx_t_10); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":593 + /* "_pydevd_sys_monitoring_cython.pyx":599 * # Compute whether to always skip this. * try: * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] # <<<<<<<<<<<<<< * except: * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 593, __pyx_L6_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_v_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 593, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 599, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_v_abs_path_real_path_and_base = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_2 = __Pyx_PyObject_Dict_GetItem(__pyx_t_5, __pyx_v_co_filename); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 599, __pyx_L6_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_v_abs_path_real_path_and_base = __pyx_t_2; + __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":592 + /* "_pydevd_sys_monitoring_cython.pyx":598 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -11679,7 +13055,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":594 + /* "_pydevd_sys_monitoring_cython.pyx":600 * try: * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] * except: # <<<<<<<<<<<<<< @@ -11688,12 +13064,12 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_func_code_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 594, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(0, 600, __pyx_L8_except_error) + __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_1); - __Pyx_XGOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":595 + /* "_pydevd_sys_monitoring_cython.pyx":601 * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] * except: * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) # <<<<<<<<<<<<<< @@ -11701,7 +13077,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] */ __pyx_t_11 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 595, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 601, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -11720,18 +13096,18 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_12, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L8_except_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 601, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_XDECREF_SET(__pyx_v_abs_path_real_path_and_base, __pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":592 + /* "_pydevd_sys_monitoring_cython.pyx":598 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -11752,39 +13128,37 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_L11_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":597 + /* "_pydevd_sys_monitoring_cython.pyx":603 * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) * * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] # <<<<<<<<<<<<<< * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] * */ - __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 597, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 597, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_2); + __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 603, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 603, __pyx_L1_error) + __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_func_code_info->abs_path_filename); - __Pyx_DECREF(__pyx_v_func_code_info->abs_path_filename); - __pyx_v_func_code_info->abs_path_filename = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_func_code_info->abs_path_filename, ((PyObject*)__pyx_t_1)); + __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":598 + /* "_pydevd_sys_monitoring_cython.pyx":604 * * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] # <<<<<<<<<<<<<< * * frame = None */ - __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 598, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 598, __pyx_L1_error) - __Pyx_GIVEREF(__pyx_t_2); + __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 604, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 604, __pyx_L1_error) + __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_func_code_info->canonical_normalized_filename); - __Pyx_DECREF(__pyx_v_func_code_info->canonical_normalized_filename); - __pyx_v_func_code_info->canonical_normalized_filename = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_func_code_info->canonical_normalized_filename, ((PyObject*)__pyx_t_1)); + __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":600 + /* "_pydevd_sys_monitoring_cython.pyx":606 * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] * * frame = None # <<<<<<<<<<<<<< @@ -11794,53 +13168,53 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(Py_None); __pyx_v_frame = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":601 + /* "_pydevd_sys_monitoring_cython.pyx":607 * * frame = None * cache_file_type = py_db.get_cache_file_type() # <<<<<<<<<<<<<< * # Note: this cache key must be the same from PyDB.get_file_type() -- see it for comments * # on the cache. */ - __pyx_t_1 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_1); + __pyx_t_5 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL}; - __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_cache_file_type, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 601, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL}; + __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_cache_file_type, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 607, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); } - if (!(likely(PyDict_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_2))) __PYX_ERR(0, 601, __pyx_L1_error) - __pyx_v_cache_file_type = ((PyObject*)__pyx_t_2); - __pyx_t_2 = 0; + if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(0, 607, __pyx_L1_error) + __pyx_v_cache_file_type = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":604 + /* "_pydevd_sys_monitoring_cython.pyx":610 * # Note: this cache key must be the same from PyDB.get_file_type() -- see it for comments * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) # <<<<<<<<<<<<<< * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster */ - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_code->co_firstlineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 604, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 604, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_code->co_firstlineno); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 604, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 610, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(0, 604, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 610, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 604, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1) != (0)) __PYX_ERR(0, 610, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_5) != (0)) __PYX_ERR(0, 610, __pyx_L1_error); __Pyx_INCREF(__pyx_v_code_obj); __Pyx_GIVEREF(__pyx_v_code_obj); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_code_obj) != (0)) __PYX_ERR(0, 604, __pyx_L1_error); - __pyx_t_2 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_code_obj) != (0)) __PYX_ERR(0, 610, __pyx_L1_error); __pyx_t_1 = 0; - __pyx_v_cache_file_type_key = ((PyObject*)__pyx_t_5); __pyx_t_5 = 0; + __pyx_v_cache_file_type_key = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":605 + /* "_pydevd_sys_monitoring_cython.pyx":611 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -11856,7 +13230,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XGOTREF(__pyx_t_8); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":606 + /* "_pydevd_sys_monitoring_cython.pyx":612 * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster # <<<<<<<<<<<<<< @@ -11864,15 +13238,15 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 * if frame is None: */ if (unlikely(__pyx_v_cache_file_type == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 606, __pyx_L14_error) + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not subscriptable"); + __PYX_ERR(0, 612, __pyx_L14_error) } - __pyx_t_5 = __Pyx_PyDict_GetItem(__pyx_v_cache_file_type, __pyx_v_cache_file_type_key); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 606, __pyx_L14_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_v_file_type = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_2 = __Pyx_PyDict_GetItem(__pyx_v_cache_file_type, __pyx_v_cache_file_type_key); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 612, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v_file_type = __pyx_t_2; + __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":605 + /* "_pydevd_sys_monitoring_cython.pyx":611 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -11892,7 +13266,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":607 + /* "_pydevd_sys_monitoring_cython.pyx":613 * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: # <<<<<<<<<<<<<< @@ -11901,12 +13275,12 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_func_code_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 607, __pyx_L16_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(0, 613, __pyx_L16_except_error) + __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_1); - __Pyx_XGOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":608 + /* "_pydevd_sys_monitoring_cython.pyx":614 * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: * if frame is None: # <<<<<<<<<<<<<< @@ -11916,39 +13290,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_frame == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":609 + + /* "_pydevd_sys_monitoring_cython.pyx":615 * except: * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 609, __pyx_L16_except_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 615, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = PyObject_RichCompare(__pyx_t_4, ((PyObject *)(&PyLong_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_12); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 609, __pyx_L16_except_error) + __pyx_t_3 = __Pyx_PyObject_RichCompareBool(__pyx_t_4, ((PyObject *)(&PyLong_Type)), Py_EQ); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 615, __pyx_L16_except_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_12); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 609, __pyx_L16_except_error) - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":610 + + /* "_pydevd_sys_monitoring_cython.pyx":616 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_12 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 610, __pyx_L16_except_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_t_13.__pyx_n = 1; - __pyx_t_13.depth = __pyx_t_12; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 610, __pyx_L16_except_error) + __pyx_t_4 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 616, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_4); - __pyx_t_4 = 0; + __pyx_t_13.__pyx_n = 1; + __pyx_t_13.depth = __pyx_t_4; + __pyx_t_12 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 616, __pyx_L16_except_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_12); + __pyx_t_12 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":609 + /* "_pydevd_sys_monitoring_cython.pyx":615 * except: * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -11958,7 +13332,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L23; } - /* "_pydevd_sys_monitoring_cython.pyx":612 + /* "_pydevd_sys_monitoring_cython.pyx":618 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -11971,7 +13345,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L23:; - /* "_pydevd_sys_monitoring_cython.pyx":613 + /* "_pydevd_sys_monitoring_cython.pyx":619 * else: * frame = frame_or_depth * assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj) # <<<<<<<<<<<<<< @@ -11980,36 +13354,45 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 613, __pyx_L16_except_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = (__pyx_t_4 == __pyx_v_code_obj); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 619, __pyx_L16_except_error) + __Pyx_GOTREF(__pyx_t_12); + __pyx_t_3 = (__pyx_t_12 == __pyx_v_code_obj); + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; if (unlikely(!__pyx_t_3)) { - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 613, __pyx_L16_except_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_4), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 613, __pyx_L16_except_error) + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 619, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_12); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_code_obj), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 613, __pyx_L16_except_error) + __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_12), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 619, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14[0] = __pyx_t_12; - __pyx_t_14[1] = __pyx_mstate_global->__pyx_kp_u__3; - __pyx_t_14[2] = __pyx_t_4; - __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_14, 3, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_12) + 4 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4)); - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 613, __pyx_L16_except_error) - __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_12 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_code_obj), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 619, __pyx_L16_except_error) + __Pyx_GOTREF(__pyx_t_12); + __pyx_t_14[0] = __pyx_t_4; + __pyx_t_14[1] = __pyx_mstate_global->__pyx_kp_u__4; + __pyx_t_14[2] = __pyx_t_12; + __pyx_t_15 = 4; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_15 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_14[0]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_14[2]); + #endif + __pyx_t_7 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_7 |= __Pyx_PyUnicode_KIND_04(__pyx_t_14[0]) | __Pyx_PyUnicode_KIND_04(__pyx_t_14[2]); + #endif + __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_14, 3, __pyx_t_15, __pyx_t_7); + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 619, __pyx_L16_except_error) + __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_AssertionError))), __pyx_t_11, 0, 0); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __PYX_ERR(0, 613, __pyx_L16_except_error) + __PYX_ERR(0, 619, __pyx_L16_except_error) } + } #else - if ((1)); else __PYX_ERR(0, 613, __pyx_L16_except_error) + if ((1)); else __PYX_ERR(0, 619, __pyx_L16_except_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":608 + /* "_pydevd_sys_monitoring_cython.pyx":614 * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: * if frame is None: # <<<<<<<<<<<<<< @@ -12018,32 +13401,32 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":615 + /* "_pydevd_sys_monitoring_cython.pyx":621 * assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj) * * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd # <<<<<<<<<<<<<< * * if file_type is not None: */ - __pyx_t_4 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_4); + __pyx_t_12 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_12); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_v_frame, __pyx_v_abs_path_real_path_and_base}; + PyObject *__pyx_callargs[3] = {__pyx_t_12, __pyx_v_frame, __pyx_v_abs_path_real_path_and_base}; __pyx_t_11 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_file_type, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 615, __pyx_L16_except_error) + __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 621, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_11); } __Pyx_XDECREF_SET(__pyx_v_file_type, __pyx_t_11); __pyx_t_11 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L15_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":605 + /* "_pydevd_sys_monitoring_cython.pyx":611 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -12064,7 +13447,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_L19_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":617 + /* "_pydevd_sys_monitoring_cython.pyx":623 * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd * * if file_type is not None: # <<<<<<<<<<<<<< @@ -12074,7 +13457,8 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_file_type != Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":618 + + /* "_pydevd_sys_monitoring_cython.pyx":624 * * if file_type is not None: * func_code_info.always_skip_code = True # <<<<<<<<<<<<<< @@ -12083,7 +13467,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_skip_code = 1; - /* "_pydevd_sys_monitoring_cython.pyx":619 + /* "_pydevd_sys_monitoring_cython.pyx":625 * if file_type is not None: * func_code_info.always_skip_code = True * func_code_info.always_filtered_out = True # <<<<<<<<<<<<<< @@ -12092,31 +13476,37 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_filtered_out = 1; - /* "_pydevd_sys_monitoring_cython.pyx":620 + /* "_pydevd_sys_monitoring_cython.pyx":626 * func_code_info.always_skip_code = True * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 620, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (unlikely((PyObject_SetItem(__pyx_t_2, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 620, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 626, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 626, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":621 + /* "_pydevd_sys_monitoring_cython.pyx":627 * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< * * # still not set, check for dont trace comments. */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); - __pyx_r = __pyx_v_func_code_info; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); + __pyx_r = __pyx_v_func_code_info; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":617 + /* "_pydevd_sys_monitoring_cython.pyx":623 * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd * * if file_type is not None: # <<<<<<<<<<<<<< @@ -12125,103 +13515,107 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":624 + /* "_pydevd_sys_monitoring_cython.pyx":630 * * # still not set, check for dont trace comments. * if pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< * # I.e.: cache the result skip (no need to evaluate the same frame multiple times). * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 624, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 624, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_3 = (__pyx_t_1 != Py_None); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 630, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_3 = (__pyx_t_5 != Py_None); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":628 + + /* "_pydevd_sys_monitoring_cython.pyx":634 * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): # <<<<<<<<<<<<<< * if frame is None: * if frame_or_depth.__class__ == int: */ - __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 628, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 628, __pyx_L1_error) + __pyx_t_1 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 634, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 634, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_11))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_11); - assert(__pyx_t_2); + __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_11); + assert(__pyx_t_1); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_11); - __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(__pyx_t_1); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_11, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_code_obj, __pyx_v_func_code_info->abs_path_filename}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_11, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_1, __pyx_v_code_obj, __pyx_v_func_code_info->abs_path_filename}; + __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_11, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 628, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 634, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 628, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_15 = (!__pyx_t_3); - if (__pyx_t_15) { + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 634, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_16 = (!__pyx_t_3); + + + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":629 + + /* "_pydevd_sys_monitoring_cython.pyx":635 * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: # <<<<<<<<<<<<<< * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) */ - __pyx_t_15 = (__pyx_v_frame == Py_None); - if (__pyx_t_15) { + __pyx_t_16 = (__pyx_v_frame == Py_None); + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":630 + + /* "_pydevd_sys_monitoring_cython.pyx":636 * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 630, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_11 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyLong_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_11); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 630, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_11); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 630, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (__pyx_t_15) { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 636, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_16 = __Pyx_PyObject_RichCompareBool(__pyx_t_5, ((PyObject *)(&PyLong_Type)), Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 636, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_16) { + - /* "_pydevd_sys_monitoring_cython.pyx":631 + /* "_pydevd_sys_monitoring_cython.pyx":637 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_11 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 631, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_11); + __pyx_t_5 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 637, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); __pyx_t_13.__pyx_n = 1; - __pyx_t_13.depth = __pyx_t_11; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 631, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_13.depth = __pyx_t_5; + __pyx_t_11 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 637, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_11); + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":630 + /* "_pydevd_sys_monitoring_cython.pyx":636 * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -12231,7 +13625,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L28; } - /* "_pydevd_sys_monitoring_cython.pyx":633 + /* "_pydevd_sys_monitoring_cython.pyx":639 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -12244,7 +13638,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L28:; - /* "_pydevd_sys_monitoring_cython.pyx":629 + /* "_pydevd_sys_monitoring_cython.pyx":635 * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: # <<<<<<<<<<<<<< @@ -12253,7 +13647,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":634 + /* "_pydevd_sys_monitoring_cython.pyx":640 * else: * frame = frame_or_depth * assert frame.f_code is code_obj # <<<<<<<<<<<<<< @@ -12262,20 +13656,21 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 634, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = (__pyx_t_1 == __pyx_v_code_obj); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_15)) { + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 640, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_16 = (__pyx_t_11 == __pyx_v_code_obj); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + if (unlikely(!__pyx_t_16)) { __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_AssertionError))), 0, 0, 0); - __PYX_ERR(0, 634, __pyx_L1_error) + __PYX_ERR(0, 640, __pyx_L1_error) } + } #else - if ((1)); else __PYX_ERR(0, 634, __pyx_L1_error) + if ((1)); else __PYX_ERR(0, 640, __pyx_L1_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":636 + /* "_pydevd_sys_monitoring_cython.pyx":642 * assert frame.f_code is code_obj * * func_code_info.always_filtered_out = True # <<<<<<<<<<<<<< @@ -12284,31 +13679,37 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_filtered_out = 1; - /* "_pydevd_sys_monitoring_cython.pyx":637 + /* "_pydevd_sys_monitoring_cython.pyx":643 * * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 637, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 637, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 643, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_11); + if (unlikely((PyObject_SetItem(__pyx_t_11, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 643, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":638 + /* "_pydevd_sys_monitoring_cython.pyx":644 * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< * * if frame is None: */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); - __pyx_r = __pyx_v_func_code_info; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); + __pyx_r = __pyx_v_func_code_info; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":628 + /* "_pydevd_sys_monitoring_cython.pyx":634 * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): # <<<<<<<<<<<<<< @@ -12317,7 +13718,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":624 + /* "_pydevd_sys_monitoring_cython.pyx":630 * * # still not set, check for dont trace comments. * if pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< @@ -12326,49 +13727,49 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":640 + /* "_pydevd_sys_monitoring_cython.pyx":646 * return func_code_info * * if frame is None: # <<<<<<<<<<<<<< * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) */ - __pyx_t_15 = (__pyx_v_frame == Py_None); - if (__pyx_t_15) { + __pyx_t_16 = (__pyx_v_frame == Py_None); + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":641 + + /* "_pydevd_sys_monitoring_cython.pyx":647 * * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 641, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_11 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyLong_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_11); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 641, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_11); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 647, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_16 = __Pyx_PyObject_RichCompareBool(__pyx_t_11, ((PyObject *)(&PyLong_Type)), Py_EQ); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 647, __pyx_L1_error) __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (__pyx_t_15) { + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":642 + + /* "_pydevd_sys_monitoring_cython.pyx":648 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_11 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 642, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyLong_AddObjC(__pyx_v_frame_or_depth, __pyx_mstate_global->__pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 648, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_t_11; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 642, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 648, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); - __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":641 + /* "_pydevd_sys_monitoring_cython.pyx":647 * * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -12378,7 +13779,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L30; } - /* "_pydevd_sys_monitoring_cython.pyx":644 + /* "_pydevd_sys_monitoring_cython.pyx":650 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -12391,7 +13792,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L30:; - /* "_pydevd_sys_monitoring_cython.pyx":645 + /* "_pydevd_sys_monitoring_cython.pyx":651 * else: * frame = frame_or_depth * assert frame.f_code is code_obj # <<<<<<<<<<<<<< @@ -12400,20 +13801,21 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 645, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = (__pyx_t_1 == __pyx_v_code_obj); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_15)) { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 651, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_16 = (__pyx_t_5 == __pyx_v_code_obj); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_16)) { __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_AssertionError))), 0, 0, 0); - __PYX_ERR(0, 645, __pyx_L1_error) + __PYX_ERR(0, 651, __pyx_L1_error) } + } #else - if ((1)); else __PYX_ERR(0, 645, __pyx_L1_error) + if ((1)); else __PYX_ERR(0, 651, __pyx_L1_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":640 + /* "_pydevd_sys_monitoring_cython.pyx":646 * return func_code_info * * if frame is None: # <<<<<<<<<<<<<< @@ -12422,7 +13824,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":647 + /* "_pydevd_sys_monitoring_cython.pyx":653 * assert frame.f_code is code_obj * * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) # <<<<<<<<<<<<<< @@ -12434,39 +13836,41 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_6 = 0; { PyObject *__pyx_callargs[4] = {__pyx_t_11, __pyx_v_frame, __pyx_v_func_code_info->abs_path_filename, Py_True}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_6, (4-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_6, (4-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 647, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 653, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_15 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 647, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_v_func_code_info->filtered_out_force_checked = __pyx_t_15; + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_16 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 653, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_v_func_code_info->filtered_out_force_checked = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":649 + /* "_pydevd_sys_monitoring_cython.pyx":655 * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) * * if py_db.is_files_filter_enabled: # <<<<<<<<<<<<<< * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 649, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 649, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_15) { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_is_files_filter_enabled); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 655, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 655, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":650 + + /* "_pydevd_sys_monitoring_cython.pyx":656 * * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked # <<<<<<<<<<<<<< * if func_code_info.always_filtered_out: * _code_to_func_code_info_cache[code_obj] = func_code_info */ - __pyx_t_15 = __pyx_v_func_code_info->filtered_out_force_checked; - __pyx_v_func_code_info->always_filtered_out = __pyx_t_15; + __pyx_t_16 = __pyx_v_func_code_info->filtered_out_force_checked; - /* "_pydevd_sys_monitoring_cython.pyx":651 + __pyx_v_func_code_info->always_filtered_out = __pyx_t_16; + + /* "_pydevd_sys_monitoring_cython.pyx":657 * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -12475,31 +13879,37 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ if (__pyx_v_func_code_info->always_filtered_out) { - /* "_pydevd_sys_monitoring_cython.pyx":652 + /* "_pydevd_sys_monitoring_cython.pyx":658 * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 652, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 652, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 658, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (unlikely((PyObject_SetItem(__pyx_t_5, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 658, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":653 + /* "_pydevd_sys_monitoring_cython.pyx":659 * if func_code_info.always_filtered_out: * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< * * else: */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); - __pyx_r = __pyx_v_func_code_info; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); + __pyx_r = __pyx_v_func_code_info; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":651 + /* "_pydevd_sys_monitoring_cython.pyx":657 * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -12508,7 +13918,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":649 + /* "_pydevd_sys_monitoring_cython.pyx":655 * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) * * if py_db.is_files_filter_enabled: # <<<<<<<<<<<<<< @@ -12518,7 +13928,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L31; } - /* "_pydevd_sys_monitoring_cython.pyx":656 + /* "_pydevd_sys_monitoring_cython.pyx":662 * * else: * func_code_info.always_filtered_out = False # <<<<<<<<<<<<<< @@ -12530,64 +13940,65 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L31:; - /* "_pydevd_sys_monitoring_cython.pyx":659 + /* "_pydevd_sys_monitoring_cython.pyx":665 * * # Handle regular breakpoints * breakpoints: dict = py_db.breakpoints.get(func_code_info.canonical_normalized_filename) # <<<<<<<<<<<<<< * function_breakpoint: object = py_db.function_breakpoint_name_to_breakpoint.get(func_code_info.co_name) * # print('\n---') */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 659, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_11 = __pyx_t_2; + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 665, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_11 = __pyx_t_1; __Pyx_INCREF(__pyx_t_11); __pyx_t_6 = 0; { PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_v_func_code_info->canonical_normalized_filename}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 659, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 665, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(0, 659, __pyx_L1_error) - __pyx_v_breakpoints = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + if (!(likely(PyDict_CheckExact(__pyx_t_5))||((__pyx_t_5) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_5))) __PYX_ERR(0, 665, __pyx_L1_error) + __pyx_v_breakpoints = ((PyObject*)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":660 + /* "_pydevd_sys_monitoring_cython.pyx":666 * # Handle regular breakpoints * breakpoints: dict = py_db.breakpoints.get(func_code_info.canonical_normalized_filename) * function_breakpoint: object = py_db.function_breakpoint_name_to_breakpoint.get(func_code_info.co_name) # <<<<<<<<<<<<<< * # print('\n---') * # print(py_db.breakpoints) */ - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 660, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 666, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_2 = __pyx_t_11; - __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = __pyx_t_11; + __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_func_code_info->co_name}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_func_code_info->co_name}; + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 660, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 666, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_v_function_breakpoint = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_v_function_breakpoint = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":665 + /* "_pydevd_sys_monitoring_cython.pyx":671 * # print(func_code_info.canonical_normalized_filename) * # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename)) * if function_breakpoint: # <<<<<<<<<<<<<< * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True */ - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 665, __pyx_L1_error) - if (__pyx_t_15) { + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 671, __pyx_L1_error) + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":667 + + /* "_pydevd_sys_monitoring_cython.pyx":673 * if function_breakpoint: * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True # <<<<<<<<<<<<<< @@ -12596,7 +14007,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->function_breakpoint_found = 1; - /* "_pydevd_sys_monitoring_cython.pyx":668 + /* "_pydevd_sys_monitoring_cython.pyx":674 * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True * func_code_info.function_breakpoint = function_breakpoint # <<<<<<<<<<<<<< @@ -12606,10 +14017,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(__pyx_v_function_breakpoint); __Pyx_GIVEREF(__pyx_v_function_breakpoint); __Pyx_GOTREF(__pyx_v_func_code_info->function_breakpoint); - __Pyx_DECREF(__pyx_v_func_code_info->function_breakpoint); - __pyx_v_func_code_info->function_breakpoint = __pyx_v_function_breakpoint; + __Pyx_DECREF_SET(__pyx_v_func_code_info->function_breakpoint, __pyx_v_function_breakpoint); - /* "_pydevd_sys_monitoring_cython.pyx":665 + /* "_pydevd_sys_monitoring_cython.pyx":671 * # print(func_code_info.canonical_normalized_filename) * # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename)) * if function_breakpoint: # <<<<<<<<<<<<<< @@ -12618,57 +14028,65 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":670 + /* "_pydevd_sys_monitoring_cython.pyx":676 * func_code_info.function_breakpoint = function_breakpoint * * if breakpoints: # <<<<<<<<<<<<<< * # if DEBUG: * # print('found breakpoints', code_obj_py.co_name, breakpoints) */ - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoints); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 670, __pyx_L1_error) - if (__pyx_t_15) { + if (__pyx_v_breakpoints == Py_None) __pyx_t_16 = 0; + else + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_breakpoints); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 676, __pyx_L1_error) + __pyx_t_16 = (__pyx_temp != 0); + } - /* "_pydevd_sys_monitoring_cython.pyx":674 + if (__pyx_t_16) { + + + /* "_pydevd_sys_monitoring_cython.pyx":680 * # print('found breakpoints', code_obj_py.co_name, breakpoints) * * bp_line_to_breakpoint = {} # <<<<<<<<<<<<<< * * for breakpoint_line, bp in breakpoints.items(): */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 674, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_bp_line_to_breakpoint = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 680, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_bp_line_to_breakpoint = ((PyObject*)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":676 + /* "_pydevd_sys_monitoring_cython.pyx":682 * bp_line_to_breakpoint = {} * * for breakpoint_line, bp in breakpoints.items(): # <<<<<<<<<<<<<< * if breakpoint_line in line_to_offset: * bp_line_to_breakpoint[breakpoint_line] = bp */ - __pyx_t_16 = 0; + __pyx_t_15 = 0; if (unlikely(__pyx_v_breakpoints == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); - __PYX_ERR(0, 676, __pyx_L1_error) + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "items"); + __PYX_ERR(0, 682, __pyx_L1_error) } - __pyx_t_11 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, __pyx_mstate_global->__pyx_n_u_items, (&__pyx_t_17), (&__pyx_t_7)); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 676, __pyx_L1_error) + __pyx_t_11 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, __pyx_mstate_global->__pyx_n_u_items, (&__pyx_t_17), (&__pyx_t_7)); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 682, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); - __Pyx_XDECREF(__pyx_t_1); - __pyx_t_1 = __pyx_t_11; + __Pyx_XDECREF(__pyx_t_5); + __pyx_t_5 = __pyx_t_11; __pyx_t_11 = 0; while (1) { - __pyx_t_18 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_17, &__pyx_t_16, &__pyx_t_11, &__pyx_t_2, NULL, __pyx_t_7); + __pyx_t_18 = __Pyx_dict_iter_next(__pyx_t_5, __pyx_t_17, &__pyx_t_15, &__pyx_t_11, &__pyx_t_1, NULL, __pyx_t_7); if (unlikely(__pyx_t_18 == 0)) break; - if (unlikely(__pyx_t_18 == -1)) __PYX_ERR(0, 676, __pyx_L1_error) + if (unlikely(__pyx_t_18 == -1)) __PYX_ERR(0, 682, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_11); - __Pyx_GOTREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_t_1); __Pyx_XDECREF_SET(__pyx_v_breakpoint_line, __pyx_t_11); __pyx_t_11 = 0; - __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_2); - __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_1); + __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":677 + /* "_pydevd_sys_monitoring_cython.pyx":683 * * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: # <<<<<<<<<<<<<< @@ -12676,22 +14094,23 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 * */ if (unlikely(__pyx_v_line_to_offset == Py_None)) { - PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); - __PYX_ERR(0, 677, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "\047NoneType\047 object is not iterable"); + __PYX_ERR(0, 683, __pyx_L1_error) } - __pyx_t_15 = (__Pyx_PyDict_ContainsTF(__pyx_v_breakpoint_line, __pyx_v_line_to_offset, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 677, __pyx_L1_error) - if (__pyx_t_15) { + __pyx_t_16 = (__Pyx_PyDict_ContainsTF(__pyx_v_breakpoint_line, __pyx_v_line_to_offset, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 683, __pyx_L1_error) + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":678 + + /* "_pydevd_sys_monitoring_cython.pyx":684 * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: * bp_line_to_breakpoint[breakpoint_line] = bp # <<<<<<<<<<<<<< * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) */ - if (unlikely((PyDict_SetItem(__pyx_v_bp_line_to_breakpoint, __pyx_v_breakpoint_line, __pyx_v_bp) < 0))) __PYX_ERR(0, 678, __pyx_L1_error) + if (unlikely((PyDict_SetItem(__pyx_v_bp_line_to_breakpoint, __pyx_v_breakpoint_line, __pyx_v_bp) < 0))) __PYX_ERR(0, 684, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":677 + /* "_pydevd_sys_monitoring_cython.pyx":683 * * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: # <<<<<<<<<<<<<< @@ -12700,19 +14119,25 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":680 + /* "_pydevd_sys_monitoring_cython.pyx":686 * bp_line_to_breakpoint[breakpoint_line] = bp * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) # <<<<<<<<<<<<<< * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * */ - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_v_bp_line_to_breakpoint); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 680, __pyx_L1_error) - __pyx_v_func_code_info->breakpoint_found = (!(!__pyx_t_15)); + { + Py_ssize_t __pyx_temp = __Pyx_PyDict_GET_SIZE(__pyx_v_bp_line_to_breakpoint); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 686, __pyx_L1_error) + __pyx_t_16 = (__pyx_temp != 0); + } + + __pyx_v_func_code_info->breakpoint_found = (!(!__pyx_t_16)); + - /* "_pydevd_sys_monitoring_cython.pyx":681 + /* "_pydevd_sys_monitoring_cython.pyx":687 * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint # <<<<<<<<<<<<<< @@ -12722,10 +14147,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(__pyx_v_bp_line_to_breakpoint); __Pyx_GIVEREF(__pyx_v_bp_line_to_breakpoint); __Pyx_GOTREF(__pyx_v_func_code_info->bp_line_to_breakpoint); - __Pyx_DECREF(__pyx_v_func_code_info->bp_line_to_breakpoint); - __pyx_v_func_code_info->bp_line_to_breakpoint = __pyx_v_bp_line_to_breakpoint; + __Pyx_DECREF_SET(__pyx_v_func_code_info->bp_line_to_breakpoint, __pyx_v_bp_line_to_breakpoint); - /* "_pydevd_sys_monitoring_cython.pyx":670 + /* "_pydevd_sys_monitoring_cython.pyx":676 * func_code_info.function_breakpoint = function_breakpoint * * if breakpoints: # <<<<<<<<<<<<<< @@ -12734,115 +14158,118 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":683 + /* "_pydevd_sys_monitoring_cython.pyx":689 * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * * if py_db.plugin: # <<<<<<<<<<<<<< * plugin_manager = py_db.plugin * is_tracked_frame = plugin_manager.is_tracked_frame(frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 683, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 683, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_15) { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 689, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 689, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_16) { + - /* "_pydevd_sys_monitoring_cython.pyx":684 + /* "_pydevd_sys_monitoring_cython.pyx":690 * * if py_db.plugin: * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 684, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_plugin_manager = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 690, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_plugin_manager = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":685 + /* "_pydevd_sys_monitoring_cython.pyx":691 * if py_db.plugin: * plugin_manager = py_db.plugin * is_tracked_frame = plugin_manager.is_tracked_frame(frame) # <<<<<<<<<<<<<< * * if is_tracked_frame: */ - __pyx_t_2 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_frame}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_is_tracked_frame, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 685, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_frame}; + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_is_tracked_frame, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 691, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_v_is_tracked_frame = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_v_is_tracked_frame = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":687 + /* "_pydevd_sys_monitoring_cython.pyx":693 * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * * if is_tracked_frame: # <<<<<<<<<<<<<< * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() */ - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_v_is_tracked_frame); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 687, __pyx_L1_error) - if (__pyx_t_15) { + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_is_tracked_frame); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 693, __pyx_L1_error) + if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":688 + + /* "_pydevd_sys_monitoring_cython.pyx":694 * * if is_tracked_frame: * if py_db.has_plugin_line_breaks: # <<<<<<<<<<<<<< * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 688, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 688, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (__pyx_t_15) { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 694, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 694, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_16) { + - /* "_pydevd_sys_monitoring_cython.pyx":689 + /* "_pydevd_sys_monitoring_cython.pyx":695 * if is_tracked_frame: * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() # <<<<<<<<<<<<<< * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint */ - __pyx_t_2 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_required_events_breakpoint, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 689, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL}; + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_required_events_breakpoint, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 695, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_v_required_events_breakpoint = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_v_required_events_breakpoint = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":690 + /* "_pydevd_sys_monitoring_cython.pyx":696 * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint # <<<<<<<<<<<<<< * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint * */ - __pyx_t_15 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_line, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 690, __pyx_L1_error) - __pyx_v_func_code_info->plugin_line_breakpoint_found = __pyx_t_15; + __pyx_t_16 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_line, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 696, __pyx_L1_error) + __pyx_v_func_code_info->plugin_line_breakpoint_found = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":691 + /* "_pydevd_sys_monitoring_cython.pyx":697 * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint # <<<<<<<<<<<<<< * * required_events_stepping = plugin_manager.required_events_stepping() */ - __pyx_t_15 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 691, __pyx_L1_error) - __pyx_v_func_code_info->plugin_call_breakpoint_found = __pyx_t_15; + __pyx_t_16 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 697, __pyx_L1_error) + __pyx_v_func_code_info->plugin_call_breakpoint_found = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":688 + /* "_pydevd_sys_monitoring_cython.pyx":694 * * if is_tracked_frame: * if py_db.has_plugin_line_breaks: # <<<<<<<<<<<<<< @@ -12851,57 +14278,57 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":693 + /* "_pydevd_sys_monitoring_cython.pyx":699 * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint * * required_events_stepping = plugin_manager.required_events_stepping() # <<<<<<<<<<<<<< * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping */ - __pyx_t_2 = __pyx_v_plugin_manager; - __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = __pyx_v_plugin_manager; + __Pyx_INCREF(__pyx_t_1); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_required_events_stepping, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 693, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL}; + __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_required_events_stepping, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 699, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_v_required_events_stepping = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_v_required_events_stepping = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":694 + /* "_pydevd_sys_monitoring_cython.pyx":700 * * required_events_stepping = plugin_manager.required_events_stepping() * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping # <<<<<<<<<<<<<< * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping */ - __pyx_t_15 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_line, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 694, __pyx_L1_error) - __pyx_v_func_code_info->plugin_line_stepping = __pyx_t_15; + __pyx_t_16 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_line, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 700, __pyx_L1_error) + __pyx_v_func_code_info->plugin_line_stepping = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":695 + /* "_pydevd_sys_monitoring_cython.pyx":701 * required_events_stepping = plugin_manager.required_events_stepping() * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping # <<<<<<<<<<<<<< * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping * */ - __pyx_t_15 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 695, __pyx_L1_error) - __pyx_v_func_code_info->plugin_call_stepping = __pyx_t_15; + __pyx_t_16 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 701, __pyx_L1_error) + __pyx_v_func_code_info->plugin_call_stepping = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":696 + /* "_pydevd_sys_monitoring_cython.pyx":702 * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping # <<<<<<<<<<<<<< * * _code_to_func_code_info_cache[code_obj] = func_code_info */ - __pyx_t_15 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_return, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 696, __pyx_L1_error) - __pyx_v_func_code_info->plugin_return_stepping = __pyx_t_15; + __pyx_t_16 = (__Pyx_PySequence_ContainsTF(__pyx_mstate_global->__pyx_n_u_return, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 702, __pyx_L1_error) + __pyx_v_func_code_info->plugin_return_stepping = __pyx_t_16; - /* "_pydevd_sys_monitoring_cython.pyx":687 + /* "_pydevd_sys_monitoring_cython.pyx":693 * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * * if is_tracked_frame: # <<<<<<<<<<<<<< @@ -12910,7 +14337,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":683 + /* "_pydevd_sys_monitoring_cython.pyx":689 * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * * if py_db.plugin: # <<<<<<<<<<<<<< @@ -12919,31 +14346,37 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":698 + /* "_pydevd_sys_monitoring_cython.pyx":704 * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping * * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 698, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 698, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 704, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (unlikely((PyObject_SetItem(__pyx_t_5, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 704, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":699 + /* "_pydevd_sys_monitoring_cython.pyx":705 * * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF((PyObject *)__pyx_r); - __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); - __pyx_r = __pyx_v_func_code_info; + { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF((PyObject *)__pyx_v_func_code_info); + __pyx_r = __pyx_v_func_code_info; + } + __Pyx_XDECREF((PyObject *)__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":536 + /* "_pydevd_sys_monitoring_cython.pyx":542 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< @@ -12966,6 +14399,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_cache_file_type); __Pyx_XDECREF(__pyx_v_cache_file_type_key); + __Pyx_XDECREF(__pyx_v_co_filename); __Pyx_XDECREF(__pyx_v_co_name); __Pyx_XDECREF((PyObject *)__pyx_v_code_line_info); @@ -12989,7 +14423,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_3_get_func_code_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -12997,7 +14431,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_3_get_func_code_info = {"_get_func_code_info", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_3_get_func_code_info, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_3_get_func_code_info(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13005,7 +14439,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ) { PyObject *__pyx_v_code_obj = 0; PyObject *__pyx_v_frame_or_depth = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -13016,7 +14450,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_get_func_code_info (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -13027,39 +14461,39 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code_obj,&__pyx_mstate_global->__pyx_n_u_frame_or_depth,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 536, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 542, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 536, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 542, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 536, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 542, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_get_func_code_info", 0) < (0)) __PYX_ERR(0, 536, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_get_func_code_info", 0) < (0)) __PYX_ERR(0, 542, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 2; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, i); __PYX_ERR(0, 536, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, i); __PYX_ERR(0, 542, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 536, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 542, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 536, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 542, __pyx_L3_error) } __pyx_v_code_obj = values[0]; __pyx_v_frame_or_depth = values[1]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 536, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 542, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -13088,10 +14522,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(C const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_func_code_info", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code_obj, __pyx_v_frame_or_depth, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 536, __pyx_L1_error) + __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code_obj, __pyx_v_frame_or_depth, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -13106,7 +14546,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":704 +/* "_pydevd_sys_monitoring_cython.pyx":710 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_line_tracing(code): # <<<<<<<<<<<<<< @@ -13131,18 +14571,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_line_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":710 + /* "_pydevd_sys_monitoring_cython.pyx":716 * # fmt: on * # print('enable line tracing', code) * _ensure_monitoring() # <<<<<<<<<<<<<< * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 710, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 716, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":711 + /* "_pydevd_sys_monitoring_cython.pyx":717 * # print('enable line tracing', code) * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) # <<<<<<<<<<<<<< @@ -13150,12 +14590,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 711, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 711, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 711, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -13175,13 +14615,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 711, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 717, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_events = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":712 + /* "_pydevd_sys_monitoring_cython.pyx":718 * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) # <<<<<<<<<<<<<< @@ -13189,33 +14629,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py * */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 712, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 712, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 712, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyNumber_Or(__pyx_v_events, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyNumber_Or_object_object(__pyx_v_events, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 712, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = PyNumber_Or(__pyx_t_7, __pyx_t_6); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 712, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyNumber_Or_object_object(__pyx_t_7, __pyx_t_6); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; @@ -13238,12 +14678,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 712, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 718, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":704 + /* "_pydevd_sys_monitoring_cython.pyx":710 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_line_tracing(code): # <<<<<<<<<<<<<< @@ -13271,7 +14711,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":717 +/* "_pydevd_sys_monitoring_cython.pyx":723 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_return_tracing(code): # <<<<<<<<<<<<<< @@ -13295,18 +14735,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_return_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":723 + /* "_pydevd_sys_monitoring_cython.pyx":729 * # fmt: on * # print('enable return tracing', code) * _ensure_monitoring() # <<<<<<<<<<<<<< * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 723, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 729, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":724 + /* "_pydevd_sys_monitoring_cython.pyx":730 * # print('enable return tracing', code) * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) # <<<<<<<<<<<<<< @@ -13314,12 +14754,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 724, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 724, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 724, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -13339,13 +14779,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 724, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_events = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":725 + /* "_pydevd_sys_monitoring_cython.pyx":731 * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) # <<<<<<<<<<<<<< @@ -13353,22 +14793,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( * */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 725, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 725, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 725, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyNumber_Or(__pyx_v_events, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 725, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyNumber_Or_object_object(__pyx_v_events, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_5 = 1; @@ -13390,12 +14830,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 725, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":717 + /* "_pydevd_sys_monitoring_cython.pyx":723 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_return_tracing(code): # <<<<<<<<<<<<<< @@ -13422,7 +14862,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":730 +/* "_pydevd_sys_monitoring_cython.pyx":736 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< @@ -13431,7 +14871,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_5disable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13450,18 +14890,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("disable_code_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":735 + /* "_pydevd_sys_monitoring_cython.pyx":741 * # ENDIF * # fmt: on * _ensure_monitoring() # <<<<<<<<<<<<<< * monitor.set_local_events(DEBUGGER_ID, code, 0) * */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 735, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 741, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":736 + /* "_pydevd_sys_monitoring_cython.pyx":742 * # fmt: on * _ensure_monitoring() * monitor.set_local_events(DEBUGGER_ID, code, 0) # <<<<<<<<<<<<<< @@ -13469,12 +14909,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 736, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 736, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_set_local_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 736, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -13494,12 +14934,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 736, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 742, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":730 + /* "_pydevd_sys_monitoring_cython.pyx":736 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< @@ -13525,7 +14965,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_5disable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13533,14 +14973,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_5disable_code_tracing = {"disable_code_tracing", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_5disable_code_tracing, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_5disable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_code = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -13551,7 +14991,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("disable_code_tracing (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -13562,32 +15002,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_code,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 730, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 736, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 730, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 736, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "disable_code_tracing", 0) < (0)) __PYX_ERR(0, 730, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "disable_code_tracing", 0) < (0)) __PYX_ERR(0, 736, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, i); __PYX_ERR(0, 730, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, i); __PYX_ERR(0, 736, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 730, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 736, __pyx_L3_error) } __pyx_v_code = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 730, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 736, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -13616,10 +15056,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing( const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("disable_code_tracing", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(__pyx_v_code, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 730, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(__pyx_v_code, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 736, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -13634,7 +15080,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing( return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":741 +/* "_pydevd_sys_monitoring_cython.pyx":747 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< @@ -13643,7 +15089,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing( */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_7enable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13671,22 +15117,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns int __pyx_clineno = 0; __Pyx_RefNannySetupContext("enable_code_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":756 + /* "_pydevd_sys_monitoring_cython.pyx":762 * # if DEBUG: * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return False */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 756, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 756, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":757 + /* "_pydevd_sys_monitoring_cython.pyx":763 * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -13695,31 +15141,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ __pyx_t_4 = (__pyx_v_py_db == Py_None); if (!__pyx_t_4) { + } else { + __pyx_t_3 = __pyx_t_4; + goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 757, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 757, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 763, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __pyx_t_4; + __pyx_L4_bool_binop_done:; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":758 + + /* "_pydevd_sys_monitoring_cython.pyx":764 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return False # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":757 + /* "_pydevd_sys_monitoring_cython.pyx":763 * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -13728,19 +15186,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":760 + /* "_pydevd_sys_monitoring_cython.pyx":766 * return False * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * # if DEBUG: */ - __pyx_t_2 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 760, __pyx_L1_error) + __pyx_t_2 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":761 + /* "_pydevd_sys_monitoring_cython.pyx":767 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -13749,19 +15207,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":764 + /* "_pydevd_sys_monitoring_cython.pyx":770 * # if DEBUG: * # print('disable (always skip)') * return False # <<<<<<<<<<<<<< * * try: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":761 + /* "_pydevd_sys_monitoring_cython.pyx":767 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -13770,7 +15234,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":766 + /* "_pydevd_sys_monitoring_cython.pyx":772 * return False * * try: # <<<<<<<<<<<<<< @@ -13786,21 +15250,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __Pyx_XGOTREF(__pyx_t_7); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":767 + /* "_pydevd_sys_monitoring_cython.pyx":773 * * try: * thread = threading._active.get(thread_ident) # <<<<<<<<<<<<<< * if thread is None: * return False */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 767, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 773, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_active); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 767, __pyx_L7_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_active); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 773, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_1 = __pyx_t_9; __Pyx_INCREF(__pyx_t_1); - __pyx_t_8 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 767, __pyx_L7_error) + __pyx_t_8 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 773, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_10 = 0; { @@ -13809,13 +15273,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 767, __pyx_L7_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 773, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); } __pyx_v_thread = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":768 + /* "_pydevd_sys_monitoring_cython.pyx":774 * try: * thread = threading._active.get(thread_ident) * if thread is None: # <<<<<<<<<<<<<< @@ -13825,19 +15289,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_t_3 = (__pyx_v_thread == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":769 + + /* "_pydevd_sys_monitoring_cython.pyx":775 * thread = threading._active.get(thread_ident) * if thread is None: * return False # <<<<<<<<<<<<<< * additional_info = set_additional_thread_info(thread) * except: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L11_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":768 + /* "_pydevd_sys_monitoring_cython.pyx":774 * try: * thread = threading._active.get(thread_ident) * if thread is None: # <<<<<<<<<<<<<< @@ -13846,19 +15317,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":770 + /* "_pydevd_sys_monitoring_cython.pyx":776 * if thread is None: * return False * additional_info = set_additional_thread_info(thread) # <<<<<<<<<<<<<< * except: * # Cannot set based on stepping */ - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_thread, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 770, __pyx_L7_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_thread, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 776, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_additional_info = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":766 + /* "_pydevd_sys_monitoring_cython.pyx":772 * return False * * try: # <<<<<<<<<<<<<< @@ -13876,7 +15347,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":771 + /* "_pydevd_sys_monitoring_cython.pyx":777 * return False * additional_info = set_additional_thread_info(thread) * except: # <<<<<<<<<<<<<< @@ -13886,20 +15357,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns /*except:*/ { __Pyx_ErrRestore(0,0,0); - /* "_pydevd_sys_monitoring_cython.pyx":773 + /* "_pydevd_sys_monitoring_cython.pyx":779 * except: * # Cannot set based on stepping * return False # <<<<<<<<<<<<<< * * return _enable_code_tracing(py_db, additional_info, func_code_info, code, frame, False) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L10_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":766 + /* "_pydevd_sys_monitoring_cython.pyx":772 * return False * * try: # <<<<<<<<<<<<<< @@ -13921,23 +15398,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_L12_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":775 + /* "_pydevd_sys_monitoring_cython.pyx":781 * return False * * return _enable_code_tracing(py_db, additional_info, func_code_info, code, frame, False) # <<<<<<<<<<<<<< * * # fmt: off */ - __Pyx_XDECREF(__pyx_r); - if (!(likely(((__pyx_v_additional_info) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_additional_info, __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(0, 775, __pyx_L1_error) - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_additional_info), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 775, __pyx_L1_error) - __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 775, __pyx_L1_error) + if (!(likely(((__pyx_v_additional_info) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_additional_info, __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(0, 781, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_additional_info), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 781, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_r = __pyx_t_2; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":741 + /* "_pydevd_sys_monitoring_cython.pyx":747 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< @@ -13965,7 +15449,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_7enable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13974,7 +15458,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_29_pydevd_sys_monitoring_cython_6enable_code_tracing, "\n Note: this must enable code tracing for the given code/frame.\n\n The frame can be from any thread!\n\n :return: Whether code tracing was added in this function to the given code.\n "); static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_7enable_code_tracing = {"enable_code_tracing", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_7enable_code_tracing, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_29_pydevd_sys_monitoring_cython_6enable_code_tracing}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_7enable_code_tracing(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -13983,7 +15467,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds unsigned long __pyx_v_thread_ident; PyObject *__pyx_v_code = 0; PyObject *__pyx_v_frame = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -13994,7 +15478,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("enable_code_tracing (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -14005,46 +15489,46 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_thread_ident,&__pyx_mstate_global->__pyx_n_u_code,&__pyx_mstate_global->__pyx_n_u_frame,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 741, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 747, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 747, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 747, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 747, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "enable_code_tracing", 0) < (0)) __PYX_ERR(0, 741, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "enable_code_tracing", 0) < (0)) __PYX_ERR(0, 747, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 3; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, i); __PYX_ERR(0, 741, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, i); __PYX_ERR(0, 747, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 747, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 747, __pyx_L3_error) values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 741, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 747, __pyx_L3_error) } - __pyx_v_thread_ident = __Pyx_PyLong_As_unsigned_long(values[0]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 741, __pyx_L3_error) + __pyx_v_thread_ident = __Pyx_PyLong_As_unsigned_long(values[0]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 747, __pyx_L3_error) __pyx_v_code = values[1]; __pyx_v_frame = values[2]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 741, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 747, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -14061,6 +15545,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14073,10 +15558,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("enable_code_tracing", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(__pyx_v_thread_ident, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 741, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(__pyx_v_thread_ident, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 747, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -14091,7 +15582,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":779 +/* "_pydevd_sys_monitoring_cython.pyx":785 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef reset_thread_local_info(): # <<<<<<<<<<<<<< @@ -14113,7 +15604,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_reset_thread_local_info int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_thread_local_info", 0); - /* "_pydevd_sys_monitoring_cython.pyx":786 + /* "_pydevd_sys_monitoring_cython.pyx":792 * """Resets the thread local info TLS store for use after a fork().""" * global _thread_local_info * _thread_local_info = threading.local() # <<<<<<<<<<<<<< @@ -14121,9 +15612,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_reset_thread_local_info * # fmt: off */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 786, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_local); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 786, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_local); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = 1; @@ -14143,13 +15634,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_reset_thread_local_info __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 786, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_thread_local_info, __pyx_t_1) < (0)) __PYX_ERR(0, 786, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_thread_local_info, __pyx_t_1) < (0)) __PYX_ERR(0, 792, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":779 + /* "_pydevd_sys_monitoring_cython.pyx":785 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef reset_thread_local_info(): # <<<<<<<<<<<<<< @@ -14198,10 +15689,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8reset_thread_local_in const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("reset_thread_local_info", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_reset_thread_local_info(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 779, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_reset_thread_local_info(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -14216,7 +15713,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8reset_thread_local_in return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":790 +/* "_pydevd_sys_monitoring_cython.pyx":796 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint _enable_code_tracing(py_db, PyDBAdditionalThreadInfo additional_info, FuncCodeInfo func_code_info, code, frame, bint warn_on_filtered_out): # <<<<<<<<<<<<<< @@ -14241,7 +15738,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_code_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":802 + /* "_pydevd_sys_monitoring_cython.pyx":808 * """ * # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename * step_cmd = additional_info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -14249,9 +15746,10 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject * code_tracing_added = False */ __pyx_t_1 = __pyx_v_additional_info->pydev_step_cmd; + __pyx_v_step_cmd = __pyx_t_1; - /* "_pydevd_sys_monitoring_cython.pyx":803 + /* "_pydevd_sys_monitoring_cython.pyx":809 * # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename * step_cmd = additional_info.pydev_step_cmd * is_stepping = step_cmd != -1 # <<<<<<<<<<<<<< @@ -14260,7 +15758,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_is_stepping = (__pyx_v_step_cmd != -1L); - /* "_pydevd_sys_monitoring_cython.pyx":804 + /* "_pydevd_sys_monitoring_cython.pyx":810 * step_cmd = additional_info.pydev_step_cmd * is_stepping = step_cmd != -1 * code_tracing_added = False # <<<<<<<<<<<<<< @@ -14269,7 +15767,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 0; - /* "_pydevd_sys_monitoring_cython.pyx":806 + /* "_pydevd_sys_monitoring_cython.pyx":812 * code_tracing_added = False * * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -14278,7 +15776,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_func_code_info->always_filtered_out) { - /* "_pydevd_sys_monitoring_cython.pyx":810 + /* "_pydevd_sys_monitoring_cython.pyx":816 * # print('disable (always filtered out)') * if ( * warn_on_filtered_out # <<<<<<<<<<<<<< @@ -14287,11 +15785,12 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_warn_on_filtered_out) { } else { + __pyx_t_2 = __pyx_v_warn_on_filtered_out; goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":811 + /* "_pydevd_sys_monitoring_cython.pyx":817 * if ( * warn_on_filtered_out * and is_stepping # <<<<<<<<<<<<<< @@ -14300,11 +15799,12 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_is_stepping) { } else { + __pyx_t_2 = __pyx_v_is_stepping; goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":812 + /* "_pydevd_sys_monitoring_cython.pyx":818 * warn_on_filtered_out * and is_stepping * and additional_info.pydev_original_step_cmd in (107, 144) # <<<<<<<<<<<<<< @@ -14321,28 +15821,37 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject break; } __pyx_t_4 = __pyx_t_3; + + if (__pyx_t_4) { + } else { + __pyx_t_2 = __pyx_t_4; + goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":813 + /* "_pydevd_sys_monitoring_cython.pyx":819 * and is_stepping * and additional_info.pydev_original_step_cmd in (107, 144) * and not _global_notify_skipped_step_in # <<<<<<<<<<<<<< * ): * _notify_skipped_step_in_because_of_filters(py_db, frame) */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_global_notify_skipped_step_in); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 813, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_global_notify_skipped_step_in); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 819, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 813, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 819, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_3 = (!__pyx_t_4); + + + __pyx_t_2 = __pyx_t_3; + __pyx_L5_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":809 + /* "_pydevd_sys_monitoring_cython.pyx":815 * # if DEBUG: * # print('disable (always filtered out)') * if ( # <<<<<<<<<<<<<< @@ -14351,18 +15860,19 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":815 + + /* "_pydevd_sys_monitoring_cython.pyx":821 * and not _global_notify_skipped_step_in * ): * _notify_skipped_step_in_because_of_filters(py_db, frame) # <<<<<<<<<<<<<< * * if is_stepping: */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in_because_of_filters(__pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 815, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in_because_of_filters(__pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 821, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":809 + /* "_pydevd_sys_monitoring_cython.pyx":815 * # if DEBUG: * # print('disable (always filtered out)') * if ( # <<<<<<<<<<<<<< @@ -14371,7 +15881,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":817 + /* "_pydevd_sys_monitoring_cython.pyx":823 * _notify_skipped_step_in_because_of_filters(py_db, frame) * * if is_stepping: # <<<<<<<<<<<<<< @@ -14380,21 +15890,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_is_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":819 + /* "_pydevd_sys_monitoring_cython.pyx":825 * if is_stepping: * # Tracing may be needed for return value * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) # <<<<<<<<<<<<<< * code_tracing_added = True * return code_tracing_added */ - __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 819, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_5, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 819, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_5, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":820 + /* "_pydevd_sys_monitoring_cython.pyx":826 * # Tracing may be needed for return value * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -14403,7 +15913,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":817 + /* "_pydevd_sys_monitoring_cython.pyx":823 * _notify_skipped_step_in_because_of_filters(py_db, frame) * * if is_stepping: # <<<<<<<<<<<<<< @@ -14412,17 +15922,20 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":821 + /* "_pydevd_sys_monitoring_cython.pyx":827 * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True * return code_tracing_added # <<<<<<<<<<<<<< * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: */ - __pyx_r = __pyx_v_code_tracing_added; + { + + __pyx_r = __pyx_v_code_tracing_added; + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":806 + /* "_pydevd_sys_monitoring_cython.pyx":812 * code_tracing_added = False * * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -14431,7 +15944,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":823 + /* "_pydevd_sys_monitoring_cython.pyx":829 * return code_tracing_added * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -14440,25 +15953,28 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (!__pyx_v_func_code_info->breakpoint_found) { } else { + __pyx_t_2 = __pyx_v_func_code_info->breakpoint_found; goto __pyx_L11_bool_binop_done; } + __pyx_t_2 = __pyx_v_func_code_info->plugin_line_breakpoint_found; __pyx_L11_bool_binop_done:; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":824 + + /* "_pydevd_sys_monitoring_cython.pyx":830 * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: * _enable_line_tracing(code) # <<<<<<<<<<<<<< * code_tracing_added = True * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 824, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":825 + /* "_pydevd_sys_monitoring_cython.pyx":831 * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: * _enable_line_tracing(code) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -14467,7 +15983,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":823 + /* "_pydevd_sys_monitoring_cython.pyx":829 * return code_tracing_added * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -14476,7 +15992,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":827 + /* "_pydevd_sys_monitoring_cython.pyx":833 * code_tracing_added = True * * if is_stepping: # <<<<<<<<<<<<<< @@ -14485,21 +16001,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_is_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":828 + /* "_pydevd_sys_monitoring_cython.pyx":834 * * if is_stepping: * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) # <<<<<<<<<<<<<< * code_tracing_added = True * */ - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 828, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_6, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 828, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_6, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":829 + /* "_pydevd_sys_monitoring_cython.pyx":835 * if is_stepping: * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -14508,7 +16024,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":827 + /* "_pydevd_sys_monitoring_cython.pyx":833 * code_tracing_added = True * * if is_stepping: # <<<<<<<<<<<<<< @@ -14517,17 +16033,20 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":831 + /* "_pydevd_sys_monitoring_cython.pyx":837 * code_tracing_added = True * * return code_tracing_added # <<<<<<<<<<<<<< * * */ - __pyx_r = __pyx_v_code_tracing_added; + { + + __pyx_r = __pyx_v_code_tracing_added; + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":790 + /* "_pydevd_sys_monitoring_cython.pyx":796 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint _enable_code_tracing(py_db, PyDBAdditionalThreadInfo additional_info, FuncCodeInfo func_code_info, code, frame, bint warn_on_filtered_out): # <<<<<<<<<<<<<< @@ -14542,11 +16061,15 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._enable_code_tracing", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = -1; __pyx_L0:; + + + + __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":836 +/* "_pydevd_sys_monitoring_cython.pyx":842 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<< @@ -14568,7 +16091,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_step_tracing", 0); - /* "_pydevd_sys_monitoring_cython.pyx":841 + /* "_pydevd_sys_monitoring_cython.pyx":847 * # ENDIF * # fmt: on * if step_cmd in (107, 144, 206, 128, 105): # <<<<<<<<<<<<<< @@ -14577,60 +16100,77 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_1 = __pyx_v_step_cmd; - __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_107, 0x6B, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_107, 0x6B, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 847, __pyx_L1_error) if (!__pyx_t_3) { + } else { + __pyx_t_2 = __pyx_t_3; + goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_144, 0x90, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_144, 0x90, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 847, __pyx_L1_error) if (!__pyx_t_3) { + } else { + __pyx_t_2 = __pyx_t_3; + goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_206, 0xCE, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_206, 0xCE, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 847, __pyx_L1_error) if (!__pyx_t_3) { + } else { + __pyx_t_2 = __pyx_t_3; + goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_128, 0x80, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_128, 0x80, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 847, __pyx_L1_error) if (!__pyx_t_3) { + } else { + __pyx_t_2 = __pyx_t_3; + goto __pyx_L4_bool_binop_done; } - __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_105, 0x69, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_3 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_105, 0x69, 0)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 847, __pyx_L1_error) + __pyx_t_2 = __pyx_t_3; + __pyx_L4_bool_binop_done:; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_3 = __pyx_t_2; + + if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":843 + + /* "_pydevd_sys_monitoring_cython.pyx":849 * if step_cmd in (107, 144, 206, 128, 105): * # Stepping (must have line/return tracing enabled). * _enable_line_tracing(code) # <<<<<<<<<<<<<< * _enable_return_tracing(code) * */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 843, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":844 + /* "_pydevd_sys_monitoring_cython.pyx":850 * # Stepping (must have line/return tracing enabled). * _enable_line_tracing(code) * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * elif step_cmd in (109, 160) and _is_same_frame(info, info.pydev_step_stop, frame): */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 844, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":841 + /* "_pydevd_sys_monitoring_cython.pyx":847 * # ENDIF * # fmt: on * if step_cmd in (107, 144, 206, 128, 105): # <<<<<<<<<<<<<< @@ -14640,7 +16180,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":846 + /* "_pydevd_sys_monitoring_cython.pyx":852 * _enable_return_tracing(code) * * elif step_cmd in (109, 160) and _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -14649,45 +16189,58 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_1 = __pyx_v_step_cmd; - __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_109, 0x6D, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 846, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_109, 0x6D, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 852, __pyx_L1_error) if (!__pyx_t_4) { + } else { + __pyx_t_2 = __pyx_t_4; + goto __pyx_L11_bool_binop_done; } - __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_160, 0xA0, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 846, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_1, __pyx_mstate_global->__pyx_int_160, 0xA0, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 852, __pyx_L1_error) + __pyx_t_2 = __pyx_t_4; + __pyx_L11_bool_binop_done:; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_4 = __pyx_t_2; + + if (__pyx_t_4) { + } else { + __pyx_t_3 = __pyx_t_4; + goto __pyx_L9_bool_binop_done; } __pyx_t_1 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_1); - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 846, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 852, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 846, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 852, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_3 = __pyx_t_4; + __pyx_L9_bool_binop_done:; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":847 + + /* "_pydevd_sys_monitoring_cython.pyx":853 * * elif step_cmd in (109, 160) and _is_same_frame(info, info.pydev_step_stop, frame): * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * elif step_cmd in (108, 159): */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 847, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 853, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":846 + /* "_pydevd_sys_monitoring_cython.pyx":852 * _enable_return_tracing(code) * * elif step_cmd in (109, 160) and _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -14697,7 +16250,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":849 + /* "_pydevd_sys_monitoring_cython.pyx":855 * _enable_return_tracing(code) * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -14706,20 +16259,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_5 = __pyx_v_step_cmd; - __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_108, 0x6C, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 849, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_108, 0x6C, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 855, __pyx_L1_error) if (!__pyx_t_4) { + } else { + __pyx_t_3 = __pyx_t_4; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_159, 0x9F, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 849, __pyx_L1_error) + __pyx_t_4 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_159, 0x9F, 0)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 855, __pyx_L1_error) + __pyx_t_3 = __pyx_t_4; + __pyx_L13_bool_binop_done:; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_4 = __pyx_t_3; + + if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":850 + + /* "_pydevd_sys_monitoring_cython.pyx":856 * * elif step_cmd in (108, 159): * if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -14728,36 +16289,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __pyx_t_5 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_5); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_5, __pyx_v_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 850, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_5, __pyx_v_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 850, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 856, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":851 + + /* "_pydevd_sys_monitoring_cython.pyx":857 * elif step_cmd in (108, 159): * if _is_same_frame(info, info.pydev_step_stop, frame): * _enable_line_tracing(code) # <<<<<<<<<<<<<< * * # Wee need to enable return tracing because if we have a return during a step over */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 851, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":855 + /* "_pydevd_sys_monitoring_cython.pyx":861 * # Wee need to enable return tracing because if we have a return during a step over * # we need to stop too. * _enable_return_tracing(code) # <<<<<<<<<<<<<< * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): * # Show return values on step over. */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 855, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 861, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":850 + /* "_pydevd_sys_monitoring_cython.pyx":856 * * elif step_cmd in (108, 159): * if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -14767,48 +16329,54 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L15; } - /* "_pydevd_sys_monitoring_cython.pyx":856 + /* "_pydevd_sys_monitoring_cython.pyx":862 * # we need to stop too. * _enable_return_tracing(code) * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): # <<<<<<<<<<<<<< * # Show return values on step over. * _enable_return_tracing(code) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 856, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 862, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 856, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 862, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { + } else { + __pyx_t_4 = __pyx_t_3; + goto __pyx_L16_bool_binop_done; } __pyx_t_1 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 856, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 862, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 856, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 862, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 856, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 862, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_4 = __pyx_t_3; + __pyx_L16_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":858 + + /* "_pydevd_sys_monitoring_cython.pyx":864 * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): * # Show return values on step over. * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 858, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 864, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":856 + /* "_pydevd_sys_monitoring_cython.pyx":862 * # we need to stop too. * _enable_return_tracing(code) * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): # <<<<<<<<<<<<<< @@ -14818,7 +16386,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_L15:; - /* "_pydevd_sys_monitoring_cython.pyx":849 + /* "_pydevd_sys_monitoring_cython.pyx":855 * _enable_return_tracing(code) * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -14828,7 +16396,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":836 + /* "_pydevd_sys_monitoring_cython.pyx":842 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<< @@ -14851,7 +16419,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":876 +/* "_pydevd_sys_monitoring_cython.pyx":882 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): # <<<<<<<<<<<<<< @@ -14860,10 +16428,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ /* Python wrapper */ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { +static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__(PyObject *__pyx_v_self, +#if CYTHON_VECTORCALL_TPNEW +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { PyObject *__pyx_v_try_except_infos = 0; + #if !CYTHON_VECTORCALL_TPNEW CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject* values[1] = {0}; int __pyx_lineno = 0; @@ -14872,41 +16454,43 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__ int __pyx_r; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if !CYTHON_VECTORCALL_TPNEW #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; #endif - __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL_TPNEW(__pyx_args, __pyx_nargs); { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_try_except_infos,0}; - const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 876, __pyx_L3_error) + const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL_TPNEW(__pyx_kwds) : 0; + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 882, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 876, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 882, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 876, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 882, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(0, 876, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(0, 882, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 876, __pyx_L3_error) + values[0] = __Pyx_ArgRef_FASTCALL_TPNEW(__pyx_args, 0); + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 882, __pyx_L3_error) } __pyx_v_try_except_infos = ((PyObject*)values[0]); } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 876, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 882, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -14917,7 +16501,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__ __Pyx_RefNannyFinishContext(); return -1; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_try_except_infos), (&PyList_Type), 1, "try_except_infos", 1))) __PYX_ERR(0, 876, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_try_except_infos), (&PyList_Type), 1, "try_except_infos", 1))) __PYX_ERR(0, 882, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_v_self), __pyx_v_try_except_infos); /* function exit code */ @@ -14942,7 +16526,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__", 0); - /* "_pydevd_sys_monitoring_cython.pyx":877 + /* "_pydevd_sys_monitoring_cython.pyx":883 * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): * self.try_except_infos = try_except_infos # <<<<<<<<<<<<<< @@ -14952,10 +16536,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i __Pyx_INCREF(__pyx_v_try_except_infos); __Pyx_GIVEREF(__pyx_v_try_except_infos); __Pyx_GOTREF(__pyx_v_self->try_except_infos); - __Pyx_DECREF(__pyx_v_self->try_except_infos); - __pyx_v_self->try_except_infos = __pyx_v_try_except_infos; + __Pyx_DECREF_SET(__pyx_v_self->try_except_infos, __pyx_v_try_except_infos); - /* "_pydevd_sys_monitoring_cython.pyx":876 + /* "_pydevd_sys_monitoring_cython.pyx":882 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): # <<<<<<<<<<<<<< @@ -14965,6 +16548,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i /* function exit code */ __pyx_r = 0; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -14977,7 +16561,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -14985,20 +16569,20 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -15024,9 +16608,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; - int __pyx_t_2; + PyObject *__pyx_t_2 = NULL; int __pyx_t_3; - PyObject *__pyx_t_4 = NULL; + int __pyx_t_4; PyObject *__pyx_t_5 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; @@ -15036,67 +16620,109 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO /* "(tree fragment)":5 * cdef object _dict * cdef bint use_setstate - * state = (self.try_except_infos,) # <<<<<<<<<<<<<< - * _dict = getattr(self, '__dict__', None) - * if _dict is not None and _dict: + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_INCREF(__pyx_v_self->try_except_infos); - __Pyx_GIVEREF(__pyx_v_self->try_except_infos); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(1, 5, __pyx_L1_error); - __pyx_v_state = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + { + __Pyx_PyCriticalSection __pyx_cs; + __pyx_t_1 = ((PyObject *)__pyx_v_self); + __Pyx_INCREF(__pyx_t_1); + __Pyx_PyCriticalSection_Begin(&__pyx_cs, (PyObject*)__pyx_t_1); + /*try:*/ { - /* "(tree fragment)":6 + /* "(tree fragment)":6 * cdef bint use_setstate - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * with CRITICAL_SECTION(self): + * state = (self.try_except_infos,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None and _dict: +*/ + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 6, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_v_self->try_except_infos); + __Pyx_GIVEREF(__pyx_v_self->try_except_infos); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->try_except_infos) != (0)) __PYX_ERR(1, 6, __pyx_L4_error); + __pyx_v_state = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + + /* "(tree fragment)":7 + * with CRITICAL_SECTION(self): + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< * if _dict is not None and _dict: * state += (_dict,) */ - __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v__dict = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_2 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dict, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 7, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_v__dict = __pyx_t_2; + __pyx_t_2 = 0; + } - /* "(tree fragment)":7 - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * with CRITICAL_SECTION(self): # <<<<<<<<<<<<<< + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) +*/ + /*finally:*/ { + /*normal exit:*/{ + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L5; + } + __pyx_L4_error: { + __Pyx_PyCriticalSection_End(&__pyx_cs); + goto __pyx_L1_error; + } + __pyx_L5:; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + + /* "(tree fragment)":8 + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - __pyx_t_3 = (__pyx_v__dict != Py_None); - if (__pyx_t_3) { + __pyx_t_4 = (__pyx_v__dict != Py_None); + if (__pyx_t_4) { + } else { - __pyx_t_2 = __pyx_t_3; - goto __pyx_L4_bool_binop_done; + + __pyx_t_3 = __pyx_t_4; + + goto __pyx_L7_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(1, 7, __pyx_L1_error) - __pyx_t_2 = __pyx_t_3; - __pyx_L4_bool_binop_done:; - if (__pyx_t_2) { + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v__dict); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(1, 8, __pyx_L1_error) - /* "(tree fragment)":8 - * _dict = getattr(self, '__dict__', None) + __pyx_t_3 = __pyx_t_4; + + __pyx_L7_bool_binop_done:; + if (__pyx_t_3) { + + + /* "(tree fragment)":9 + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: * state += (_dict,) # <<<<<<<<<<<<<< * use_setstate = True * else: */ - __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v__dict); __Pyx_GIVEREF(__pyx_v__dict); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 8, __pyx_L1_error); - __pyx_t_4 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 8, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict) != (0)) __PYX_ERR(1, 9, __pyx_L1_error); + __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_4)); - __pyx_t_4 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2)); + __pyx_t_2 = 0; - /* "(tree fragment)":9 + /* "(tree fragment)":10 * if _dict is not None and _dict: * state += (_dict,) * use_setstate = True # <<<<<<<<<<<<<< @@ -15105,17 +16731,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO */ __pyx_v_use_setstate = 1; - /* "(tree fragment)":7 - * state = (self.try_except_infos,) - * _dict = getattr(self, '__dict__', None) + /* "(tree fragment)":8 + * state = (self.try_except_infos,) + * _dict = getattr(self, '__dict__', None) * if _dict is not None and _dict: # <<<<<<<<<<<<<< * state += (_dict,) * use_setstate = True */ - goto __pyx_L3; + goto __pyx_L6; } - /* "(tree fragment)":11 + /* "(tree fragment)":12 * use_setstate = True * else: * use_setstate = self.try_except_infos is not None # <<<<<<<<<<<<<< @@ -15123,12 +16749,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state */ /*else*/ { - __pyx_t_2 = (__pyx_v_self->try_except_infos != ((PyObject*)Py_None)); - __pyx_v_use_setstate = __pyx_t_2; + __pyx_t_3 = (__pyx_v_self->try_except_infos != ((PyObject*)Py_None)); + __pyx_v_use_setstate = __pyx_t_3; } - __pyx_L3:; + __pyx_L6:; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -15137,43 +16763,49 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO */ if (__pyx_v_use_setstate) { - /* "(tree fragment)":13 + /* "(tree fragment)":14 * use_setstate = self.try_except_infos is not None * if use_setstate: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state # <<<<<<<<<<<<<< * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 13, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_230645316); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_230645316); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 13, __pyx_L1_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 14, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_2) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 13, __pyx_L1_error); - __pyx_t_4 = 0; + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 14, __pyx_L1_error); + __pyx_t_2 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_5; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L0; - /* "(tree fragment)":12 + /* "(tree fragment)":13 * else: * use_setstate = self.try_except_infos is not None * if use_setstate: # <<<<<<<<<<<<<< @@ -15182,7 +16814,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO */ } - /* "(tree fragment)":15 + /* "(tree fragment)":16 * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, None), state * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) # <<<<<<<<<<<<<< @@ -15190,30 +16822,36 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pyx_unpickle__TryExceptContain); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_mstate_global->__pyx_int_230645316); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_230645316); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_mstate_global->__pyx_int_230645316) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_INCREF(__pyx_v_state); __Pyx_GIVEREF(__pyx_v_state); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 15, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); + __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 15, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(1, 16, __pyx_L1_error); __pyx_t_5 = 0; __pyx_t_1 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_2 = 0; goto __pyx_L0; } @@ -15226,19 +16864,20 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO /* function exit code */ __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_1); - __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_2); __Pyx_XDECREF(__pyx_t_5); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._TryExceptContainerObj.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = NULL; __pyx_L0:; __Pyx_XDECREF(__pyx_v_state); __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "(tree fragment)":16 +/* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -15247,7 +16886,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -15255,14 +16894,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__(PyObject *__pyx_v_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -15273,7 +16912,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -15284,32 +16923,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 16, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 17, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 16, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 17, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 1; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 16, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 17, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 16, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 17, __pyx_L3_error) } __pyx_v___pyx_state = values[0]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 17, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -15340,24 +16979,24 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__setstate_cython__", 0); - /* "(tree fragment)":17 + /* "(tree fragment)":18 * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) # <<<<<<<<<<<<<< */ __pyx_t_1 = __pyx_v___pyx_state; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 17, __pyx_L1_error) + if (!(likely(PyTuple_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_t_1))) __PYX_ERR(1, 18, __pyx_L1_error) if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); - __PYX_ERR(1, 17, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); + __PYX_ERR(1, 18, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExceptContainerObj__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 17, __pyx_L1_error) + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExceptContainerObj__set_state(__pyx_v_self, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 18, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< @@ -15378,7 +17017,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":888 +/* "_pydevd_sys_monitoring_cython.pyx":894 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -15419,7 +17058,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_unwind_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":895 + /* "_pydevd_sys_monitoring_cython.pyx":901 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -15435,23 +17074,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":896 + /* "_pydevd_sys_monitoring_cython.pyx":902 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 896, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 902, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 896, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 902, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 896, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 902, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":895 + /* "_pydevd_sys_monitoring_cython.pyx":901 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -15467,7 +17106,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":897 + /* "_pydevd_sys_monitoring_cython.pyx":903 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -15476,25 +17115,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._unwind_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 897, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 903, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":898 + /* "_pydevd_sys_monitoring_cython.pyx":904 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 898, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 904, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 898, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 904, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":899 + /* "_pydevd_sys_monitoring_cython.pyx":905 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -15504,21 +17143,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":900 + + /* "_pydevd_sys_monitoring_cython.pyx":906 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":899 + /* "_pydevd_sys_monitoring_cython.pyx":905 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -15532,7 +17178,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":895 + /* "_pydevd_sys_monitoring_cython.pyx":901 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -15559,22 +17205,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":902 + /* "_pydevd_sys_monitoring_cython.pyx":908 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 902, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 908, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 902, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":903 + /* "_pydevd_sys_monitoring_cython.pyx":909 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -15583,30 +17229,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 903, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 909, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 903, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 909, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":904 + + /* "_pydevd_sys_monitoring_cython.pyx":910 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":903 + /* "_pydevd_sys_monitoring_cython.pyx":909 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -15615,7 +17273,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":906 + /* "_pydevd_sys_monitoring_cython.pyx":912 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -15623,29 +17281,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L16_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 906, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 912, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":909 + + /* "_pydevd_sys_monitoring_cython.pyx":915 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":906 + /* "_pydevd_sys_monitoring_cython.pyx":912 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -15654,19 +17327,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":911 + /* "_pydevd_sys_monitoring_cython.pyx":917 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return */ - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 911, __pyx_L1_error) + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 917, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":912 + /* "_pydevd_sys_monitoring_cython.pyx":918 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -15675,18 +17348,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":913 + /* "_pydevd_sys_monitoring_cython.pyx":919 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return # <<<<<<<<<<<<<< * * # print('_unwind_event', code, exc) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":912 + /* "_pydevd_sys_monitoring_cython.pyx":918 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -15695,7 +17374,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":916 + /* "_pydevd_sys_monitoring_cython.pyx":922 * * # print('_unwind_event', code, exc) * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -15704,44 +17383,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 916, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 922, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":917 + /* "_pydevd_sys_monitoring_cython.pyx":923 * # print('_unwind_event', code, exc) * frame = _getframe(1) * arg = (type(exc), exc, exc.__traceback__) # <<<<<<<<<<<<<< * * has_caught_exception_breakpoint_in_pydb = ( */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_mstate_global->__pyx_n_u_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 917, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_mstate_global->__pyx_n_u_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 917, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_exc))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_exc))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc))) != (0)) __PYX_ERR(0, 917, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc))) != (0)) __PYX_ERR(0, 923, __pyx_L1_error); __Pyx_INCREF(__pyx_v_exc); __Pyx_GIVEREF(__pyx_v_exc); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc) != (0)) __PYX_ERR(0, 917, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc) != (0)) __PYX_ERR(0, 923, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4) != (0)) __PYX_ERR(0, 917, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4) != (0)) __PYX_ERR(0, 923, __pyx_L1_error); __pyx_t_4 = 0; __pyx_v_arg = ((PyObject*)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":920 + /* "_pydevd_sys_monitoring_cython.pyx":926 * * has_caught_exception_breakpoint_in_pydb = ( * py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks # <<<<<<<<<<<<<< * ) * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 920, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 920, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 926, __pyx_L1_error) if (!__pyx_t_8) { __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { @@ -15750,9 +17429,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L19_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 920, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 920, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 926, __pyx_L1_error) if (!__pyx_t_8) { __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { @@ -15761,7 +17440,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L19_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 920, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_4); __pyx_t_6 = __pyx_t_4; @@ -15770,17 +17449,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_v_has_caught_exception_breakpoint_in_pydb = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":923 + /* "_pydevd_sys_monitoring_cython.pyx":929 * ) * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 923, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 929, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":924 + + /* "_pydevd_sys_monitoring_cython.pyx":930 * * if has_caught_exception_breakpoint_in_pydb: * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< @@ -15788,16 +17468,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject * ) */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 924, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":925 + /* "_pydevd_sys_monitoring_cython.pyx":931 * if has_caught_exception_breakpoint_in_pydb: * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True # <<<<<<<<<<<<<< * ) * if user_uncaught_exc_info: */ + #if CYTHON_VECTORCALL + + /* "_pydevd_sys_monitoring_cython.pyx":930 + * + * if has_caught_exception_breakpoint_in_pydb: + * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True + * ) +*/ + #endif __pyx_t_12 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_5))) { @@ -15811,15 +17501,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject } #endif { - PyObject *__pyx_callargs[7 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_frame, __pyx_v_thread_info->thread, __pyx_v_arg, Py_None}; - __pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 924, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_is_unwind, Py_True, __pyx_t_7, __pyx_callargs+7, 0) < (0)) __PYX_ERR(0, 924, __pyx_L1_error) - __pyx_t_6 = __Pyx_Object_Vectorcall_CallFromBuilder((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_12, (7-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7); + PyObject *__pyx_callargs[8] = {__pyx_t_4, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_frame, __pyx_v_thread_info->thread, __pyx_v_arg, Py_None, Py_True}; + #if CYTHON_VECTORCALL + __pyx_t_7 = __pyx_mstate_global->__pyx_tuple[3]; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 930, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_7); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_is_unwind}; + __pyx_t_7 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+7, 1); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 930, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + } + #endif + __pyx_t_6 = __Pyx_Object_VectorcallKwds((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_12, (7-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 924, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } if ((likely(PyTuple_CheckExact(__pyx_t_6))) || (PyList_CheckExact(__pyx_t_6))) { @@ -15828,7 +17529,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 924, __pyx_L1_error) + __PYX_ERR(0, 930, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -15839,28 +17540,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_4 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_4); } else { - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_7); - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); } #else - __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #endif __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } else { Py_ssize_t index = -1; - __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 924, __pyx_L1_error) + __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_14 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_13); @@ -15870,7 +17571,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_GOTREF(__pyx_t_7); index = 2; __pyx_t_4 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed; __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < (0)) __PYX_ERR(0, 924, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < (0)) __PYX_ERR(0, 930, __pyx_L1_error) __pyx_t_14 = NULL; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; goto __pyx_L24_unpacking_done; @@ -15878,17 +17579,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_14 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 924, __pyx_L1_error) + __PYX_ERR(0, 930, __pyx_L1_error) __pyx_L24_unpacking_done:; } - - /* "_pydevd_sys_monitoring_cython.pyx":924 - * - * if has_caught_exception_breakpoint_in_pydb: - * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True - * ) -*/ __pyx_v__should_stop = __pyx_t_5; __pyx_t_5 = 0; __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_7); @@ -15896,17 +17589,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_v_user_uncaught_exc_info = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":927 + /* "_pydevd_sys_monitoring_cython.pyx":933 * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True * ) * if user_uncaught_exc_info: # <<<<<<<<<<<<<< * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_user_uncaught_exc_info); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 927, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_user_uncaught_exc_info); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 933, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":930 + + /* "_pydevd_sys_monitoring_cython.pyx":936 * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: # <<<<<<<<<<<<<< @@ -15916,7 +17610,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_8 = (__pyx_v_func_code_info->try_except_container_obj == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":931 + + /* "_pydevd_sys_monitoring_cython.pyx":937 * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: * container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) # <<<<<<<<<<<<<< @@ -15926,7 +17621,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_4 = NULL; __pyx_t_5 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_5); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 931, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __pyx_t_12 = 0; { @@ -15934,7 +17629,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_collect_try_except_info, __pyx_callargs+__pyx_t_12, (2-__pyx_t_12) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 931, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __pyx_t_12 = 1; @@ -15943,13 +17638,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_callargs+__pyx_t_12, (2-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 931, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 937, __pyx_L1_error) __Pyx_GOTREF((PyObject *)__pyx_t_6); } __pyx_v_container_obj = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":932 + /* "_pydevd_sys_monitoring_cython.pyx":938 * if func_code_info.try_except_container_obj is None: * container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) * func_code_info.try_except_container_obj = container_obj # <<<<<<<<<<<<<< @@ -15959,10 +17654,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_INCREF((PyObject *)__pyx_v_container_obj); __Pyx_GIVEREF((PyObject *)__pyx_v_container_obj); __Pyx_GOTREF(__pyx_v_func_code_info->try_except_container_obj); - __Pyx_DECREF(__pyx_v_func_code_info->try_except_container_obj); - __pyx_v_func_code_info->try_except_container_obj = ((PyObject *)__pyx_v_container_obj); + __Pyx_DECREF_SET(__pyx_v_func_code_info->try_except_container_obj, ((PyObject *)__pyx_v_container_obj)); - /* "_pydevd_sys_monitoring_cython.pyx":930 + /* "_pydevd_sys_monitoring_cython.pyx":936 * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: # <<<<<<<<<<<<<< @@ -15971,7 +17665,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":934 + /* "_pydevd_sys_monitoring_cython.pyx":940 * func_code_info.try_except_container_obj = container_obj * * is_unhandled = is_unhandled_exception( # <<<<<<<<<<<<<< @@ -15979,19 +17673,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject * ) */ __pyx_t_7 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_is_unhandled_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 934, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_is_unhandled_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 940, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":935 + /* "_pydevd_sys_monitoring_cython.pyx":941 * * is_unhandled = is_unhandled_exception( * func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] # <<<<<<<<<<<<<< * ) * */ - __pyx_t_13 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 935, __pyx_L1_error) + __pyx_t_13 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 941, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); - __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 935, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 941, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_12 = 1; #if CYTHON_UNPACK_METHODS @@ -16012,23 +17706,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 934, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 940, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } __pyx_v_is_unhandled = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":938 + /* "_pydevd_sys_monitoring_cython.pyx":944 * ) * * if is_unhandled: # <<<<<<<<<<<<<< * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) * return */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_unhandled); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 938, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_unhandled); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 944, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":939 + + /* "_pydevd_sys_monitoring_cython.pyx":945 * * if is_unhandled: * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) # <<<<<<<<<<<<<< @@ -16036,11 +17731,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject * */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 939, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_13 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 939, __pyx_L1_error) + __pyx_t_13 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 939, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_12 = 1; #if CYTHON_UNPACK_METHODS @@ -16061,23 +17756,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 939, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 945, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":940 + /* "_pydevd_sys_monitoring_cython.pyx":946 * if is_unhandled: * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) * return # <<<<<<<<<<<<<< * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":938 + /* "_pydevd_sys_monitoring_cython.pyx":944 * ) * * if is_unhandled: # <<<<<<<<<<<<<< @@ -16086,7 +17787,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":927 + /* "_pydevd_sys_monitoring_cython.pyx":933 * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True * ) * if user_uncaught_exc_info: # <<<<<<<<<<<<<< @@ -16095,7 +17796,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":923 + /* "_pydevd_sys_monitoring_cython.pyx":929 * ) * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< @@ -16104,50 +17805,94 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":942 + /* "_pydevd_sys_monitoring_cython.pyx":948 * return * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions # <<<<<<<<<<<<<< * if break_on_uncaught_exceptions: * if frame is _get_unhandled_exception_frame(exc, 1): */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 942, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 948, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_break_on_uncaught_exceptions = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":943 + /* "_pydevd_sys_monitoring_cython.pyx":949 * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< * if frame is _get_unhandled_exception_frame(exc, 1): - * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 943, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 949, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":944 + + /* "_pydevd_sys_monitoring_cython.pyx":950 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: * if frame is _get_unhandled_exception_frame(exc, 1): # <<<<<<<<<<<<<< - * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) - * return + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_exc */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(__pyx_v_exc, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 944, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(__pyx_v_exc, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 950, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = (__pyx_v_frame == __pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":945 + + /* "_pydevd_sys_monitoring_cython.pyx":951 * if break_on_uncaught_exceptions: * if frame is _get_unhandled_exception_frame(exc, 1): + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc # <<<<<<<<<<<<<< + * del _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_frame +*/ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 951, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 951, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 951, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_reported_unhandled_exc_tag, __pyx_t_5) < (0)) __PYX_ERR(0, 951, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":952 + * if frame is _get_unhandled_exception_frame(exc, 1): + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_exc # <<<<<<<<<<<<<< + * del _thread_local_info.f_unhandled_frame + * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) +*/ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 952, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_unhandled_exc) < (0)) __PYX_ERR(0, 952, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":953 + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<< + * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) + * return +*/ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 953, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_unhandled_frame) < (0)) __PYX_ERR(0, 953, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":954 + * del _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_frame * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) # <<<<<<<<<<<<<< * return * */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_stop_on_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 945, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_stop_on_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 954, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_12 = 1; #if CYTHON_UNPACK_METHODS @@ -16166,41 +17911,47 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_12, (5-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 945, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 954, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":946 - * if frame is _get_unhandled_exception_frame(exc, 1): + /* "_pydevd_sys_monitoring_cython.pyx":955 + * del _thread_local_info.f_unhandled_frame * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) * return # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":944 + /* "_pydevd_sys_monitoring_cython.pyx":950 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: * if frame is _get_unhandled_exception_frame(exc, 1): # <<<<<<<<<<<<<< - * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) - * return + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + * del _thread_local_info.f_unhandled_exc */ } - /* "_pydevd_sys_monitoring_cython.pyx":943 + /* "_pydevd_sys_monitoring_cython.pyx":949 * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< * if frame is _get_unhandled_exception_frame(exc, 1): - * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) + * _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc */ } - /* "_pydevd_sys_monitoring_cython.pyx":888 + /* "_pydevd_sys_monitoring_cython.pyx":894 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16236,7 +17987,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":951 +/* "_pydevd_sys_monitoring_cython.pyx":960 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16274,7 +18025,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_raise_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":968 + /* "_pydevd_sys_monitoring_cython.pyx":977 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -16290,23 +18041,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":969 + /* "_pydevd_sys_monitoring_cython.pyx":978 * """ * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 969, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 978, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 969, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 978, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 969, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 978, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":968 + /* "_pydevd_sys_monitoring_cython.pyx":977 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -16322,7 +18073,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":970 + /* "_pydevd_sys_monitoring_cython.pyx":979 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -16331,25 +18082,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._raise_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 970, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 979, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":971 + /* "_pydevd_sys_monitoring_cython.pyx":980 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 971, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 980, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 971, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 980, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":972 + /* "_pydevd_sys_monitoring_cython.pyx":981 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -16359,21 +18110,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":973 + + /* "_pydevd_sys_monitoring_cython.pyx":982 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":972 + /* "_pydevd_sys_monitoring_cython.pyx":981 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -16387,7 +18145,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":968 + /* "_pydevd_sys_monitoring_cython.pyx":977 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -16414,22 +18172,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":975 + /* "_pydevd_sys_monitoring_cython.pyx":984 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 975, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 984, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 975, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 984, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":976 + /* "_pydevd_sys_monitoring_cython.pyx":985 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -16438,30 +18196,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 976, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 985, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 976, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 985, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":977 + + /* "_pydevd_sys_monitoring_cython.pyx":986 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":976 + /* "_pydevd_sys_monitoring_cython.pyx":985 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -16470,7 +18240,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":979 + /* "_pydevd_sys_monitoring_cython.pyx":988 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -16478,29 +18248,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L16_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 979, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 988, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":982 + + /* "_pydevd_sys_monitoring_cython.pyx":991 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":979 + /* "_pydevd_sys_monitoring_cython.pyx":988 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -16509,19 +18294,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":984 + /* "_pydevd_sys_monitoring_cython.pyx":993 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return */ - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 984, __pyx_L1_error) + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 993, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":985 + /* "_pydevd_sys_monitoring_cython.pyx":994 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -16530,18 +18315,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":986 + /* "_pydevd_sys_monitoring_cython.pyx":995 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return # <<<<<<<<<<<<<< * * frame = _getframe(1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":985 + /* "_pydevd_sys_monitoring_cython.pyx":994 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -16550,7 +18341,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":988 + /* "_pydevd_sys_monitoring_cython.pyx":997 * return * * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -16559,49 +18350,49 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 988, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 997, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":989 + /* "_pydevd_sys_monitoring_cython.pyx":998 * * frame = _getframe(1) * arg = (type(exc), exc, exc.__traceback__) # <<<<<<<<<<<<<< * * # Compute the previous exception info (if any). We use it to check if the exception */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_mstate_global->__pyx_n_u_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 989, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_mstate_global->__pyx_n_u_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 998, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 989, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 998, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_exc))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_exc))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc))) != (0)) __PYX_ERR(0, 989, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc))) != (0)) __PYX_ERR(0, 998, __pyx_L1_error); __Pyx_INCREF(__pyx_v_exc); __Pyx_GIVEREF(__pyx_v_exc); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc) != (0)) __PYX_ERR(0, 989, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc) != (0)) __PYX_ERR(0, 998, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4) != (0)) __PYX_ERR(0, 989, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4) != (0)) __PYX_ERR(0, 998, __pyx_L1_error); __pyx_t_4 = 0; __pyx_v_arg = ((PyObject*)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":993 + /* "_pydevd_sys_monitoring_cython.pyx":1002 * # Compute the previous exception info (if any). We use it to check if the exception * # should be stopped * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None # <<<<<<<<<<<<<< * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 993, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1002, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_HasAttr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 993, __pyx_L1_error) + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1002, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 993, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1002, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 993, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1002, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_6 = __pyx_t_5; @@ -16610,10 +18401,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_INCREF(Py_None); __pyx_t_6 = Py_None; } + __pyx_v_prev_exc_info = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":994 + /* "_pydevd_sys_monitoring_cython.pyx":1003 * # should be stopped * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< @@ -16621,10 +18413,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * * ) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 994, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_should_stop_on_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":995 + /* "_pydevd_sys_monitoring_cython.pyx":1004 * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info # <<<<<<<<<<<<<< @@ -16648,7 +18440,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_12, (7-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 994, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } if ((likely(PyTuple_CheckExact(__pyx_t_6))) || (PyList_CheckExact(__pyx_t_6))) { @@ -16657,7 +18449,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 994, __pyx_L1_error) + __PYX_ERR(0, 1003, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -16668,28 +18460,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_7); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_7); } #else - __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_7 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); #endif __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } else { Py_ssize_t index = -1; - __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 994, __pyx_L1_error) + __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1003, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_14 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_13); @@ -16699,7 +18491,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_GOTREF(__pyx_t_5); index = 2; __pyx_t_7 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_7)) goto __pyx_L19_unpacking_failed; __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < (0)) __PYX_ERR(0, 994, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < (0)) __PYX_ERR(0, 1003, __pyx_L1_error) __pyx_t_14 = NULL; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; goto __pyx_L20_unpacking_done; @@ -16707,11 +18499,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_14 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 994, __pyx_L1_error) + __PYX_ERR(0, 1003, __pyx_L1_error) __pyx_L20_unpacking_done:; } - /* "_pydevd_sys_monitoring_cython.pyx":994 + /* "_pydevd_sys_monitoring_cython.pyx":1003 * # should be stopped * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< @@ -16725,29 +18517,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_v__user_uncaught_exc_info = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":999 + /* "_pydevd_sys_monitoring_cython.pyx":1008 * * # Save the current exception info for the next raise event. * _thread_local_info._user_uncaught_exc_info = _user_uncaught_exc_info # <<<<<<<<<<<<<< * * # print('!!!! should_stop (in raise)', should_stop) */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 999, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1008, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info, __pyx_v__user_uncaught_exc_info) < (0)) __PYX_ERR(0, 999, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_user_uncaught_exc_info, __pyx_v__user_uncaught_exc_info) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1002 + /* "_pydevd_sys_monitoring_cython.pyx":1011 * * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: # <<<<<<<<<<<<<< * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) * */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1002, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1011, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1003 + + /* "_pydevd_sys_monitoring_cython.pyx":1012 * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) # <<<<<<<<<<<<<< @@ -16755,9 +18548,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * * */ __pyx_t_7 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1003, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_handle_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1012, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1012, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_12 = 1; #if CYTHON_UNPACK_METHODS @@ -16777,12 +18570,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1003, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1012, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1002 + /* "_pydevd_sys_monitoring_cython.pyx":1011 * * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: # <<<<<<<<<<<<<< @@ -16791,7 +18584,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":951 + /* "_pydevd_sys_monitoring_cython.pyx":960 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16824,7 +18617,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1008 +/* "_pydevd_sys_monitoring_cython.pyx":1017 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef str get_func_name(frame): # <<<<<<<<<<<<<< @@ -16847,41 +18640,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject size_t __pyx_t_7; int __pyx_t_8; PyObject *__pyx_t_9[3]; - PyObject *__pyx_t_10 = NULL; - PyObject *__pyx_t_11 = NULL; + Py_ssize_t __pyx_t_10; + int __pyx_t_11; PyObject *__pyx_t_12 = NULL; PyObject *__pyx_t_13 = NULL; + PyObject *__pyx_t_14 = NULL; + PyObject *__pyx_t_15 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_func_name", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1014 + /* "_pydevd_sys_monitoring_cython.pyx":1023 * # ENDIF * # fmt: on * code_obj = frame.f_code # <<<<<<<<<<<<<< * func_name = code_obj.co_name * try: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1014, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1023, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_code_obj = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1015 + /* "_pydevd_sys_monitoring_cython.pyx":1024 * # fmt: on * code_obj = frame.f_code * func_name = code_obj.co_name # <<<<<<<<<<<<<< * try: * cls_name = get_clsname_for_code(code_obj, frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_obj, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1015, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_obj, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1024, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1015, __pyx_L1_error) + if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1024, __pyx_L1_error) __pyx_v_func_name = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1016 + /* "_pydevd_sys_monitoring_cython.pyx":1025 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -16897,7 +18692,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __Pyx_XGOTREF(__pyx_t_4); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1017 + /* "_pydevd_sys_monitoring_cython.pyx":1026 * func_name = code_obj.co_name * try: * cls_name = get_clsname_for_code(code_obj, frame) # <<<<<<<<<<<<<< @@ -16905,7 +18700,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject * return "%s.%s" % (cls_name, func_name) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_get_clsname_for_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1017, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_get_clsname_for_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1026, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_7 = 1; #if CYTHON_UNPACK_METHODS @@ -16924,13 +18719,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_7, (3-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1017, __pyx_L3_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1026, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_cls_name = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1018 + /* "_pydevd_sys_monitoring_cython.pyx":1027 * try: * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: # <<<<<<<<<<<<<< @@ -16940,31 +18735,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __pyx_t_8 = (__pyx_v_cls_name != Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1019 + + /* "_pydevd_sys_monitoring_cython.pyx":1028 * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: * return "%s.%s" % (cls_name, func_name) # <<<<<<<<<<<<<< * else: * return func_name */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_cls_name), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1019, __pyx_L3_error) + __pyx_t_1 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_cls_name), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1028, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyUnicode_Unicode(__pyx_v_func_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1019, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyUnicode_Unicode(__pyx_v_func_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1028, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_9[0] = __pyx_t_1; - __pyx_t_9[1] = __pyx_mstate_global->__pyx_kp_u__4; + __pyx_t_9[1] = __pyx_mstate_global->__pyx_kp_u__5; __pyx_t_9[2] = __pyx_t_6; - __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_9, 3, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6)); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1019, __pyx_L3_error) + __pyx_t_10 = 1; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_10 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9[0]) + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9[2]); + #endif + __pyx_t_11 = 0; + #if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH + __pyx_t_11 |= __Pyx_PyUnicode_KIND_04(__pyx_t_9[0]) | __Pyx_PyUnicode_KIND_04(__pyx_t_9[2]); + #endif + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_9, 3, __pyx_t_10, __pyx_t_11); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1028, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = ((PyObject*)__pyx_t_5); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = ((PyObject*)__pyx_t_5); + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_5 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":1018 + /* "_pydevd_sys_monitoring_cython.pyx":1027 * try: * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: # <<<<<<<<<<<<<< @@ -16973,7 +18783,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1021 + /* "_pydevd_sys_monitoring_cython.pyx":1030 * return "%s.%s" % (cls_name, func_name) * else: * return func_name # <<<<<<<<<<<<<< @@ -16981,13 +18791,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject * pydev_log.exception() */ /*else*/ { - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_func_name); - __pyx_r = __pyx_v_func_name; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_func_name); + __pyx_r = __pyx_v_func_name; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L7_try_return; } - /* "_pydevd_sys_monitoring_cython.pyx":1016 + /* "_pydevd_sys_monitoring_cython.pyx":1025 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -17000,7 +18816,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1022 + /* "_pydevd_sys_monitoring_cython.pyx":1031 * else: * return func_name * except: # <<<<<<<<<<<<<< @@ -17009,63 +18825,69 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.get_func_name", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1022, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_1) < 0) __PYX_ERR(0, 1031, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":1023 + /* "_pydevd_sys_monitoring_cython.pyx":1032 * return func_name * except: * pydev_log.exception() # <<<<<<<<<<<<<< * return func_name * */ - __pyx_t_11 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1023, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_12); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1023, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_13 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1032, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_14); + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1032, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __pyx_t_7 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_13))) { - __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_13); - assert(__pyx_t_11); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_13); - __Pyx_INCREF(__pyx_t_11); + if (unlikely(PyMethod_Check(__pyx_t_15))) { + __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_15); + assert(__pyx_t_13); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_15); + __Pyx_INCREF(__pyx_t_13); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_13, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_15, __pyx__function); __pyx_t_7 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_11, NULL}; - __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_13, __pyx_callargs+__pyx_t_7, (1-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1023, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_10); + PyObject *__pyx_callargs[2] = {__pyx_t_13, NULL}; + __pyx_t_12 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_15, __pyx_callargs+__pyx_t_7, (1-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1032, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_12); } - __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1024 + /* "_pydevd_sys_monitoring_cython.pyx":1033 * except: * pydev_log.exception() * return func_name # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v_func_name); - __pyx_r = __pyx_v_func_name; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v_func_name); + __pyx_r = __pyx_v_func_name; + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":1016 + /* "_pydevd_sys_monitoring_cython.pyx":1025 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -17092,7 +18914,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":1008 + /* "_pydevd_sys_monitoring_cython.pyx":1017 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef str get_func_name(frame): # <<<<<<<<<<<<<< @@ -17105,10 +18927,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __Pyx_XDECREF(__pyx_t_1); __Pyx_XDECREF(__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); - __Pyx_XDECREF(__pyx_t_10); - __Pyx_XDECREF(__pyx_t_11); __Pyx_XDECREF(__pyx_t_12); __Pyx_XDECREF(__pyx_t_13); + __Pyx_XDECREF(__pyx_t_14); + __Pyx_XDECREF(__pyx_t_15); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.get_func_name", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; @@ -17120,7 +18942,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1029 +/* "_pydevd_sys_monitoring_cython.pyx":1038 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<< @@ -17157,7 +18979,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_show_return_values", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1034 + /* "_pydevd_sys_monitoring_cython.pyx":1043 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17166,7 +18988,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1035 + /* "_pydevd_sys_monitoring_cython.pyx":1044 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17182,22 +19004,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1036 + /* "_pydevd_sys_monitoring_cython.pyx":1045 * try: * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) # <<<<<<<<<<<<<< * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1036, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1045, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_GetAttr3(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_locals, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1036, __pyx_L6_error) + __pyx_t_5 = __Pyx_GetAttr3(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_locals, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1045, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_f_locals_back = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1037 + /* "_pydevd_sys_monitoring_cython.pyx":1046 * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17207,7 +19029,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_6 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1038 + + /* "_pydevd_sys_monitoring_cython.pyx":1047 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< @@ -17216,7 +19039,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ __pyx_t_4 = __pyx_v_f_locals_back; __Pyx_INCREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1038, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1047, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = 0; { @@ -17224,13 +19047,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1038, __pyx_L6_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1047, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); } __pyx_v_return_values_dict = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1039 + /* "_pydevd_sys_monitoring_cython.pyx":1048 * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: # <<<<<<<<<<<<<< @@ -17240,31 +19063,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_6 = (__pyx_v_return_values_dict == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1040 + + /* "_pydevd_sys_monitoring_cython.pyx":1049 * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: * return_values_dict = {} # <<<<<<<<<<<<<< * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) */ - __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1040, __pyx_L6_error) + __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1049, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_return_values_dict, __pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1041 + /* "_pydevd_sys_monitoring_cython.pyx":1050 * if return_values_dict is None: * return_values_dict = {} * f_locals_back[RETURN_VALUES_DICT] = return_values_dict # <<<<<<<<<<<<<< * name = get_func_name(frame) * return_values_dict[name] = arg */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1041, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1050, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); - if (unlikely((PyObject_SetItem(__pyx_v_f_locals_back, __pyx_t_5, __pyx_v_return_values_dict) < 0))) __PYX_ERR(0, 1041, __pyx_L6_error) + if (unlikely((PyObject_SetItem(__pyx_v_f_locals_back, __pyx_t_5, __pyx_v_return_values_dict) < 0))) __PYX_ERR(0, 1050, __pyx_L6_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1039 + /* "_pydevd_sys_monitoring_cython.pyx":1048 * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: # <<<<<<<<<<<<<< @@ -17273,28 +19097,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1042 + /* "_pydevd_sys_monitoring_cython.pyx":1051 * return_values_dict = {} * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) # <<<<<<<<<<<<<< * return_values_dict[name] = arg * except: */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(__pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1042, __pyx_L6_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(__pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1051, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __pyx_v_name = ((PyObject*)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1043 + /* "_pydevd_sys_monitoring_cython.pyx":1052 * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) * return_values_dict[name] = arg # <<<<<<<<<<<<<< * except: * pydev_log.exception() */ - if (unlikely((PyObject_SetItem(__pyx_v_return_values_dict, __pyx_v_name, __pyx_v_arg) < 0))) __PYX_ERR(0, 1043, __pyx_L6_error) + if (unlikely((PyObject_SetItem(__pyx_v_return_values_dict, __pyx_v_name, __pyx_v_arg) < 0))) __PYX_ERR(0, 1052, __pyx_L6_error) - /* "_pydevd_sys_monitoring_cython.pyx":1037 + /* "_pydevd_sys_monitoring_cython.pyx":1046 * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17303,7 +19127,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1035 + /* "_pydevd_sys_monitoring_cython.pyx":1044 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17320,7 +19144,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1044 + /* "_pydevd_sys_monitoring_cython.pyx":1053 * name = get_func_name(frame) * return_values_dict[name] = arg * except: # <<<<<<<<<<<<<< @@ -17329,12 +19153,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._show_return_values", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_7, &__pyx_t_4) < 0) __PYX_ERR(0, 1044, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_7, &__pyx_t_4) < 0) __PYX_ERR(0, 1053, __pyx_L8_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_7); __Pyx_XGOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":1045 + /* "_pydevd_sys_monitoring_cython.pyx":1054 * return_values_dict[name] = arg * except: * pydev_log.exception() # <<<<<<<<<<<<<< @@ -17342,9 +19166,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO * f_locals_back = None */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1045, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1054, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1045, __pyx_L8_except_error) + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1054, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_8 = 1; @@ -17364,7 +19188,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_12, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1045, __pyx_L8_except_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1054, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_9); } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; @@ -17374,7 +19198,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1035 + /* "_pydevd_sys_monitoring_cython.pyx":1044 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17396,7 +19220,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO } } - /* "_pydevd_sys_monitoring_cython.pyx":1047 + /* "_pydevd_sys_monitoring_cython.pyx":1056 * pydev_log.exception() * finally: * f_locals_back = None # <<<<<<<<<<<<<< @@ -17449,7 +19273,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_L5:; } - /* "_pydevd_sys_monitoring_cython.pyx":1029 + /* "_pydevd_sys_monitoring_cython.pyx":1038 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<< @@ -17479,7 +19303,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1052 +/* "_pydevd_sys_monitoring_cython.pyx":1061 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<< @@ -17514,7 +19338,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_remove_return_values", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1057 + /* "_pydevd_sys_monitoring_cython.pyx":1066 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17523,7 +19347,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1058 + /* "_pydevd_sys_monitoring_cython.pyx":1067 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17539,18 +19363,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1061 + /* "_pydevd_sys_monitoring_cython.pyx":1070 * # Showing return values was turned off, we should remove them from locals dict. * # The values can be in the current frame or in the back one * frame.f_locals.pop(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< * * f_locals_back = getattr(frame.f_back, "f_locals", None) */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1061, __pyx_L6_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_locals); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1070, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = __pyx_t_6; __Pyx_INCREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1061, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1070, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = 0; { @@ -17559,27 +19383,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1061, __pyx_L6_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1070, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1063 + /* "_pydevd_sys_monitoring_cython.pyx":1072 * frame.f_locals.pop(RETURN_VALUES_DICT, None) * * f_locals_back = getattr(frame.f_back, "f_locals", None) # <<<<<<<<<<<<<< * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1063, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1072, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_GetAttr3(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_locals, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1063, __pyx_L6_error) + __pyx_t_6 = __Pyx_GetAttr3(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_locals, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1072, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_f_locals_back = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1064 + /* "_pydevd_sys_monitoring_cython.pyx":1073 * * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17589,7 +19413,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_9 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1065 + + /* "_pydevd_sys_monitoring_cython.pyx":1074 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< @@ -17598,7 +19423,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ __pyx_t_4 = __pyx_v_f_locals_back; __Pyx_INCREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1065, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1074, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = 0; { @@ -17606,12 +19431,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_pop, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1065, __pyx_L6_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1074, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1064 + /* "_pydevd_sys_monitoring_cython.pyx":1073 * * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17620,7 +19445,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ } - /* "_pydevd_sys_monitoring_cython.pyx":1058 + /* "_pydevd_sys_monitoring_cython.pyx":1067 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17638,7 +19463,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1066 + /* "_pydevd_sys_monitoring_cython.pyx":1075 * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) * except: # <<<<<<<<<<<<<< @@ -17647,12 +19472,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._remove_return_values", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_4) < 0) __PYX_ERR(0, 1066, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_7, &__pyx_t_4) < 0) __PYX_ERR(0, 1075, __pyx_L8_except_error) __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_7); __Pyx_XGOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":1067 + /* "_pydevd_sys_monitoring_cython.pyx":1076 * f_locals_back.pop(RETURN_VALUES_DICT, None) * except: * pydev_log.exception() # <<<<<<<<<<<<<< @@ -17660,9 +19485,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C * f_locals_back = None */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1067, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1076, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); - __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1067, __pyx_L8_except_error) + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_exception); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1076, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __pyx_t_8 = 1; @@ -17682,7 +19507,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_12, __pyx_callargs+__pyx_t_8, (1-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1067, __pyx_L8_except_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1076, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_5); } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -17692,7 +19517,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1058 + /* "_pydevd_sys_monitoring_cython.pyx":1067 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17714,7 +19539,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C } } - /* "_pydevd_sys_monitoring_cython.pyx":1069 + /* "_pydevd_sys_monitoring_cython.pyx":1078 * pydev_log.exception() * finally: * f_locals_back = None # <<<<<<<<<<<<<< @@ -17767,7 +19592,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_L5:; } - /* "_pydevd_sys_monitoring_cython.pyx":1052 + /* "_pydevd_sys_monitoring_cython.pyx":1061 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<< @@ -17795,7 +19620,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1074 +/* "_pydevd_sys_monitoring_cython.pyx":1083 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<< @@ -17835,7 +19660,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_return_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1083 + /* "_pydevd_sys_monitoring_cython.pyx":1092 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17851,23 +19676,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1084 + /* "_pydevd_sys_monitoring_cython.pyx":1093 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1084, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1093, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1084, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1093, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1084, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1093, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1083 + /* "_pydevd_sys_monitoring_cython.pyx":1092 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17883,7 +19708,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1085 + /* "_pydevd_sys_monitoring_cython.pyx":1094 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -17892,25 +19717,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._return_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1085, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1094, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1086 + /* "_pydevd_sys_monitoring_cython.pyx":1095 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1086, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1095, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1086, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1095, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1087 + /* "_pydevd_sys_monitoring_cython.pyx":1096 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -17920,21 +19745,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1088 + + /* "_pydevd_sys_monitoring_cython.pyx":1097 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1087 + /* "_pydevd_sys_monitoring_cython.pyx":1096 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -17948,7 +19780,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1083 + /* "_pydevd_sys_monitoring_cython.pyx":1092 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17975,22 +19807,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1090 + /* "_pydevd_sys_monitoring_cython.pyx":1099 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1090, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1099, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1090, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1099, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1091 + /* "_pydevd_sys_monitoring_cython.pyx":1100 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -17999,36 +19831,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1091, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1100, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1091, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1100, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1092 + + /* "_pydevd_sys_monitoring_cython.pyx":1101 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1092, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1101, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1092, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1101, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1091 + /* "_pydevd_sys_monitoring_cython.pyx":1100 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -18037,7 +19881,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1094 + /* "_pydevd_sys_monitoring_cython.pyx":1103 * return monitor.DISABLE * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -18045,29 +19889,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L16_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1103, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1097 + + /* "_pydevd_sys_monitoring_cython.pyx":1106 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1094 + /* "_pydevd_sys_monitoring_cython.pyx":1103 * return monitor.DISABLE * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -18076,19 +19935,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1099 + /* "_pydevd_sys_monitoring_cython.pyx":1108 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return monitor.DISABLE */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1099, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1108, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1100 + /* "_pydevd_sys_monitoring_cython.pyx":1109 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -18097,24 +19956,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1101 + /* "_pydevd_sys_monitoring_cython.pyx":1110 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return monitor.DISABLE # <<<<<<<<<<<<<< * * info = thread_info.additional_info */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1101, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1110, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1101, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1110, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = __pyx_t_4; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1100 + /* "_pydevd_sys_monitoring_cython.pyx":1109 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -18123,7 +19988,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1103 + /* "_pydevd_sys_monitoring_cython.pyx":1112 * return monitor.DISABLE * * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -18135,7 +20000,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1106 + /* "_pydevd_sys_monitoring_cython.pyx":1115 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -18144,12 +20009,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1106, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1108 + /* "_pydevd_sys_monitoring_cython.pyx":1117 * frame = _getframe(1) * * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -18157,9 +20022,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * return */ __pyx_t_12 = __pyx_v_info->pydev_step_cmd; + __pyx_v_step_cmd = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1109 + /* "_pydevd_sys_monitoring_cython.pyx":1118 * * step_cmd = info.pydev_step_cmd * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -18167,20 +20033,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * */ __pyx_t_8 = (__pyx_v_step_cmd == -1L); + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1110 + + /* "_pydevd_sys_monitoring_cython.pyx":1119 * step_cmd = info.pydev_step_cmd * if step_cmd == -1: * return # <<<<<<<<<<<<<< * * if info.suspend_type != PYTHON_SUSPEND: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1109 + /* "_pydevd_sys_monitoring_cython.pyx":1118 * * step_cmd = info.pydev_step_cmd * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -18189,25 +20063,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1112 + /* "_pydevd_sys_monitoring_cython.pyx":1121 * return * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< * # Plugin stepping * if func_code_info.plugin_return_stepping: */ - __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1112, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1112, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1121, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1112, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_CompareBoolNe_int_object(__pyx_t_4, __pyx_t_6, Py_NE); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1121, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1112, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1114 + + /* "_pydevd_sys_monitoring_cython.pyx":1123 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<< @@ -18216,18 +20089,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_v_func_code_info->plugin_return_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":1115 + /* "_pydevd_sys_monitoring_cython.pyx":1124 * # Plugin stepping * if func_code_info.plugin_return_stepping: * _plugin_stepping(py_db, step_cmd, "return", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_return, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1115, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_return, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1124, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1114 + /* "_pydevd_sys_monitoring_cython.pyx":1123 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<< @@ -18236,18 +20109,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1116 + /* "_pydevd_sys_monitoring_cython.pyx":1125 * if func_code_info.plugin_return_stepping: * _plugin_stepping(py_db, step_cmd, "return", frame, thread_info) * return # <<<<<<<<<<<<<< * * # Python line stepping */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1112 + /* "_pydevd_sys_monitoring_cython.pyx":1121 * return * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -18256,19 +20135,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1119 + /* "_pydevd_sys_monitoring_cython.pyx":1128 * * # Python line stepping * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< * if step_cmd in (107, 144, 206, 105): * force_check_project_scope = step_cmd == 144 */ - __pyx_t_5 = __pyx_v_info->pydev_step_stop; - __Pyx_INCREF(__pyx_t_5); - __pyx_v_stop_frame = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_6 = __pyx_v_info->pydev_step_stop; + __Pyx_INCREF(__pyx_t_6); + __pyx_v_stop_frame = __pyx_t_6; + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1120 + /* "_pydevd_sys_monitoring_cython.pyx":1129 * # Python line stepping * stop_frame = info.pydev_step_stop * if step_cmd in (107, 144, 206, 105): # <<<<<<<<<<<<<< @@ -18281,61 +20160,68 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject case 0xCE: case 0x69: - /* "_pydevd_sys_monitoring_cython.pyx":1121 + /* "_pydevd_sys_monitoring_cython.pyx":1130 * stop_frame = info.pydev_step_stop * if step_cmd in (107, 144, 206, 105): * force_check_project_scope = step_cmd == 144 # <<<<<<<<<<<<<< * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) */ - __pyx_t_5 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x90)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1121, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_v_force_check_project_scope = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_6 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x90)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1130, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_v_force_check_project_scope = __pyx_t_6; + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1122 + /* "_pydevd_sys_monitoring_cython.pyx":1131 * if step_cmd in (107, 144, 206, 105): * force_check_project_scope = step_cmd == 144 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1122, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_10 = (__pyx_t_5 != Py_None); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1131, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_10 = (__pyx_t_6 != Py_None); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L23_bool_binop_done; } __pyx_t_10 = (!__pyx_v_info->pydev_use_scoped_step_frame); + + __pyx_t_8 = __pyx_t_10; + __pyx_L23_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1123 + + /* "_pydevd_sys_monitoring_cython.pyx":1132 * force_check_project_scope = step_cmd == 144 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) # <<<<<<<<<<<<<< * if ( * # Not filtered out. */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1123, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_t_5, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1123, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1132, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_v_back_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); - __pyx_t_4 = 0; + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1132, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_4, __pyx_t_6, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1132, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_v_back_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1126 + /* "_pydevd_sys_monitoring_cython.pyx":1135 * if ( * # Not filtered out. * not back_func_code_info.always_skip_code # <<<<<<<<<<<<<< @@ -18343,13 +20229,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) */ __pyx_t_10 = (!__pyx_v_back_func_code_info->always_skip_code); + if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L26_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1127 + /* "_pydevd_sys_monitoring_cython.pyx":1136 * # Not filtered out. * not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out # <<<<<<<<<<<<<< @@ -18357,64 +20247,77 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * # Prevent stopping in a return to the same location we were initially */ __pyx_t_10 = (!__pyx_v_back_func_code_info->always_filtered_out); + if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L26_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1128 + /* "_pydevd_sys_monitoring_cython.pyx":1137 * not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) # <<<<<<<<<<<<<< * # Prevent stopping in a return to the same location we were initially * # (i.e.: double-stop at the same place due to some filtering). */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1128, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1137, __pyx_L1_error) if (__pyx_t_9) { + } else { + __pyx_t_10 = __pyx_t_9; + goto __pyx_L30_bool_binop_done; } + __pyx_t_10 = __pyx_v_back_func_code_info->filtered_out_force_checked; __pyx_L30_bool_binop_done:; __pyx_t_9 = (!__pyx_t_10); + + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L26_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1131 + /* "_pydevd_sys_monitoring_cython.pyx":1140 * # Prevent stopping in a return to the same location we were initially * # (i.e.: double-stop at the same place due to some filtering). * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) # <<<<<<<<<<<<<< * ): * if py_db.show_return_values: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1131, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1131, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1140, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1131, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1140, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1131, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1140, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1140, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_5) != (0)) __PYX_ERR(0, 1140, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4) != (0)) __PYX_ERR(0, 1131, __pyx_L1_error); - __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1131, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 1140, __pyx_L1_error); + __pyx_t_5 = 0; __pyx_t_4 = 0; - __pyx_t_6 = 0; - __pyx_t_6 = PyObject_RichCompare(__pyx_v_info->step_in_initial_location, __pyx_t_5, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1131, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1131, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_RichCompareBool(__pyx_v_info->step_in_initial_location, __pyx_t_6, Py_NE); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1140, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L26_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1124 + /* "_pydevd_sys_monitoring_cython.pyx":1133 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( # <<<<<<<<<<<<<< @@ -18423,31 +20326,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1133 + + /* "_pydevd_sys_monitoring_cython.pyx":1142 * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1133, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1142, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1133, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1142, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1134 + + /* "_pydevd_sys_monitoring_cython.pyx":1143 * ): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1134, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1143, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1133 + /* "_pydevd_sys_monitoring_cython.pyx":1142 * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -18456,29 +20361,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1136 + /* "_pydevd_sys_monitoring_cython.pyx":1145 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1137 + /* "_pydevd_sys_monitoring_cython.pyx":1146 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< * * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1124 + /* "_pydevd_sys_monitoring_cython.pyx":1133 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( # <<<<<<<<<<<<<< @@ -18487,7 +20398,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1122 + /* "_pydevd_sys_monitoring_cython.pyx":1131 * if step_cmd in (107, 144, 206, 105): * force_check_project_scope = step_cmd == 144 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -18496,7 +20407,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1120 + /* "_pydevd_sys_monitoring_cython.pyx":1129 * # Python line stepping * stop_frame = info.pydev_step_stop * if step_cmd in (107, 144, 206, 105): # <<<<<<<<<<<<<< @@ -18507,7 +20418,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject default: break; } - /* "_pydevd_sys_monitoring_cython.pyx":1139 + /* "_pydevd_sys_monitoring_cython.pyx":1148 * return * * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -18524,44 +20435,53 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } __pyx_t_10 = __pyx_t_9; + + if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L34_bool_binop_done; } - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1139, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1148, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1139, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1148, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = __pyx_t_10; + __pyx_L34_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1140 + + /* "_pydevd_sys_monitoring_cython.pyx":1149 * * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1140, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1149, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1140, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1149, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1141 + + /* "_pydevd_sys_monitoring_cython.pyx":1150 * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1141, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1150, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1140 + /* "_pydevd_sys_monitoring_cython.pyx":1149 * * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -18570,29 +20490,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1143 + /* "_pydevd_sys_monitoring_cython.pyx":1152 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1143, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1152, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1144 + /* "_pydevd_sys_monitoring_cython.pyx":1153 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< * * elif ( */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1139 + /* "_pydevd_sys_monitoring_cython.pyx":1148 * return * * if step_cmd in (109, 160) and _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -18601,7 +20527,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1147 + /* "_pydevd_sys_monitoring_cython.pyx":1156 * * elif ( * step_cmd in (108, 159) # <<<<<<<<<<<<<< @@ -18618,13 +20544,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } __pyx_t_9 = __pyx_t_10; + + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L37_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1148 + /* "_pydevd_sys_monitoring_cython.pyx":1157 * elif ( * step_cmd in (108, 159) * and not info.pydev_use_scoped_step_frame # <<<<<<<<<<<<<< @@ -18632,27 +20563,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * ): */ __pyx_t_9 = (!__pyx_v_info->pydev_use_scoped_step_frame); + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L37_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1149 + /* "_pydevd_sys_monitoring_cython.pyx":1158 * step_cmd in (108, 159) * and not info.pydev_use_scoped_step_frame * and _is_same_frame(info, stop_frame, frame) # <<<<<<<<<<<<<< * ): * # This isn't in the sys.settrace version: on a step over, if we return and the return is valid, show */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1149, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1158, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1149, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1158, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L37_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1146 + /* "_pydevd_sys_monitoring_cython.pyx":1155 * return * * elif ( # <<<<<<<<<<<<<< @@ -18661,19 +20598,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1154 + + /* "_pydevd_sys_monitoring_cython.pyx":1163 * # as a step return instead of going back to step into mode (but if the back frame is not valid, then * # go to step into mode). * f_back = frame.f_back # <<<<<<<<<<<<<< * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1154, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_f_back = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1155 + /* "_pydevd_sys_monitoring_cython.pyx":1164 * # go to step into mode). * f_back = frame.f_back * if f_back is not None: # <<<<<<<<<<<<<< @@ -18683,34 +20621,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_8 = (__pyx_v_f_back != Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1156 + + /* "_pydevd_sys_monitoring_cython.pyx":1165 * f_back = frame.f_back * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) # <<<<<<<<<<<<<< * force_check_project_scope = step_cmd == 159 * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1156, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1165, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_mstate_global->__pyx_int_2, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1156, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_mstate_global->__pyx_int_2, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1165, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_XDECREF_SET(__pyx_v_back_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5)); - __pyx_t_5 = 0; + __Pyx_XDECREF_SET(__pyx_v_back_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4)); + __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1157 + /* "_pydevd_sys_monitoring_cython.pyx":1166 * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) * force_check_project_scope = step_cmd == 159 # <<<<<<<<<<<<<< * * if ( */ - __pyx_t_5 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x9F)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1157, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_XDECREF_SET(__pyx_v_force_check_project_scope, __pyx_t_5); - __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_step_cmd == 0x9F)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1166, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_XDECREF_SET(__pyx_v_force_check_project_scope, __pyx_t_4); + __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1160 + /* "_pydevd_sys_monitoring_cython.pyx":1169 * * if ( * back_func_code_info is not None # <<<<<<<<<<<<<< @@ -18719,12 +20658,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_9 = (((PyObject *)__pyx_v_back_func_code_info) != Py_None); if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L42_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1161 + /* "_pydevd_sys_monitoring_cython.pyx":1170 * if ( * back_func_code_info is not None * and not back_func_code_info.always_skip_code # <<<<<<<<<<<<<< @@ -18732,13 +20674,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) */ __pyx_t_9 = (!__pyx_v_back_func_code_info->always_skip_code); + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L42_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1162 + /* "_pydevd_sys_monitoring_cython.pyx":1171 * back_func_code_info is not None * and not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out # <<<<<<<<<<<<<< @@ -18746,32 +20692,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * ): */ __pyx_t_9 = (!__pyx_v_back_func_code_info->always_filtered_out); + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L42_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1163 + /* "_pydevd_sys_monitoring_cython.pyx":1172 * and not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) # <<<<<<<<<<<<<< * ): * if py_db.show_return_values: */ - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1163, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1172, __pyx_L1_error) if (__pyx_t_10) { + } else { + __pyx_t_9 = __pyx_t_10; + goto __pyx_L46_bool_binop_done; } + __pyx_t_9 = __pyx_v_back_func_code_info->filtered_out_force_checked; __pyx_L46_bool_binop_done:; __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L42_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1159 + /* "_pydevd_sys_monitoring_cython.pyx":1168 * force_check_project_scope = step_cmd == 159 * * if ( # <<<<<<<<<<<<<< @@ -18780,31 +20738,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1165 + + /* "_pydevd_sys_monitoring_cython.pyx":1174 * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1165, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1165, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1174, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1174, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1166 + + /* "_pydevd_sys_monitoring_cython.pyx":1175 * ): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1166, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1175, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1165 + /* "_pydevd_sys_monitoring_cython.pyx":1174 * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -18813,29 +20773,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1168 + /* "_pydevd_sys_monitoring_cython.pyx":1177 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1168, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1177, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1169 + /* "_pydevd_sys_monitoring_cython.pyx":1178 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< * * elif step_cmd == 128: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1159 + /* "_pydevd_sys_monitoring_cython.pyx":1168 * force_check_project_scope = step_cmd == 159 * * if ( # <<<<<<<<<<<<<< @@ -18844,7 +20810,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1155 + /* "_pydevd_sys_monitoring_cython.pyx":1164 * # go to step into mode). * f_back = frame.f_back * if f_back is not None: # <<<<<<<<<<<<<< @@ -18853,7 +20819,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1146 + /* "_pydevd_sys_monitoring_cython.pyx":1155 * return * * elif ( # <<<<<<<<<<<<<< @@ -18863,7 +20829,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L33; } - /* "_pydevd_sys_monitoring_cython.pyx":1171 + /* "_pydevd_sys_monitoring_cython.pyx":1180 * return * * elif step_cmd == 128: # <<<<<<<<<<<<<< @@ -18871,46 +20837,50 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * # We're exiting the smart step into initial frame (so, we probably didn't find our target). */ __pyx_t_8 = (__pyx_v_step_cmd == 0x80); + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1172 + + /* "_pydevd_sys_monitoring_cython.pyx":1181 * * elif step_cmd == 128: * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1172, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1172, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1181, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1181, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1174 + + /* "_pydevd_sys_monitoring_cython.pyx":1183 * if _is_same_frame(info, stop_frame, frame): * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1174, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1174, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1183, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1175 + + /* "_pydevd_sys_monitoring_cython.pyx":1184 * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1175, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1184, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1174 + /* "_pydevd_sys_monitoring_cython.pyx":1183 * if _is_same_frame(info, stop_frame, frame): * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -18919,29 +20889,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1177 + /* "_pydevd_sys_monitoring_cython.pyx":1186 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1177, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1186, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1178 + /* "_pydevd_sys_monitoring_cython.pyx":1187 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< * * if py_db.show_return_values: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1172 + /* "_pydevd_sys_monitoring_cython.pyx":1181 * * elif step_cmd == 128: * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -18950,7 +20926,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1171 + /* "_pydevd_sys_monitoring_cython.pyx":1180 * return * * elif step_cmd == 128: # <<<<<<<<<<<<<< @@ -18960,20 +20936,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject } __pyx_L33:; - /* "_pydevd_sys_monitoring_cython.pyx":1180 + /* "_pydevd_sys_monitoring_cython.pyx":1189 * return * * if py_db.show_return_values: # <<<<<<<<<<<<<< * if ( * ( */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1180, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1180, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1189, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1189, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1183 + + /* "_pydevd_sys_monitoring_cython.pyx":1192 * if ( * ( * info.pydev_step_cmd in (108, 159, 128) # <<<<<<<<<<<<<< @@ -18991,33 +20968,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } __pyx_t_9 = __pyx_t_10; + + if (!__pyx_t_9) { + goto __pyx_L54_next_or; } else { + } - /* "_pydevd_sys_monitoring_cython.pyx":1184 + /* "_pydevd_sys_monitoring_cython.pyx":1193 * ( * info.pydev_step_cmd in (108, 159, 128) * and (_is_same_frame(info, stop_frame, frame.f_back)) # <<<<<<<<<<<<<< * ) * or (info.pydev_step_cmd in (109, 160) and (info, _is_same_frame(info, stop_frame, frame))) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1184, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1184, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1193, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1193, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1184, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1193, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L53_bool_binop_done; } __pyx_L54_next_or:; - /* "_pydevd_sys_monitoring_cython.pyx":1186 + /* "_pydevd_sys_monitoring_cython.pyx":1195 * and (_is_same_frame(info, stop_frame, frame.f_back)) * ) * or (info.pydev_step_cmd in (109, 160) and (info, _is_same_frame(info, stop_frame, frame))) # <<<<<<<<<<<<<< @@ -19034,35 +21018,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } __pyx_t_10 = __pyx_t_9; + + if (!__pyx_t_10) { + goto __pyx_L56_next_or; } else { + } - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1186, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1195, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1186, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1195, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF((PyObject *)__pyx_v_info); __Pyx_GIVEREF((PyObject *)__pyx_v_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_info)) != (0)) __PYX_ERR(0, 1186, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_info)) != (0)) __PYX_ERR(0, 1195, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1186, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1195, __pyx_L1_error); __pyx_t_6 = 0; { - Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_5); - if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1186, __pyx_L1_error) + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4); + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1195, __pyx_L1_error) __pyx_t_10 = (__pyx_temp != 0); } - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L53_bool_binop_done; } __pyx_L56_next_or:; - /* "_pydevd_sys_monitoring_cython.pyx":1187 + /* "_pydevd_sys_monitoring_cython.pyx":1196 * ) * or (info.pydev_step_cmd in (109, 160) and (info, _is_same_frame(info, stop_frame, frame))) * or (info.pydev_step_cmd in (107, 206)) # <<<<<<<<<<<<<< @@ -19079,13 +21070,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } __pyx_t_9 = __pyx_t_10; + + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L53_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1189 + /* "_pydevd_sys_monitoring_cython.pyx":1198 * or (info.pydev_step_cmd in (107, 206)) * or ( * info.pydev_step_cmd == 144 # <<<<<<<<<<<<<< @@ -19093,30 +21089,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) */ __pyx_t_9 = (__pyx_v_info->pydev_step_cmd == 0x90); + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L53_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1190 + /* "_pydevd_sys_monitoring_cython.pyx":1199 * or ( * info.pydev_step_cmd == 144 * and frame.f_back is not None # <<<<<<<<<<<<<< * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) * ) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1190, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_9 = (__pyx_t_5 != Py_None); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1199, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = (__pyx_t_4 != Py_None); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L53_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1191 + /* "_pydevd_sys_monitoring_cython.pyx":1200 * info.pydev_step_cmd == 144 * and frame.f_back is not None * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) # <<<<<<<<<<<<<< @@ -19125,33 +21128,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_6 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1191, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1200, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1200, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1200, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1191, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1200, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_14 = 0; { - PyObject *__pyx_callargs[4] = {__pyx_t_6, __pyx_t_4, __pyx_t_7, Py_True}; - __pyx_t_5 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_14, (4-__pyx_t_14) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[4] = {__pyx_t_6, __pyx_t_5, __pyx_t_7, Py_True}; + __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_apply_files_filter, __pyx_callargs+__pyx_t_14, (4-__pyx_t_14) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1191, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1200, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1191, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1200, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L53_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1181 + /* "_pydevd_sys_monitoring_cython.pyx":1190 * * if py_db.show_return_values: * if ( # <<<<<<<<<<<<<< @@ -19160,18 +21167,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1194 + + /* "_pydevd_sys_monitoring_cython.pyx":1203 * ) * ): * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * if step_cmd in (108, 109, 159, 160, 128): */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1194, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1203, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1181 + /* "_pydevd_sys_monitoring_cython.pyx":1190 * * if py_db.show_return_values: * if ( # <<<<<<<<<<<<<< @@ -19180,7 +21188,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1180 + /* "_pydevd_sys_monitoring_cython.pyx":1189 * return * * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19189,7 +21197,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1196 + /* "_pydevd_sys_monitoring_cython.pyx":1205 * _show_return_values(frame, retval) * * if step_cmd in (108, 109, 159, 160, 128): # <<<<<<<<<<<<<< @@ -19203,19 +21211,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject case 0xA0: case 0x80: - /* "_pydevd_sys_monitoring_cython.pyx":1203 + /* "_pydevd_sys_monitoring_cython.pyx":1212 * # Note: this is especially troublesome when we're skipping code with the * # @DontTrace comment. * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (108, 109, 128): */ - __pyx_t_5 = __pyx_v_info->pydev_step_stop; - __Pyx_INCREF(__pyx_t_5); - __Pyx_DECREF_SET(__pyx_v_stop_frame, __pyx_t_5); - __pyx_t_5 = 0; + __pyx_t_4 = __pyx_v_info->pydev_step_stop; + __Pyx_INCREF(__pyx_t_4); + __Pyx_DECREF_SET(__pyx_v_stop_frame, __pyx_t_4); + __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1204 + /* "_pydevd_sys_monitoring_cython.pyx":1213 * # @DontTrace comment. * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -19224,16 +21232,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_10 = (__pyx_v_stop_frame == __pyx_v_frame); if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L62_bool_binop_done; } __pyx_t_10 = (!__pyx_v_info->pydev_use_scoped_step_frame); + + __pyx_t_8 = __pyx_t_10; + __pyx_L62_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1205 + + /* "_pydevd_sys_monitoring_cython.pyx":1214 * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (108, 109, 128): # <<<<<<<<<<<<<< @@ -19245,7 +21260,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject case 0x6D: case 0x80: - /* "_pydevd_sys_monitoring_cython.pyx":1206 + /* "_pydevd_sys_monitoring_cython.pyx":1215 * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (108, 109, 128): * info.pydev_step_cmd = 107 # <<<<<<<<<<<<<< @@ -19254,7 +21269,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_v_info->pydev_step_cmd = 0x6B; - /* "_pydevd_sys_monitoring_cython.pyx":1205 + /* "_pydevd_sys_monitoring_cython.pyx":1214 * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (108, 109, 128): # <<<<<<<<<<<<<< @@ -19264,7 +21279,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; default: - /* "_pydevd_sys_monitoring_cython.pyx":1208 + /* "_pydevd_sys_monitoring_cython.pyx":1217 * info.pydev_step_cmd = 107 * else: * info.pydev_step_cmd = 144 # <<<<<<<<<<<<<< @@ -19275,7 +21290,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject break; } - /* "_pydevd_sys_monitoring_cython.pyx":1209 + /* "_pydevd_sys_monitoring_cython.pyx":1218 * else: * info.pydev_step_cmd = 144 * info.pydev_step_stop = None # <<<<<<<<<<<<<< @@ -19285,48 +21300,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":1210 + /* "_pydevd_sys_monitoring_cython.pyx":1219 * info.pydev_step_cmd = 144 * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) # <<<<<<<<<<<<<< * if py_db.show_return_values: * _show_return_values(frame, retval) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1210, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_for_frame_and_parents(__pyx_v_thread_info, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1210, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1219, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_for_frame_and_parents(__pyx_v_thread_info, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1219, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1211 + /* "_pydevd_sys_monitoring_cython.pyx":1220 * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1211, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_show_return_values); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1220, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1211, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1220, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1212 + + /* "_pydevd_sys_monitoring_cython.pyx":1221 * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1212, __pyx_L1_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1221, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1211 + /* "_pydevd_sys_monitoring_cython.pyx":1220 * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19335,7 +21350,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1204 + /* "_pydevd_sys_monitoring_cython.pyx":1213 * # @DontTrace comment. * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -19344,7 +21359,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1196 + /* "_pydevd_sys_monitoring_cython.pyx":1205 * _show_return_values(frame, retval) * * if step_cmd in (108, 109, 159, 160, 128): # <<<<<<<<<<<<<< @@ -19355,7 +21370,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject default: break; } - /* "_pydevd_sys_monitoring_cython.pyx":1074 + /* "_pydevd_sys_monitoring_cython.pyx":1083 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<< @@ -19378,6 +21393,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XDECREF((PyObject *)__pyx_v_thread_info); __Pyx_XDECREF((PyObject *)__pyx_v_func_code_info); __Pyx_XDECREF((PyObject *)__pyx_v_info); + __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_frame); __Pyx_XDECREF(__pyx_v_stop_frame); @@ -19389,7 +21405,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1217 +/* "_pydevd_sys_monitoring_cython.pyx":1226 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<< @@ -19412,22 +21428,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo __Pyx_RefNannySetupContext("_enable_code_tracing_for_frame_and_parents", 0); __Pyx_INCREF(__pyx_v_frame); - /* "_pydevd_sys_monitoring_cython.pyx":1223 + /* "_pydevd_sys_monitoring_cython.pyx":1232 * # ENDIF * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1223, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1232, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1223, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1232, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1224 + /* "_pydevd_sys_monitoring_cython.pyx":1233 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -19436,30 +21452,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ __pyx_t_4 = (__pyx_v_py_db == Py_None); if (!__pyx_t_4) { + } else { + __pyx_t_3 = __pyx_t_4; + goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1224, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1233, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1224, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1233, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __pyx_t_4; + __pyx_L4_bool_binop_done:; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":1225 + + /* "_pydevd_sys_monitoring_cython.pyx":1234 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< * * while frame is not None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1224 + /* "_pydevd_sys_monitoring_cython.pyx":1233 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -19468,7 +21496,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ } - /* "_pydevd_sys_monitoring_cython.pyx":1227 + /* "_pydevd_sys_monitoring_cython.pyx":1236 * return * * while frame is not None: # <<<<<<<<<<<<<< @@ -19477,24 +21505,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ while (1) { __pyx_t_3 = (__pyx_v_frame != Py_None); + if (!__pyx_t_3) break; - /* "_pydevd_sys_monitoring_cython.pyx":1228 + /* "_pydevd_sys_monitoring_cython.pyx":1237 * * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * frame = frame.f_back */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1228, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_2, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1228, __pyx_L1_error) + __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_2, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1237, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF_SET(__pyx_v_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_1)); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1229 + /* "_pydevd_sys_monitoring_cython.pyx":1238 * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -19503,19 +21532,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1230 + /* "_pydevd_sys_monitoring_cython.pyx":1239 * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: * frame = frame.f_back # <<<<<<<<<<<<<< * continue * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1230, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1239, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1231 + /* "_pydevd_sys_monitoring_cython.pyx":1240 * if func_code_info.always_skip_code: * frame = frame.f_back * continue # <<<<<<<<<<<<<< @@ -19524,7 +21553,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ goto __pyx_L6_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1229 + /* "_pydevd_sys_monitoring_cython.pyx":1238 * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -19533,7 +21562,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ } - /* "_pydevd_sys_monitoring_cython.pyx":1233 + /* "_pydevd_sys_monitoring_cython.pyx":1242 * continue * * _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False) # <<<<<<<<<<<<<< @@ -19542,27 +21571,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ __pyx_t_1 = ((PyObject *)__pyx_v_thread_info->additional_info); __Pyx_INCREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1242, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1), __pyx_v_func_code_info, __pyx_t_2, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1), __pyx_v_func_code_info, __pyx_t_2, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1242, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1234 + + /* "_pydevd_sys_monitoring_cython.pyx":1243 * * _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False) * frame = frame.f_back # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1234, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1243, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_2); __pyx_t_2 = 0; __pyx_L6_continue:; } - /* "_pydevd_sys_monitoring_cython.pyx":1217 + /* "_pydevd_sys_monitoring_cython.pyx":1226 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<< @@ -19587,7 +21617,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1239 +/* "_pydevd_sys_monitoring_cython.pyx":1248 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_return(py_db, ThreadInfo thread_info, PyDBAdditionalThreadInfo info, int step_cmd, frame, retval): # <<<<<<<<<<<<<< @@ -19616,19 +21646,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_stop_on_return", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1244 + /* "_pydevd_sys_monitoring_cython.pyx":1253 * # ENDIF * # fmt: on * back = frame.f_back # <<<<<<<<<<<<<< * if back is not None: * # When we get to the pydevd run function, the debugging has actually finished for the main thread */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1244, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1253, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_back = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1245 + /* "_pydevd_sys_monitoring_cython.pyx":1254 * # fmt: on * back = frame.f_back * if back is not None: # <<<<<<<<<<<<<< @@ -19638,7 +21668,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_2 = (__pyx_v_back != Py_None); if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1249 + + /* "_pydevd_sys_monitoring_cython.pyx":1258 * # (note that it can still go on for other threads, but for this one, we just make it finish) * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) # <<<<<<<<<<<<<< @@ -19646,7 +21677,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec * back = None */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -19665,7 +21696,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1249, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) { @@ -19674,7 +21705,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1249, __pyx_L1_error) + __PYX_ERR(0, 1258, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -19685,28 +21716,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_6 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_6); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_6); } #else - __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1249, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1258, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); @@ -19716,7 +21747,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_GOTREF(__pyx_t_3); index = 2; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L4_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1249, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1258, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L5_unpacking_done; @@ -19724,7 +21755,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1249, __pyx_L1_error) + __PYX_ERR(0, 1258, __pyx_L1_error) __pyx_L5_unpacking_done:; } __pyx_v_back_absolute_filename = __pyx_t_4; @@ -19734,50 +21765,54 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_v_base = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1250 + /* "_pydevd_sys_monitoring_cython.pyx":1259 * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): # <<<<<<<<<<<<<< * back = None * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1250, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1250, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1250, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_base); __Pyx_GIVEREF(__pyx_v_base); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base) != (0)) __PYX_ERR(0, 1250, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base) != (0)) __PYX_ERR(0, 1259, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1250, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1259, __pyx_L1_error); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUG_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1250, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUG_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1250, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_RichCompareBool(__pyx_t_1, __pyx_t_6, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1250, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (!__pyx_t_9) { + } else { + __pyx_t_2 = __pyx_t_9; + goto __pyx_L7_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1250, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1250, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1250, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_9 = __Pyx_PyObject_RichCompareBool(__pyx_t_1, __pyx_t_6, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1259, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_2 = __pyx_t_9; + __pyx_L7_bool_binop_done:; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_9 = __pyx_t_2; + + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1251 + + /* "_pydevd_sys_monitoring_cython.pyx":1260 * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): * back = None # <<<<<<<<<<<<<< @@ -19787,7 +21822,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_back, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":1250 + /* "_pydevd_sys_monitoring_cython.pyx":1259 * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): # <<<<<<<<<<<<<< @@ -19797,33 +21832,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec goto __pyx_L6; } - /* "_pydevd_sys_monitoring_cython.pyx":1253 + /* "_pydevd_sys_monitoring_cython.pyx":1262 * back = None * * elif base == TRACE_PROPERTY: # <<<<<<<<<<<<<< * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_TRACE_PROPERTY); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1253, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_TRACE_PROPERTY); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = PyObject_RichCompare(__pyx_v_base, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1253, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_v_base, __pyx_t_1, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1253, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1256 + + /* "_pydevd_sys_monitoring_cython.pyx":1265 * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! * return # <<<<<<<<<<<<<< * * elif pydevd_dont_trace.should_trace_hook is not None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1253 + /* "_pydevd_sys_monitoring_cython.pyx":1262 * back = None * * elif base == TRACE_PROPERTY: # <<<<<<<<<<<<<< @@ -19832,64 +21872,68 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1258 + /* "_pydevd_sys_monitoring_cython.pyx":1267 * return * * elif pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): * # In this case, we'll have to skip the previous one because it shouldn't be traced. */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1258, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1258, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = (__pyx_t_1 != Py_None); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1267, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_9 = (__pyx_t_6 != Py_None); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1259 + + /* "_pydevd_sys_monitoring_cython.pyx":1268 * * elif pydevd_dont_trace.should_trace_hook is not None: * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): # <<<<<<<<<<<<<< * # In this case, we'll have to skip the previous one because it shouldn't be traced. * # Also, we have to reset the tracing, because if the parent's parent (or some */ - __pyx_t_6 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1259, __pyx_L1_error) + __pyx_t_1 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_pydevd_dont_trace); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1259, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1259, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_4); - assert(__pyx_t_6); + __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_4); + assert(__pyx_t_1); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(__pyx_t_1); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_4, __pyx__function); __pyx_t_5 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_t_3, __pyx_v_back_absolute_filename}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_1, __pyx_t_3, __pyx_v_back_absolute_filename}; + __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1259, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1268, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1259, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1268, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_2 = (!__pyx_t_9); + + if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1265 + + /* "_pydevd_sys_monitoring_cython.pyx":1274 * # we should anymore (so, a step in/over/return may not stop anywhere if no parent is traced). * # Related test: _debugger_case17a.py * py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back) # <<<<<<<<<<<<<< @@ -19898,31 +21942,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_t_4 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_info->thread_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1265, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyLong_From_unsigned_long(__pyx_v_thread_info->thread_ident); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1274, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 0; { PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_3, __pyx_v_back}; - __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_trace_for_frame_and_parents, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_trace_for_frame_and_parents, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1265, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1274, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1266 + /* "_pydevd_sys_monitoring_cython.pyx":1275 * # Related test: _debugger_case17a.py * py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back) * return # <<<<<<<<<<<<<< * * if back is not None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1259 + /* "_pydevd_sys_monitoring_cython.pyx":1268 * * elif pydevd_dont_trace.should_trace_hook is not None: * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): # <<<<<<<<<<<<<< @@ -19931,7 +21981,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1258 + /* "_pydevd_sys_monitoring_cython.pyx":1267 * return * * elif pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< @@ -19941,7 +21991,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec } __pyx_L6:; - /* "_pydevd_sys_monitoring_cython.pyx":1245 + /* "_pydevd_sys_monitoring_cython.pyx":1254 * # fmt: on * back = frame.f_back * if back is not None: # <<<<<<<<<<<<<< @@ -19950,7 +22000,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1268 + /* "_pydevd_sys_monitoring_cython.pyx":1277 * return * * if back is not None: # <<<<<<<<<<<<<< @@ -19960,7 +22010,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_2 = (__pyx_v_back != Py_None); if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1270 + + /* "_pydevd_sys_monitoring_cython.pyx":1279 * if back is not None: * # if we're in a return, we want it to appear to the user in the previous frame! * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< @@ -19969,27 +22020,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_t_3 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1270, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1279, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1270, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + #if CYTHON_VECTORCALL + #endif __pyx_t_5 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_3, __pyx_v_thread_info->thread, __pyx_t_4}; - __pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1270, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_6, __pyx_t_7, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1270, __pyx_L1_error) - __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7); + PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_thread_info->thread, __pyx_t_4, __pyx_t_1}; + #if CYTHON_VECTORCALL + __pyx_t_7 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_7); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_7 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + } + #endif + __pyx_t_6 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + #if CYTHON_VECTORCALL + #endif + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1270, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1271 + /* "_pydevd_sys_monitoring_cython.pyx":1280 * # if we're in a return, we want it to appear to the user in the previous frame! * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, back, "return", retval) # <<<<<<<<<<<<<< @@ -19997,31 +22061,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec * # in jython we may not have a back frame */ __pyx_t_7 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1271, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1280, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6); + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_1); assert(__pyx_t_7); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_6); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1); __Pyx_INCREF(__pyx_t_7); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_6, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_1, __pyx__function); __pyx_t_5 = 0; } #endif { PyObject *__pyx_callargs[6] = {__pyx_t_7, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_back, __pyx_mstate_global->__pyx_n_u_return, __pyx_v_retval}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_6, __pyx_callargs+__pyx_t_5, (6-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_5, (6-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1271, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1280, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1268 + /* "_pydevd_sys_monitoring_cython.pyx":1277 * return * * if back is not None: # <<<<<<<<<<<<<< @@ -20031,7 +22095,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec goto __pyx_L10; } - /* "_pydevd_sys_monitoring_cython.pyx":1274 + /* "_pydevd_sys_monitoring_cython.pyx":1283 * else: * # in jython we may not have a back frame * info.pydev_step_stop = None # <<<<<<<<<<<<<< @@ -20042,10 +22106,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); __Pyx_GOTREF(__pyx_v_info->pydev_step_stop); - __Pyx_DECREF(__pyx_v_info->pydev_step_stop); - __pyx_v_info->pydev_step_stop = Py_None; + __Pyx_DECREF_SET(__pyx_v_info->pydev_step_stop, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":1275 + /* "_pydevd_sys_monitoring_cython.pyx":1284 * # in jython we may not have a back frame * info.pydev_step_stop = None * info.pydev_original_step_cmd = -1 # <<<<<<<<<<<<<< @@ -20054,7 +22117,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_v_info->pydev_original_step_cmd = -1; - /* "_pydevd_sys_monitoring_cython.pyx":1276 + /* "_pydevd_sys_monitoring_cython.pyx":1285 * info.pydev_step_stop = None * info.pydev_original_step_cmd = -1 * info.pydev_step_cmd = -1 # <<<<<<<<<<<<<< @@ -20063,7 +22126,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_v_info->pydev_step_cmd = -1; - /* "_pydevd_sys_monitoring_cython.pyx":1277 + /* "_pydevd_sys_monitoring_cython.pyx":1286 * info.pydev_original_step_cmd = -1 * info.pydev_step_cmd = -1 * info.pydev_state = 1 # <<<<<<<<<<<<<< @@ -20072,20 +22135,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_v_info->pydev_state = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1278 + /* "_pydevd_sys_monitoring_cython.pyx":1287 * info.pydev_step_cmd = -1 * info.pydev_state = 1 * info.update_stepping_info() # <<<<<<<<<<<<<< * * */ - __pyx_t_1 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1278, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_6 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1287, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } __pyx_L10:; - /* "_pydevd_sys_monitoring_cython.pyx":1239 + /* "_pydevd_sys_monitoring_cython.pyx":1248 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_return(py_db, ThreadInfo thread_info, PyDBAdditionalThreadInfo info, int step_cmd, frame, retval): # <<<<<<<<<<<<<< @@ -20114,7 +22177,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1283 +/* "_pydevd_sys_monitoring_cython.pyx":1292 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_breakpoint(py_db, ThreadInfo thread_info, int stop_reason, bp, frame, new_frame, bint stop, bint stop_on_plugin_breakpoint, str bp_type): # <<<<<<<<<<<<<< @@ -20144,7 +22207,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_stop_on_breakpoint", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1302 + + + /* "_pydevd_sys_monitoring_cython.pyx":1311 * Note that even if False is returned, it's still possible * """ * additional_info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -20156,20 +22221,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_v_additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1305 + /* "_pydevd_sys_monitoring_cython.pyx":1314 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint * # lets do the conditional stuff here * if bp.expression is not None: # <<<<<<<<<<<<<< * # If it has an expression, it's always handled even if we don't stop. * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_expression); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1305, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_expression); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1314, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1307 + + /* "_pydevd_sys_monitoring_cython.pyx":1316 * if bp.expression is not None: * # If it has an expression, it's always handled even if we don't stop. * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) # <<<<<<<<<<<<<< @@ -20183,12 +22249,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_bp, ((PyObject *)__pyx_v_additional_info), __pyx_v_new_frame}; __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_expression, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1307, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1305 + /* "_pydevd_sys_monitoring_cython.pyx":1314 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint * # lets do the conditional stuff here * if bp.expression is not None: # <<<<<<<<<<<<<< @@ -20197,7 +22263,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1309 + /* "_pydevd_sys_monitoring_cython.pyx":1318 * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) * * if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -20206,27 +22272,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ if (!__pyx_v_stop) { } else { + __pyx_t_2 = __pyx_v_stop; goto __pyx_L5_bool_binop_done; } + __pyx_t_2 = __pyx_v_stop_on_plugin_breakpoint; __pyx_L5_bool_binop_done:; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1310 + + /* "_pydevd_sys_monitoring_cython.pyx":1319 * * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: # <<<<<<<<<<<<<< * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_has_condition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1310, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_has_condition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1310, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1319, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1311 + + /* "_pydevd_sys_monitoring_cython.pyx":1320 * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) # <<<<<<<<<<<<<< @@ -20240,24 +22310,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_additional_info), __pyx_v_bp, __pyx_v_new_frame}; __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_handle_breakpoint_condition, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1311, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1320, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_eval_result = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1312 + /* "_pydevd_sys_monitoring_cython.pyx":1321 * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: # <<<<<<<<<<<<<< * stop = False * stop_on_plugin_breakpoint = False */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1312, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1321, __pyx_L1_error) __pyx_t_5 = (!__pyx_t_2); + + if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1313 + + /* "_pydevd_sys_monitoring_cython.pyx":1322 * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: * stop = False # <<<<<<<<<<<<<< @@ -20266,7 +22339,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1314 + /* "_pydevd_sys_monitoring_cython.pyx":1323 * if not eval_result: * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -20275,7 +22348,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1312 + /* "_pydevd_sys_monitoring_cython.pyx":1321 * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: # <<<<<<<<<<<<<< @@ -20284,7 +22357,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1310 + /* "_pydevd_sys_monitoring_cython.pyx":1319 * * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: # <<<<<<<<<<<<<< @@ -20293,7 +22366,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1309 + /* "_pydevd_sys_monitoring_cython.pyx":1318 * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) * * if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -20302,7 +22375,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1317 + /* "_pydevd_sys_monitoring_cython.pyx":1326 * * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<< @@ -20315,19 +22388,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO } if (__pyx_v_stop_on_plugin_breakpoint) { } else { + __pyx_t_5 = __pyx_v_stop_on_plugin_breakpoint; goto __pyx_L10_bool_binop_done; } __pyx_L11_next_and:; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_is_logpoint); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1317, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_is_logpoint); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1326, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1317, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1326, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_5 = __pyx_t_2; + __pyx_L10_bool_binop_done:; if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1318 + + /* "_pydevd_sys_monitoring_cython.pyx":1327 * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: * stop = False # <<<<<<<<<<<<<< @@ -20336,7 +22413,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1319 + /* "_pydevd_sys_monitoring_cython.pyx":1328 * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -20345,7 +22422,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1321 + /* "_pydevd_sys_monitoring_cython.pyx":1330 * stop_on_plugin_breakpoint = False * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<< @@ -20354,40 +22431,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_t_2 = (__pyx_v_additional_info->pydev_message != ((PyObject*)Py_None)); if (__pyx_t_2) { + } else { + __pyx_t_5 = __pyx_t_2; + goto __pyx_L14_bool_binop_done; } __pyx_t_1 = __pyx_v_additional_info->pydev_message; __Pyx_INCREF(__pyx_t_1); if (unlikely(__pyx_t_1 == Py_None)) { - PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); - __PYX_ERR(0, 1321, __pyx_L1_error) + PyErr_SetString(PyExc_TypeError, "object of type \047NoneType\047 has no len()"); + __PYX_ERR(0, 1330, __pyx_L1_error) } - __pyx_t_6 = __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1321, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1330, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_2 = (__pyx_t_6 > 0); + + + __pyx_t_5 = __pyx_t_2; + __pyx_L14_bool_binop_done:; if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1322 + + /* "_pydevd_sys_monitoring_cython.pyx":1331 * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: * cmd = py_db.cmd_factory.make_io_message(additional_info.pydev_message + os.linesep, "1") # <<<<<<<<<<<<<< * py_db.writer.add_command(cmd) * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1322, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_cmd_factory); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_3 = __pyx_t_7; __Pyx_INCREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_os); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_os); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_linesep); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1322, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_linesep); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = PyNumber_Add(__pyx_v_additional_info->pydev_message, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1322, __pyx_L1_error) + __pyx_t_8 = PyNumber_Add(__pyx_v_additional_info->pydev_message, __pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_4 = 0; @@ -20397,20 +22482,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1322, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_cmd = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1323 + /* "_pydevd_sys_monitoring_cython.pyx":1332 * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: * cmd = py_db.cmd_factory.make_io_message(additional_info.pydev_message + os.linesep, "1") * py_db.writer.add_command(cmd) # <<<<<<<<<<<<<< * * if stop: */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_writer); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1323, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_writer); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_7 = __pyx_t_8; __Pyx_INCREF(__pyx_t_7); @@ -20420,12 +22505,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add_command, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1323, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1321 + /* "_pydevd_sys_monitoring_cython.pyx":1330 * stop_on_plugin_breakpoint = False * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<< @@ -20434,7 +22519,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1317 + /* "_pydevd_sys_monitoring_cython.pyx":1326 * * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<< @@ -20443,7 +22528,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1325 + /* "_pydevd_sys_monitoring_cython.pyx":1334 * py_db.writer.add_command(cmd) * * if stop: # <<<<<<<<<<<<<< @@ -20452,7 +22537,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ if (__pyx_v_stop) { - /* "_pydevd_sys_monitoring_cython.pyx":1326 + /* "_pydevd_sys_monitoring_cython.pyx":1335 * * if stop: * py_db.set_suspend( # <<<<<<<<<<<<<< @@ -20462,55 +22547,76 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_8 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_8); - /* "_pydevd_sys_monitoring_cython.pyx":1328 + /* "_pydevd_sys_monitoring_cython.pyx":1337 * py_db.set_suspend( * thread_info.thread, * stop_reason, # <<<<<<<<<<<<<< * suspend_other_threads=bp and bp.suspend_policy == "ALL", * ) */ - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_stop_reason); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1328, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_stop_reason); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - /* "_pydevd_sys_monitoring_cython.pyx":1329 + /* "_pydevd_sys_monitoring_cython.pyx":1338 * thread_info.thread, * stop_reason, * suspend_other_threads=bp and bp.suspend_policy == "ALL", # <<<<<<<<<<<<<< * ) * # print('suspend on breakpoint...') */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1329, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1338, __pyx_L1_error) if (__pyx_t_5) { } else { __Pyx_INCREF(__pyx_v_bp); __pyx_t_3 = __pyx_v_bp; goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_suspend_policy); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1329, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_mstate_global->__pyx_n_u_suspend_policy); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = PyObject_RichCompare(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1329, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_CompareEq_object_str(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1338, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_INCREF(__pyx_t_10); __pyx_t_3 = __pyx_t_10; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_L17_bool_binop_done:; + #if CYTHON_VECTORCALL + + /* "_pydevd_sys_monitoring_cython.pyx":1335 + * + * if stop: + * py_db.set_suspend( # <<<<<<<<<<<<<< + * thread_info.thread, + * stop_reason, +*/ + #endif __pyx_t_4 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_8, __pyx_v_thread_info->thread, __pyx_t_7}; - __pyx_t_10 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1326, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_suspend_other_threads, __pyx_t_3, __pyx_t_10, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1326, __pyx_L1_error) - __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_4, (3-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); + PyObject *__pyx_callargs[4] = {__pyx_t_8, __pyx_v_thread_info->thread, __pyx_t_7, __pyx_t_3}; + #if CYTHON_VECTORCALL + __pyx_t_10 = __pyx_mstate_global->__pyx_tuple[5]; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1335, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_10); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_suspend_other_threads}; + __pyx_t_10 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1335, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + } + #endif + __pyx_t_1 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_4, (3-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1326, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1335, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1332 + /* "_pydevd_sys_monitoring_cython.pyx":1341 * ) * # print('suspend on breakpoint...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< @@ -20518,7 +22624,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO * */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1332, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = 1; #if CYTHON_UNPACK_METHODS @@ -20537,24 +22643,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (6-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1332, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1333 + /* "_pydevd_sys_monitoring_cython.pyx":1342 * # print('suspend on breakpoint...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return True # <<<<<<<<<<<<<< * * elif stop_on_plugin_breakpoint: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1325 + /* "_pydevd_sys_monitoring_cython.pyx":1334 * py_db.writer.add_command(cmd) * * if stop: # <<<<<<<<<<<<<< @@ -20563,7 +22675,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1335 + /* "_pydevd_sys_monitoring_cython.pyx":1344 * return True * * elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -20572,14 +22684,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ if (__pyx_v_stop_on_plugin_breakpoint) { - /* "_pydevd_sys_monitoring_cython.pyx":1336 + /* "_pydevd_sys_monitoring_cython.pyx":1345 * * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) # <<<<<<<<<<<<<< * if stop_at_frame and thread_info.additional_info.pydev_state == 2: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1336, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1345, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_3 = __pyx_t_10; __Pyx_INCREF(__pyx_t_3); @@ -20589,31 +22701,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_suspend, __pyx_callargs+__pyx_t_4, (5-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1336, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1345, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_stop_at_frame = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1337 + /* "_pydevd_sys_monitoring_cython.pyx":1346 * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == 2: # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) * return */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_stop_at_frame); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1337, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_stop_at_frame); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1346, __pyx_L1_error) if (__pyx_t_2) { + } else { + __pyx_t_5 = __pyx_t_2; + goto __pyx_L20_bool_binop_done; } __pyx_t_2 = (__pyx_v_thread_info->additional_info->pydev_state == 2); + + __pyx_t_5 = __pyx_t_2; + __pyx_L20_bool_binop_done:; if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1338 + + /* "_pydevd_sys_monitoring_cython.pyx":1347 * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == 2: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) # <<<<<<<<<<<<<< @@ -20621,7 +22740,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO * */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1338, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = 1; #if CYTHON_UNPACK_METHODS @@ -20640,12 +22759,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (6-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1338, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1347, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1337 + /* "_pydevd_sys_monitoring_cython.pyx":1346 * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == 2: # <<<<<<<<<<<<<< @@ -20654,18 +22773,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1339 + /* "_pydevd_sys_monitoring_cython.pyx":1348 * if stop_at_frame and thread_info.additional_info.pydev_state == 2: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) * return # <<<<<<<<<<<<<< * * return False */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1335 + /* "_pydevd_sys_monitoring_cython.pyx":1344 * return True * * elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -20674,19 +22799,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1341 + /* "_pydevd_sys_monitoring_cython.pyx":1350 * return * * return False # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1283 + /* "_pydevd_sys_monitoring_cython.pyx":1292 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_breakpoint(py_db, ThreadInfo thread_info, int stop_reason, bp, frame, new_frame, bint stop, bint stop_on_plugin_breakpoint, str bp_type): # <<<<<<<<<<<<<< @@ -20709,12 +22840,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __Pyx_XDECREF(__pyx_v_eval_result); __Pyx_XDECREF(__pyx_v_cmd); __Pyx_XDECREF(__pyx_v_stop_at_frame); + + __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1346 +/* "_pydevd_sys_monitoring_cython.pyx":1355 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _plugin_stepping(py_db, int step_cmd, event, frame, ThreadInfo thread_info): # <<<<<<<<<<<<<< @@ -20741,19 +22874,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_plugin_stepping", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1353 + /* "_pydevd_sys_monitoring_cython.pyx":1362 * # ENDIF * # fmt: on * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (107, 144, 206, 128) or step_cmd in ( */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1353, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1362, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_plugin_manager = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1355 + /* "_pydevd_sys_monitoring_cython.pyx":1364 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (107, 144, 206, 128) or step_cmd in ( # <<<<<<<<<<<<<< @@ -20767,7 +22900,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje case 0x80: case 0x6D: - /* "_pydevd_sys_monitoring_cython.pyx":1356 + /* "_pydevd_sys_monitoring_cython.pyx":1365 * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (107, 144, 206, 128) or step_cmd in ( * 109, # <<<<<<<<<<<<<< @@ -20776,19 +22909,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ case 0xA0: - /* "_pydevd_sys_monitoring_cython.pyx":1359 + /* "_pydevd_sys_monitoring_cython.pyx":1368 * 160, * ): * stop_info = {} # <<<<<<<<<<<<<< * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1359, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1368, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_stop_info = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1360 + /* "_pydevd_sys_monitoring_cython.pyx":1369 * ): * stop_info = {} * stop = False # <<<<<<<<<<<<<< @@ -20797,7 +22930,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1361 + /* "_pydevd_sys_monitoring_cython.pyx":1370 * stop_info = {} * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) # <<<<<<<<<<<<<< @@ -20806,7 +22939,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_t_2 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1361, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1370, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = 0; { @@ -20814,23 +22947,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_into, __pyx_callargs+__pyx_t_4, (8-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1361, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1370, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __pyx_v_result = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1362 + /* "_pydevd_sys_monitoring_cython.pyx":1371 * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< * stop, plugin_stop = result * if plugin_stop: */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1362, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1371, __pyx_L1_error) if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1363 + + /* "_pydevd_sys_monitoring_cython.pyx":1372 * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: * stop, plugin_stop = result # <<<<<<<<<<<<<< @@ -20843,7 +22977,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1363, __pyx_L1_error) + __PYX_ERR(0, 1372, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -20852,29 +22986,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_3); } else { - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_3); } #else - __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif } else { Py_ssize_t index = -1; - __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); index = 0; __pyx_t_1 = __pyx_t_6(__pyx_t_2); if (unlikely(!__pyx_t_1)) goto __pyx_L4_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); index = 1; __pyx_t_3 = __pyx_t_6(__pyx_t_2); if (unlikely(!__pyx_t_3)) goto __pyx_L4_unpacking_failed; __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1363, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1372, __pyx_L1_error) __pyx_t_6 = NULL; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L5_unpacking_done; @@ -20882,26 +23016,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1363, __pyx_L1_error) + __PYX_ERR(0, 1372, __pyx_L1_error) __pyx_L5_unpacking_done:; } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1363, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1372, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_stop = __pyx_t_5; __pyx_v_plugin_stop = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1364 + /* "_pydevd_sys_monitoring_cython.pyx":1373 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1364, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1373, __pyx_L1_error) if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1365 + + /* "_pydevd_sys_monitoring_cython.pyx":1374 * stop, plugin_stop = result * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) # <<<<<<<<<<<<<< @@ -20910,7 +23045,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_t_1 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1365, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 0; { @@ -20918,23 +23053,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_stop, __pyx_callargs+__pyx_t_4, (8-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1365, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1374, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1366 + /* "_pydevd_sys_monitoring_cython.pyx":1375 * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return # <<<<<<<<<<<<<< * * elif step_cmd in (108, 159): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1364 + /* "_pydevd_sys_monitoring_cython.pyx":1373 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< @@ -20943,7 +23084,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1362 + /* "_pydevd_sys_monitoring_cython.pyx":1371 * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< @@ -20952,7 +23093,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1355 + /* "_pydevd_sys_monitoring_cython.pyx":1364 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (107, 144, 206, 128) or step_cmd in ( # <<<<<<<<<<<<<< @@ -20962,7 +23103,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje break; case 0x6C: - /* "_pydevd_sys_monitoring_cython.pyx":1368 + /* "_pydevd_sys_monitoring_cython.pyx":1377 * return * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -20971,7 +23112,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ case 0x9F: - /* "_pydevd_sys_monitoring_cython.pyx":1369 + /* "_pydevd_sys_monitoring_cython.pyx":1378 * * elif step_cmd in (108, 159): * if plugin_manager is not None: # <<<<<<<<<<<<<< @@ -20981,19 +23122,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_5 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1370 + + /* "_pydevd_sys_monitoring_cython.pyx":1379 * elif step_cmd in (108, 159): * if plugin_manager is not None: * stop_info = {} # <<<<<<<<<<<<<< * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1370, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1379, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_stop_info = ((PyObject*)__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1371 + /* "_pydevd_sys_monitoring_cython.pyx":1380 * if plugin_manager is not None: * stop_info = {} * stop = False # <<<<<<<<<<<<<< @@ -21002,7 +23144,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1372 + /* "_pydevd_sys_monitoring_cython.pyx":1381 * stop_info = {} * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) # <<<<<<<<<<<<<< @@ -21011,7 +23153,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_t_2 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1372, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1381, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = 0; { @@ -21019,23 +23161,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_cmd_step_over, __pyx_callargs+__pyx_t_4, (8-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1372, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1381, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __pyx_v_result = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1373 + /* "_pydevd_sys_monitoring_cython.pyx":1382 * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< * stop, plugin_stop = result * if plugin_stop: */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1373, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1382, __pyx_L1_error) if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1374 + + /* "_pydevd_sys_monitoring_cython.pyx":1383 * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: * stop, plugin_stop = result # <<<<<<<<<<<<<< @@ -21048,7 +23191,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1374, __pyx_L1_error) + __PYX_ERR(0, 1383, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -21057,29 +23200,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_1 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_1); } else { - __pyx_t_3 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_1); } #else - __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_3 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { Py_ssize_t index = -1; - __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_2 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); index = 0; __pyx_t_3 = __pyx_t_6(__pyx_t_2); if (unlikely(!__pyx_t_3)) goto __pyx_L9_unpacking_failed; __Pyx_GOTREF(__pyx_t_3); index = 1; __pyx_t_1 = __pyx_t_6(__pyx_t_2); if (unlikely(!__pyx_t_1)) goto __pyx_L9_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1374, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_6(__pyx_t_2), 2) < (0)) __PYX_ERR(0, 1383, __pyx_L1_error) __pyx_t_6 = NULL; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L10_unpacking_done; @@ -21087,26 +23230,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1374, __pyx_L1_error) + __PYX_ERR(0, 1383, __pyx_L1_error) __pyx_L10_unpacking_done:; } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1374, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1383, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_stop = __pyx_t_5; __pyx_v_plugin_stop = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1375 + /* "_pydevd_sys_monitoring_cython.pyx":1384 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return */ - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1375, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1384, __pyx_L1_error) if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":1376 + + /* "_pydevd_sys_monitoring_cython.pyx":1385 * stop, plugin_stop = result * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) # <<<<<<<<<<<<<< @@ -21115,7 +23259,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_t_3 = __pyx_v_plugin_manager; __Pyx_INCREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1376, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1385, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = 0; { @@ -21123,23 +23267,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_stop, __pyx_callargs+__pyx_t_4, (8-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1376, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1385, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1377 + /* "_pydevd_sys_monitoring_cython.pyx":1386 * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1375 + /* "_pydevd_sys_monitoring_cython.pyx":1384 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< @@ -21148,7 +23298,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1373 + /* "_pydevd_sys_monitoring_cython.pyx":1382 * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< @@ -21157,7 +23307,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1369 + /* "_pydevd_sys_monitoring_cython.pyx":1378 * * elif step_cmd in (108, 159): * if plugin_manager is not None: # <<<<<<<<<<<<<< @@ -21166,7 +23316,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1368 + /* "_pydevd_sys_monitoring_cython.pyx":1377 * return * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -21177,7 +23327,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje default: break; } - /* "_pydevd_sys_monitoring_cython.pyx":1346 + /* "_pydevd_sys_monitoring_cython.pyx":1355 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _plugin_stepping(py_db, int step_cmd, event, frame, ThreadInfo thread_info): # <<<<<<<<<<<<<< @@ -21195,6 +23345,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._plugin_stepping", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_stop_info); __Pyx_XDECREF(__pyx_v_plugin_manager); __Pyx_XDECREF(__pyx_v_result); @@ -21204,7 +23355,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1382 +/* "_pydevd_sys_monitoring_cython.pyx":1391 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -21239,7 +23390,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_jump_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1394 + /* "_pydevd_sys_monitoring_cython.pyx":1403 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21255,23 +23406,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1395 + /* "_pydevd_sys_monitoring_cython.pyx":1404 * # needs to be per-thread. * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1395, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1404, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1395, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1404, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1395, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1404, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1394 + /* "_pydevd_sys_monitoring_cython.pyx":1403 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21287,7 +23438,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1396 + /* "_pydevd_sys_monitoring_cython.pyx":1405 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -21296,25 +23447,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._jump_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1396, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1405, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1397 + /* "_pydevd_sys_monitoring_cython.pyx":1406 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1397, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1406, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1397, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1406, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1398 + /* "_pydevd_sys_monitoring_cython.pyx":1407 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -21324,21 +23475,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1399 + + /* "_pydevd_sys_monitoring_cython.pyx":1408 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1398 + /* "_pydevd_sys_monitoring_cython.pyx":1407 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -21352,7 +23510,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1394 + /* "_pydevd_sys_monitoring_cython.pyx":1403 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21379,22 +23537,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1401 + /* "_pydevd_sys_monitoring_cython.pyx":1410 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1401, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1401, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1410, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1402 + /* "_pydevd_sys_monitoring_cython.pyx":1411 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -21403,36 +23561,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1402, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1411, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1402, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1411, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1403 + + /* "_pydevd_sys_monitoring_cython.pyx":1412 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * * # If we get another jump event, remove the extra check for the line event */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1403, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1412, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1403, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1412, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1402 + /* "_pydevd_sys_monitoring_cython.pyx":1411 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -21441,32 +23611,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1406 + /* "_pydevd_sys_monitoring_cython.pyx":1415 * * # If we get another jump event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< * del _thread_local_info.f_disable_next_line_if_match * */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1406, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1415, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1406, __pyx_L1_error) + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1415, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1407 + + /* "_pydevd_sys_monitoring_cython.pyx":1416 * # If we get another jump event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): * del _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1416, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match) < (0)) __PYX_ERR(0, 1407, __pyx_L1_error) + if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match) < (0)) __PYX_ERR(0, 1416, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1406 + /* "_pydevd_sys_monitoring_cython.pyx":1415 * * # If we get another jump event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< @@ -21475,7 +23646,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1409 + /* "_pydevd_sys_monitoring_cython.pyx":1418 * del _thread_local_info.f_disable_next_line_if_match * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -21483,29 +23654,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1409, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1418, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L17_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1412 + + /* "_pydevd_sys_monitoring_cython.pyx":1421 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1409 + /* "_pydevd_sys_monitoring_cython.pyx":1418 * del _thread_local_info.f_disable_next_line_if_match * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -21514,19 +23700,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1414 + /* "_pydevd_sys_monitoring_cython.pyx":1423 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1414, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1423, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1415 + /* "_pydevd_sys_monitoring_cython.pyx":1424 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -21535,31 +23721,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ if (!__pyx_v_func_code_info->always_skip_code) { } else { + __pyx_t_8 = __pyx_v_func_code_info->always_skip_code; goto __pyx_L20_bool_binop_done; } + __pyx_t_8 = __pyx_v_func_code_info->always_filtered_out; __pyx_L20_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1416 + + /* "_pydevd_sys_monitoring_cython.pyx":1425 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE # <<<<<<<<<<<<<< * * # Same logic as "sys_trace_jump_func" in https://github.com/python/cpython/blob/main/Python/legacy_tracing.c */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1416, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1425, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1416, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1425, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = __pyx_t_4; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1415 + /* "_pydevd_sys_monitoring_cython.pyx":1424 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -21568,7 +23763,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1422 + /* "_pydevd_sys_monitoring_cython.pyx":1431 * # Ignore forward jump. * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: # <<<<<<<<<<<<<< @@ -21576,26 +23771,34 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * */ __pyx_t_8 = (__pyx_v_to_offset > __pyx_v_from_offset); + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1423 + + /* "_pydevd_sys_monitoring_cython.pyx":1432 * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: * return monitor.DISABLE # <<<<<<<<<<<<<< * * from_line = func_code_info.get_line_of_offset(from_offset or 0) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1423, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1432, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1423, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1432, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1422 + /* "_pydevd_sys_monitoring_cython.pyx":1431 * # Ignore forward jump. * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: # <<<<<<<<<<<<<< @@ -21604,7 +23807,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1425 + /* "_pydevd_sys_monitoring_cython.pyx":1434 * return monitor.DISABLE * * from_line = func_code_info.get_line_of_offset(from_offset or 0) # <<<<<<<<<<<<<< @@ -21615,13 +23818,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_INCREF(__pyx_t_4); if (!__pyx_v_from_offset) { } else { - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1425, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1434, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = __pyx_t_7; __pyx_t_7 = 0; goto __pyx_L23_bool_binop_done; } - __pyx_t_7 = __Pyx_PyLong_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1425, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyLong_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1434, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = __pyx_t_7; __pyx_t_7 = 0; @@ -21632,14 +23835,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_line_of_offset, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1425, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1434, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } - __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1425, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1434, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_from_line = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1426 + /* "_pydevd_sys_monitoring_cython.pyx":1435 * * from_line = func_code_info.get_line_of_offset(from_offset or 0) * to_line = func_code_info.get_line_of_offset(to_offset or 0) # <<<<<<<<<<<<<< @@ -21650,13 +23853,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_INCREF(__pyx_t_5); if (!__pyx_v_to_offset) { } else { - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1426, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_4 = __pyx_t_7; __pyx_t_7 = 0; goto __pyx_L25_bool_binop_done; } - __pyx_t_7 = __Pyx_PyLong_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1426, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyLong_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_4 = __pyx_t_7; __pyx_t_7 = 0; @@ -21667,14 +23870,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_line_of_offset, __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1426, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1435, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); } - __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1426, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1435, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_to_line = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1428 + /* "_pydevd_sys_monitoring_cython.pyx":1437 * to_line = func_code_info.get_line_of_offset(to_offset or 0) * * if from_line != to_line: # <<<<<<<<<<<<<< @@ -21682,26 +23885,34 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * return monitor.DISABLE */ __pyx_t_8 = (__pyx_v_from_line != __pyx_v_to_line); + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1430 + + /* "_pydevd_sys_monitoring_cython.pyx":1439 * if from_line != to_line: * # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" * return monitor.DISABLE # <<<<<<<<<<<<<< * * # We know the frame depth. */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1430, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1439, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1430, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1439, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = __pyx_t_4; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1428 + /* "_pydevd_sys_monitoring_cython.pyx":1437 * to_line = func_code_info.get_line_of_offset(to_offset or 0) * * if from_line != to_line: # <<<<<<<<<<<<<< @@ -21710,7 +23921,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1433 + /* "_pydevd_sys_monitoring_cython.pyx":1442 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -21719,53 +23930,60 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1433, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1442, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1436 + /* "_pydevd_sys_monitoring_cython.pyx":1445 * * # Disable the next line event as we're jumping to a line. The line event will be redundant. * _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno) # <<<<<<<<<<<<<< * # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', frame.f_lineno) * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1436, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1436, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_func_code_info->co_filename); __Pyx_GIVEREF(__pyx_v_func_code_info->co_filename); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_func_code_info->co_filename) != (0)) __PYX_ERR(0, 1436, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_func_code_info->co_filename) != (0)) __PYX_ERR(0, 1445, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 1436, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 1445, __pyx_L1_error); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1436, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match, __pyx_t_6) < (0)) __PYX_ERR(0, 1436, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match, __pyx_t_6) < (0)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1439 + /* "_pydevd_sys_monitoring_cython.pyx":1448 * # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', frame.f_lineno) * * return _internal_line_event(func_code_info, frame, frame.f_lineno) # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1439, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1448, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1439, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyLong_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1448, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1439, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1448, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_r = __pyx_t_4; + + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1382 + /* "_pydevd_sys_monitoring_cython.pyx":1391 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -21784,6 +24002,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_thread_info); __Pyx_XDECREF((PyObject *)__pyx_v_func_code_info); + + __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_frame); __Pyx_XGIVEREF(__pyx_r); @@ -21791,7 +24011,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1444 +/* "_pydevd_sys_monitoring_cython.pyx":1453 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _line_event(code, int line): # <<<<<<<<<<<<<< @@ -21825,7 +24045,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_line_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1455 + /* "_pydevd_sys_monitoring_cython.pyx":1464 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21841,23 +24061,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1456 + /* "_pydevd_sys_monitoring_cython.pyx":1465 * # needs to be per-thread. * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1456, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1465, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1456, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1465, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1456, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1465, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1455 + /* "_pydevd_sys_monitoring_cython.pyx":1464 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21873,7 +24093,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1457 + /* "_pydevd_sys_monitoring_cython.pyx":1466 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -21882,25 +24102,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._line_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1457, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1466, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1458 + /* "_pydevd_sys_monitoring_cython.pyx":1467 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1458, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1467, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1458, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1467, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1459 + /* "_pydevd_sys_monitoring_cython.pyx":1468 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -21910,21 +24130,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1460 + + /* "_pydevd_sys_monitoring_cython.pyx":1469 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1459 + /* "_pydevd_sys_monitoring_cython.pyx":1468 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -21938,7 +24165,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1455 + /* "_pydevd_sys_monitoring_cython.pyx":1464 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -21965,22 +24192,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1462 + /* "_pydevd_sys_monitoring_cython.pyx":1471 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1462, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1471, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1462, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1471, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1463 + /* "_pydevd_sys_monitoring_cython.pyx":1472 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -21989,36 +24216,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1463, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1472, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1463, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1472, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1464 + + /* "_pydevd_sys_monitoring_cython.pyx":1473 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * * # If we get another line event, remove the extra check for the line event */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1464, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1463 + /* "_pydevd_sys_monitoring_cython.pyx":1472 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -22027,29 +24266,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1467 + /* "_pydevd_sys_monitoring_cython.pyx":1476 * * # If we get another line event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match * del _thread_local_info.f_disable_next_line_if_match */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1467, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1476, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1467, __pyx_L1_error) + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1476, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1468 + + /* "_pydevd_sys_monitoring_cython.pyx":1477 * # If we get another line event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< * del _thread_local_info.f_disable_next_line_if_match * if line_to_skip is line and co_filename == code.co_filename: */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1468, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) { @@ -22058,7 +24298,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1468, __pyx_L1_error) + __PYX_ERR(0, 1477, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -22067,23 +24307,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); __Pyx_INCREF(__pyx_t_5); } else { - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); } #else - __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1468, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1477, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_10 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); @@ -22091,7 +24331,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_GOTREF(__pyx_t_6); index = 1; __pyx_t_5 = __pyx_t_10(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L16_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < (0)) __PYX_ERR(0, 1468, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < (0)) __PYX_ERR(0, 1477, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L17_unpacking_done; @@ -22099,7 +24339,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1468, __pyx_L1_error) + __PYX_ERR(0, 1477, __pyx_L1_error) __pyx_L17_unpacking_done:; } __pyx_v_co_filename = __pyx_t_6; @@ -22107,56 +24347,66 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_v_line_to_skip = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1469 + /* "_pydevd_sys_monitoring_cython.pyx":1478 * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match * del _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< * if line_to_skip is line and co_filename == code.co_filename: * # The last jump already jumped to this line and we haven't had any */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1469, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match) < (0)) __PYX_ERR(0, 1469, __pyx_L1_error) + if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_f_disable_next_line_if_match) < (0)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1470 + /* "_pydevd_sys_monitoring_cython.pyx":1479 * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match * del _thread_local_info.f_disable_next_line_if_match * if line_to_skip is line and co_filename == code.co_filename: # <<<<<<<<<<<<<< * # The last jump already jumped to this line and we haven't had any * # line events or jumps since then. We don't want to consider this line twice */ - __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1470, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_9 = (__pyx_v_line_to_skip == __pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L19_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1470, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyObject_RichCompare(__pyx_v_co_filename, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1470, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_v_co_filename, __pyx_t_4, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1470, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L19_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1474 + + /* "_pydevd_sys_monitoring_cython.pyx":1483 * # line events or jumps since then. We don't want to consider this line twice * # pydev_log.debug('_line_event skipped', line) * return # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1470 + /* "_pydevd_sys_monitoring_cython.pyx":1479 * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match * del _thread_local_info.f_disable_next_line_if_match * if line_to_skip is line and co_filename == code.co_filename: # <<<<<<<<<<<<<< @@ -22165,7 +24415,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1467 + /* "_pydevd_sys_monitoring_cython.pyx":1476 * * # If we get another line event, remove the extra check for the line event * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< @@ -22174,7 +24424,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1476 + /* "_pydevd_sys_monitoring_cython.pyx":1485 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -22182,29 +24432,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L22_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1476, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1485, __pyx_L1_error) __pyx_t_11 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_11; + __pyx_L22_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1479 + + /* "_pydevd_sys_monitoring_cython.pyx":1488 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1476 + /* "_pydevd_sys_monitoring_cython.pyx":1485 * return * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -22213,19 +24478,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1481 + /* "_pydevd_sys_monitoring_cython.pyx":1490 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE */ - __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1481, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5); - __pyx_t_5 = 0; + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_mstate_global->__pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1490, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); + __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1482 + /* "_pydevd_sys_monitoring_cython.pyx":1491 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -22234,31 +24499,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ if (!__pyx_v_func_code_info->always_skip_code) { } else { + __pyx_t_8 = __pyx_v_func_code_info->always_skip_code; goto __pyx_L25_bool_binop_done; } + __pyx_t_8 = __pyx_v_func_code_info->always_filtered_out; __pyx_L25_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1483 + + /* "_pydevd_sys_monitoring_cython.pyx":1492 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE # <<<<<<<<<<<<<< * * # pydev_log.debug('_line_event', code.co_name, line) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1483, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1483, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1492, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1492, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_5 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1482 + /* "_pydevd_sys_monitoring_cython.pyx":1491 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -22267,7 +24541,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1488 + /* "_pydevd_sys_monitoring_cython.pyx":1497 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -22276,26 +24550,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ __pyx_t_12.__pyx_n = 1; __pyx_t_12.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1488, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_v_frame = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1497, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_frame = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1489 + /* "_pydevd_sys_monitoring_cython.pyx":1498 * # We know the frame depth. * frame = _getframe(1) * return _internal_line_event(func_code_info, frame, line) # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1489, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_r = __pyx_t_4; - __pyx_t_4 = 0; + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_v_line); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1498, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_5; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_5 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1444 + /* "_pydevd_sys_monitoring_cython.pyx":1453 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _line_event(code, int line): # <<<<<<<<<<<<<< @@ -22323,7 +24603,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1494 +/* "_pydevd_sys_monitoring_cython.pyx":1503 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<< @@ -22374,38 +24654,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_internal_line_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1506 + /* "_pydevd_sys_monitoring_cython.pyx":1515 * # ENDIF * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * thread_info = _thread_local_info.thread_info * info = thread_info.additional_info */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1506, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1515, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1506, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1515, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1507 + /* "_pydevd_sys_monitoring_cython.pyx":1516 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * info = thread_info.additional_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1507, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1516, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1507, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1516, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1507, __pyx_L1_error) + if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1516, __pyx_L1_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1508 + /* "_pydevd_sys_monitoring_cython.pyx":1517 * py_db: object = GlobalDebuggerHolder.global_dbg * thread_info = _thread_local_info.thread_info * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -22417,7 +24697,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1510 + /* "_pydevd_sys_monitoring_cython.pyx":1519 * info = thread_info.additional_info * * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -22425,9 +24705,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # print('line event', info, id(info), thread_info.thread.name) */ __pyx_t_3 = __pyx_v_info->pydev_step_cmd; + __pyx_v_step_cmd = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1516 + /* "_pydevd_sys_monitoring_cython.pyx":1525 * # If we reached here, it was not filtered out. * * if func_code_info.breakpoint_found: # <<<<<<<<<<<<<< @@ -22436,7 +24717,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1517 + /* "_pydevd_sys_monitoring_cython.pyx":1526 * * if func_code_info.breakpoint_found: * bp = None # <<<<<<<<<<<<<< @@ -22446,7 +24727,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(Py_None); __pyx_v_bp = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1518 + /* "_pydevd_sys_monitoring_cython.pyx":1527 * if func_code_info.breakpoint_found: * bp = None * stop = False # <<<<<<<<<<<<<< @@ -22455,7 +24736,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1519 + /* "_pydevd_sys_monitoring_cython.pyx":1528 * bp = None * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -22464,19 +24745,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1521 + /* "_pydevd_sys_monitoring_cython.pyx":1530 * stop_on_plugin_breakpoint = False * * stop_info = {} # <<<<<<<<<<<<<< * stop_reason = 111 * bp_type = None */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1521, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_stop_info = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1522 + /* "_pydevd_sys_monitoring_cython.pyx":1531 * * stop_info = {} * stop_reason = 111 # <<<<<<<<<<<<<< @@ -22485,7 +24766,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_reason = 0x6F; - /* "_pydevd_sys_monitoring_cython.pyx":1523 + /* "_pydevd_sys_monitoring_cython.pyx":1532 * stop_info = {} * stop_reason = 111 * bp_type = None # <<<<<<<<<<<<<< @@ -22495,7 +24776,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(Py_None); __pyx_v_bp_type = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1525 + /* "_pydevd_sys_monitoring_cython.pyx":1534 * bp_type = None * * bp = func_code_info.bp_line_to_breakpoint.get(line) # <<<<<<<<<<<<<< @@ -22503,18 +24784,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * new_frame = frame */ if (unlikely(__pyx_v_func_code_info->bp_line_to_breakpoint == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); - __PYX_ERR(0, 1525, __pyx_L1_error) + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "get"); + __PYX_ERR(0, 1534, __pyx_L1_error) } - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1525, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyDict_GetItemDefault(__pyx_v_func_code_info->bp_line_to_breakpoint, __pyx_t_1, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1525, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_GetItemDefault(__pyx_v_func_code_info->bp_line_to_breakpoint, __pyx_t_1, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF_SET(__pyx_v_bp, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1526 + /* "_pydevd_sys_monitoring_cython.pyx":1535 * * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: # <<<<<<<<<<<<<< @@ -22524,7 +24805,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = (__pyx_v_bp != Py_None); if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1527 + + /* "_pydevd_sys_monitoring_cython.pyx":1536 * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: * new_frame = frame # <<<<<<<<<<<<<< @@ -22534,7 +24816,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(__pyx_v_frame); __pyx_v_new_frame = __pyx_v_frame; - /* "_pydevd_sys_monitoring_cython.pyx":1528 + /* "_pydevd_sys_monitoring_cython.pyx":1537 * if bp is not None: * new_frame = frame * stop = True # <<<<<<<<<<<<<< @@ -22543,7 +24825,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1526 + /* "_pydevd_sys_monitoring_cython.pyx":1535 * * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: # <<<<<<<<<<<<<< @@ -22552,42 +24834,50 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1530 + /* "_pydevd_sys_monitoring_cython.pyx":1539 * stop = True * * if bp: # <<<<<<<<<<<<<< * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): * return */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1530, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1539, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1531 + + /* "_pydevd_sys_monitoring_cython.pyx":1540 * * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): # <<<<<<<<<<<<<< * return * */ - if (unlikely(!__pyx_v_new_frame)) { __Pyx_RaiseUnboundLocalError("new_frame"); __PYX_ERR(0, 1531, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_mstate_global->__pyx_kp_u_python_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1531, __pyx_L1_error) + if (unlikely(!__pyx_v_new_frame)) { __Pyx_RaiseUnboundLocalError("new_frame"); __PYX_ERR(0, 1540, __pyx_L1_error) } + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_mstate_global->__pyx_kp_u_python_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1540, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1531, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1540, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1532 + + /* "_pydevd_sys_monitoring_cython.pyx":1541 * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): * return # <<<<<<<<<<<<<< * * if func_code_info.plugin_line_breakpoint_found: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1531 + /* "_pydevd_sys_monitoring_cython.pyx":1540 * * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): # <<<<<<<<<<<<<< @@ -22596,7 +24886,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1530 + /* "_pydevd_sys_monitoring_cython.pyx":1539 * stop = True * * if bp: # <<<<<<<<<<<<<< @@ -22605,7 +24895,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1516 + /* "_pydevd_sys_monitoring_cython.pyx":1525 * # If we reached here, it was not filtered out. * * if func_code_info.breakpoint_found: # <<<<<<<<<<<<<< @@ -22614,7 +24904,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1534 + /* "_pydevd_sys_monitoring_cython.pyx":1543 * return * * if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -22623,14 +24913,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->plugin_line_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1535 + /* "_pydevd_sys_monitoring_cython.pyx":1544 * * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) # <<<<<<<<<<<<<< * if result: * stop_reason = 111 */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1535, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1544, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_1 = __pyx_t_5; __Pyx_INCREF(__pyx_t_1); @@ -22640,23 +24930,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_breakpoint, __pyx_callargs+__pyx_t_6, (5-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1535, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1544, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __pyx_v_result = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1536 + /* "_pydevd_sys_monitoring_cython.pyx":1545 * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: # <<<<<<<<<<<<<< * stop_reason = 111 * stop = False */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1536, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1545, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1537 + + /* "_pydevd_sys_monitoring_cython.pyx":1546 * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: * stop_reason = 111 # <<<<<<<<<<<<<< @@ -22665,7 +24956,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_reason = 0x6F; - /* "_pydevd_sys_monitoring_cython.pyx":1538 + /* "_pydevd_sys_monitoring_cython.pyx":1547 * if result: * stop_reason = 111 * stop = False # <<<<<<<<<<<<<< @@ -22674,7 +24965,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1539 + /* "_pydevd_sys_monitoring_cython.pyx":1548 * stop_reason = 111 * stop = False * stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<< @@ -22683,7 +24974,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_on_plugin_breakpoint = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1540 + /* "_pydevd_sys_monitoring_cython.pyx":1549 * stop = False * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result # <<<<<<<<<<<<<< @@ -22696,7 +24987,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1540, __pyx_L1_error) + __PYX_ERR(0, 1549, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -22707,27 +24998,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_1 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_1); } else { - __pyx_t_2 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_1); } #else - __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_2 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1540, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); index = 0; __pyx_t_2 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_2)) goto __pyx_L9_unpacking_failed; @@ -22736,7 +25027,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_GOTREF(__pyx_t_5); index = 2; __pyx_t_1 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_1)) goto __pyx_L9_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1540, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1549, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L10_unpacking_done; @@ -22744,7 +25035,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1540, __pyx_L1_error) + __PYX_ERR(0, 1549, __pyx_L1_error) __pyx_L10_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_2); @@ -22754,7 +25045,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_XDECREF_SET(__pyx_v_bp_type, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1541 + /* "_pydevd_sys_monitoring_cython.pyx":1550 * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) # <<<<<<<<<<<<<< @@ -22763,24 +25054,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_t_1 = __pyx_v_bp_type; __Pyx_INCREF(__pyx_t_1); - if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1541, __pyx_L1_error) - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1541, __pyx_L1_error) + if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 1550, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1550, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1542 + /* "_pydevd_sys_monitoring_cython.pyx":1551 * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) * return # <<<<<<<<<<<<<< * * if info.pydev_state == 2: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1536 + /* "_pydevd_sys_monitoring_cython.pyx":1545 * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: # <<<<<<<<<<<<<< @@ -22789,7 +25086,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1534 + /* "_pydevd_sys_monitoring_cython.pyx":1543 * return * * if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -22798,7 +25095,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1544 + /* "_pydevd_sys_monitoring_cython.pyx":1553 * return * * if info.pydev_state == 2: # <<<<<<<<<<<<<< @@ -22806,9 +25103,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # print('suspend (pause)...') */ __pyx_t_4 = (__pyx_v_info->pydev_state == 2); + if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1547 + + /* "_pydevd_sys_monitoring_cython.pyx":1556 * # Note: it's possible that it was suspended with a pause (and we'd stop here too). * # print('suspend (pause)...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< @@ -22816,7 +25115,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1547, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -22835,23 +25134,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1547, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1556, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1548 + /* "_pydevd_sys_monitoring_cython.pyx":1557 * # print('suspend (pause)...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< * * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1544 + /* "_pydevd_sys_monitoring_cython.pyx":1553 * return * * if info.pydev_state == 2: # <<<<<<<<<<<<<< @@ -22860,7 +25165,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1551 + /* "_pydevd_sys_monitoring_cython.pyx":1560 * * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< @@ -22872,7 +25177,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_stop_frame = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1552 + /* "_pydevd_sys_monitoring_cython.pyx":1561 * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -22880,9 +25185,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * return None */ __pyx_t_4 = (__pyx_v_step_cmd == -1L); + if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1553 + + /* "_pydevd_sys_monitoring_cython.pyx":1562 * stop_frame = info.pydev_step_stop * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -22891,31 +25198,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (!__pyx_v_func_code_info->breakpoint_found) { } else { + __pyx_t_4 = __pyx_v_func_code_info->breakpoint_found; goto __pyx_L14_bool_binop_done; } if (!__pyx_v_func_code_info->plugin_line_breakpoint_found) { } else { + __pyx_t_4 = __pyx_v_func_code_info->plugin_line_breakpoint_found; goto __pyx_L14_bool_binop_done; } - __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1553, __pyx_L1_error) + __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1562, __pyx_L1_error) + __pyx_t_4 = __pyx_t_9; + __pyx_L14_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1554 + + /* "_pydevd_sys_monitoring_cython.pyx":1563 * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): * return None # <<<<<<<<<<<<<< * * return monitor.DISABLE */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1553 + /* "_pydevd_sys_monitoring_cython.pyx":1562 * stop_frame = info.pydev_step_stop * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -22924,24 +25242,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1556 + /* "_pydevd_sys_monitoring_cython.pyx":1565 * return None * * return monitor.DISABLE # <<<<<<<<<<<<<< * * if info.suspend_type != PYTHON_SUSPEND: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1556, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1556, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1565, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_r = __pyx_t_2; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_2; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1552 + /* "_pydevd_sys_monitoring_cython.pyx":1561 * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -22950,25 +25274,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1558 + /* "_pydevd_sys_monitoring_cython.pyx":1567 * return monitor.DISABLE * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< * # Plugin stepping * if func_code_info.plugin_line_stepping: */ - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1558, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1558, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_t_5, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1558, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_CompareBoolNe_int_object(__pyx_t_2, __pyx_t_5, Py_NE); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1567, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1558, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1560 + + /* "_pydevd_sys_monitoring_cython.pyx":1569 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<< @@ -22977,18 +25300,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->plugin_line_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":1561 + /* "_pydevd_sys_monitoring_cython.pyx":1570 * # Plugin stepping * if func_code_info.plugin_line_stepping: * _plugin_stepping(py_db, step_cmd, "line", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_line, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1561, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_line, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1570, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1560 + /* "_pydevd_sys_monitoring_cython.pyx":1569 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<< @@ -22997,18 +25320,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1562 + /* "_pydevd_sys_monitoring_cython.pyx":1571 * if func_code_info.plugin_line_stepping: * _plugin_stepping(py_db, step_cmd, "line", frame, thread_info) * return # <<<<<<<<<<<<<< * * # Python stepping now */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1558 + /* "_pydevd_sys_monitoring_cython.pyx":1567 * return monitor.DISABLE * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -23017,7 +25346,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1565 + /* "_pydevd_sys_monitoring_cython.pyx":1574 * * # Python stepping now * if step_cmd in (107, 144, 206): # <<<<<<<<<<<<<< @@ -23029,7 +25358,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st case 0x90: case 0xCE: - /* "_pydevd_sys_monitoring_cython.pyx":1566 + /* "_pydevd_sys_monitoring_cython.pyx":1575 * # Python stepping now * if step_cmd in (107, 144, 206): * force_check_project_scope = step_cmd == 144 # <<<<<<<<<<<<<< @@ -23038,7 +25367,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_force_check_project_scope = (__pyx_v_step_cmd == 0x90); - /* "_pydevd_sys_monitoring_cython.pyx":1567 + /* "_pydevd_sys_monitoring_cython.pyx":1576 * if step_cmd in (107, 144, 206): * force_check_project_scope = step_cmd == 144 * if not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -23046,9 +25375,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * return */ __pyx_t_4 = (!__pyx_v_info->pydev_use_scoped_step_frame); + if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1568 + + /* "_pydevd_sys_monitoring_cython.pyx":1577 * force_check_project_scope = step_cmd == 144 * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -23057,30 +25388,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (!__pyx_v_func_code_info->always_filtered_out) { } else { + __pyx_t_4 = __pyx_v_func_code_info->always_filtered_out; goto __pyx_L21_bool_binop_done; } if (__pyx_v_force_check_project_scope) { } else { + __pyx_t_4 = __pyx_v_force_check_project_scope; goto __pyx_L21_bool_binop_done; } + __pyx_t_4 = __pyx_v_func_code_info->filtered_out_force_checked; __pyx_L21_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1569 + + /* "_pydevd_sys_monitoring_cython.pyx":1578 * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): * return # <<<<<<<<<<<<<< * * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1568 + /* "_pydevd_sys_monitoring_cython.pyx":1577 * force_check_project_scope = step_cmd == 144 * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -23089,36 +25430,49 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1571 + /* "_pydevd_sys_monitoring_cython.pyx":1580 * return * * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_5 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_5); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1571, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1571, __pyx_L1_error) + __pyx_t_2 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1580, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1580, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); + #if CYTHON_VECTORCALL + #endif __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_v_thread_info->thread, __pyx_t_2}; - __pyx_t_10 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1571, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_7, __pyx_t_10, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1571, __pyx_L1_error) - __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_thread_info->thread, __pyx_t_1, __pyx_t_7}; + #if CYTHON_VECTORCALL + __pyx_t_10 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1580, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_10); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_10 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1580, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + } + #endif + __pyx_t_5 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1571, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1580, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1572 + /* "_pydevd_sys_monitoring_cython.pyx":1581 * * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< @@ -23126,7 +25480,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * else: */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1572, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1581, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -23142,26 +25496,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st #endif { PyObject *__pyx_callargs[6] = {__pyx_t_10, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1572, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1581, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1573 + /* "_pydevd_sys_monitoring_cython.pyx":1582 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< * else: * # Make sure we check the filtering inside ipython calls too... */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1567 + /* "_pydevd_sys_monitoring_cython.pyx":1576 * if step_cmd in (107, 144, 206): * force_check_project_scope = step_cmd == 144 * if not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -23170,7 +25530,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1576 + /* "_pydevd_sys_monitoring_cython.pyx":1585 * else: * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -23180,30 +25540,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st /*else*/ { if (!__pyx_v_func_code_info->always_filtered_out) { } else { + __pyx_t_4 = __pyx_v_func_code_info->always_filtered_out; goto __pyx_L25_bool_binop_done; } if (__pyx_v_force_check_project_scope) { } else { + __pyx_t_4 = __pyx_v_force_check_project_scope; goto __pyx_L25_bool_binop_done; } + __pyx_t_4 = __pyx_v_func_code_info->filtered_out_force_checked; __pyx_L25_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1577 + + /* "_pydevd_sys_monitoring_cython.pyx":1586 * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): * return # <<<<<<<<<<<<<< * * stop = False */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1576 + /* "_pydevd_sys_monitoring_cython.pyx":1585 * else: * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -23212,7 +25582,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1579 + /* "_pydevd_sys_monitoring_cython.pyx":1588 * return * * stop = False # <<<<<<<<<<<<<< @@ -23221,55 +25591,56 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1581 + /* "_pydevd_sys_monitoring_cython.pyx":1590 * stop = False * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename # <<<<<<<<<<<<<< * if filename.endswith(".pyc"): * filename = filename[:-1] */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1581, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1590, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_filename = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1582 + /* "_pydevd_sys_monitoring_cython.pyx":1591 * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): # <<<<<<<<<<<<<< * filename = filename[:-1] * */ - __pyx_t_1 = __pyx_v_filename; - __Pyx_INCREF(__pyx_t_1); + __pyx_t_5 = __pyx_v_filename; + __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_mstate_global->__pyx_kp_u_pyc}; + PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_mstate_global->__pyx_kp_u_pyc}; __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_endswith, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1582, __pyx_L1_error) + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1591, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1582, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1591, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1583 + + /* "_pydevd_sys_monitoring_cython.pyx":1592 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): * filename = filename[:-1] # <<<<<<<<<<<<<< * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): */ - __pyx_t_7 = __Pyx_PyObject_GetSlice(__pyx_v_filename, 0, -1L, NULL, NULL, &__pyx_mstate_global->__pyx_slice[0], 0, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1583, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetSlice(__pyx_v_filename, 0, -1L, NULL, NULL, &__pyx_mstate_global->__pyx_slice[0], 0, 1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1592, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF_SET(__pyx_v_filename, __pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1582 + /* "_pydevd_sys_monitoring_cython.pyx":1591 * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): # <<<<<<<<<<<<<< @@ -23278,47 +25649,50 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1585 + /* "_pydevd_sys_monitoring_cython.pyx":1594 * filename = filename[:-1] * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): # <<<<<<<<<<<<<< * f = frame.f_back * while f is not None: */ - __pyx_t_1 = __pyx_v_filename; - __Pyx_INCREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1585, __pyx_L1_error) + __pyx_t_5 = __pyx_v_filename; + __Pyx_INCREF(__pyx_t_5); + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1585, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1594, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_6 = 0; { - PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_t_2}; + PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_1}; __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_endswith, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1585, __pyx_L1_error) + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1594, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1585, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1594, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_9 = (!__pyx_t_4); + + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1586 + + /* "_pydevd_sys_monitoring_cython.pyx":1595 * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): * f = frame.f_back # <<<<<<<<<<<<<< * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1586, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_f = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1587 + /* "_pydevd_sys_monitoring_cython.pyx":1596 * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): * f = frame.f_back * while f is not None: # <<<<<<<<<<<<<< @@ -23327,45 +25701,45 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ while (1) { __pyx_t_9 = (__pyx_v_f != Py_None); + if (!__pyx_t_9) break; - /* "_pydevd_sys_monitoring_cython.pyx":1588 + /* "_pydevd_sys_monitoring_cython.pyx":1597 * f = frame.f_back * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1588, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1588, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1597, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1588, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_7, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1588, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_7, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1597, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1588, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_9 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_1, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1597, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1588, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1589 + + /* "_pydevd_sys_monitoring_cython.pyx":1598 * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back # <<<<<<<<<<<<<< * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1589, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_XDECREF_SET(__pyx_v_f2, __pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1598, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_XDECREF_SET(__pyx_v_f2, __pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1590 + /* "_pydevd_sys_monitoring_cython.pyx":1599 * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -23374,65 +25748,69 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_t_4 = (__pyx_v_f2 != Py_None); if (__pyx_t_4) { + } else { + __pyx_t_9 = __pyx_t_4; + goto __pyx_L34_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1590, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1590, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1599, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1590, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1599, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_GetItemInt(__pyx_t_5, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1599, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_GetItemInt(__pyx_t_7, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1590, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1590, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_4 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_1, __pyx_t_7, Py_EQ); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1599, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1590, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_9 = __pyx_t_4; + __pyx_L34_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1591 + + /* "_pydevd_sys_monitoring_cython.pyx":1600 * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") # <<<<<<<<<<<<<< * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" */ - __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1591, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1591, __pyx_L1_error) + __pyx_t_1 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_pydev_log); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1600, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_debug); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_10))) { - __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_10); - assert(__pyx_t_2); + __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_10); + assert(__pyx_t_1); PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_10); - __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(__pyx_t_1); __Pyx_INCREF(__pyx__function); __Pyx_DECREF_SET(__pyx_t_10, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_mstate_global->__pyx_kp_u_Stop_inside_ipython_call}; + PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_mstate_global->__pyx_kp_u_Stop_inside_ipython_call}; __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_10, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1591, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1592 + /* "_pydevd_sys_monitoring_cython.pyx":1601 * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< @@ -23441,27 +25819,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_t_10 = __pyx_v_py_db; __Pyx_INCREF(__pyx_t_10); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1592, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1592, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); + __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1601, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + #if CYTHON_VECTORCALL + #endif __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_10, __pyx_v_thread_info->thread, __pyx_t_2}; - __pyx_t_5 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1592, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_1, __pyx_t_5, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1592, __pyx_L1_error) - __pyx_t_7 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_5); + PyObject *__pyx_callargs[4] = {__pyx_t_10, __pyx_v_thread_info->thread, __pyx_t_1, __pyx_t_5}; + #if CYTHON_VECTORCALL + __pyx_t_2 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1601, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_2); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_2 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1601, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + } + #endif + __pyx_t_7 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_2); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1592, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1601, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1593 + /* "_pydevd_sys_monitoring_cython.pyx":1602 * pydev_log.debug("Stop inside ipython call") * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" # <<<<<<<<<<<<<< @@ -23471,42 +25862,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_sys_monitor); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_sys_monitor); __Pyx_GOTREF(__pyx_v_thread_info->additional_info->trace_suspend_type); - __Pyx_DECREF(__pyx_v_thread_info->additional_info->trace_suspend_type); - __pyx_v_thread_info->additional_info->trace_suspend_type = __pyx_mstate_global->__pyx_n_u_sys_monitor; + __Pyx_DECREF_SET(__pyx_v_thread_info->additional_info->trace_suspend_type, __pyx_mstate_global->__pyx_n_u_sys_monitor); - /* "_pydevd_sys_monitoring_cython.pyx":1594 + /* "_pydevd_sys_monitoring_cython.pyx":1603 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * break * f = f.f_back */ - __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1594, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1603, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_1))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_1); - assert(__pyx_t_5); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1); - __Pyx_INCREF(__pyx_t_5); + if (unlikely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5); + assert(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_1, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_5, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1594, __pyx_L1_error) + PyObject *__pyx_callargs[6] = {__pyx_t_2, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1603, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1595 + /* "_pydevd_sys_monitoring_cython.pyx":1604 * thread_info.additional_info.trace_suspend_type = "sys_monitor" * _do_wait_suspend(py_db, thread_info, frame, "line", None) * break # <<<<<<<<<<<<<< @@ -23515,7 +25905,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ goto __pyx_L31_break; - /* "_pydevd_sys_monitoring_cython.pyx":1590 + /* "_pydevd_sys_monitoring_cython.pyx":1599 * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -23524,7 +25914,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1588 + /* "_pydevd_sys_monitoring_cython.pyx":1597 * f = frame.f_back * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -23533,21 +25923,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1596 + /* "_pydevd_sys_monitoring_cython.pyx":1605 * _do_wait_suspend(py_db, thread_info, frame, "line", None) * break * f = f.f_back # <<<<<<<<<<<<<< * * del f */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1596, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1605, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_7); __pyx_t_7 = 0; } __pyx_L31_break:; - /* "_pydevd_sys_monitoring_cython.pyx":1598 + /* "_pydevd_sys_monitoring_cython.pyx":1607 * f = f.f_back * * del f # <<<<<<<<<<<<<< @@ -23556,7 +25946,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __Pyx_DECREF(__pyx_v_f); __pyx_v_f = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1585 + /* "_pydevd_sys_monitoring_cython.pyx":1594 * filename = filename[:-1] * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): # <<<<<<<<<<<<<< @@ -23566,18 +25956,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } } - /* "_pydevd_sys_monitoring_cython.pyx":1602 + /* "_pydevd_sys_monitoring_cython.pyx":1611 * # In scoped mode if step in didn't work in this context it won't work * # afterwards anyways. * return # <<<<<<<<<<<<<< * * elif step_cmd in (108, 159): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1565 + /* "_pydevd_sys_monitoring_cython.pyx":1574 * * # Python stepping now * if step_cmd in (107, 144, 206): # <<<<<<<<<<<<<< @@ -23587,7 +25983,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st break; case 0x6C: - /* "_pydevd_sys_monitoring_cython.pyx":1604 + /* "_pydevd_sys_monitoring_cython.pyx":1613 * return * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -23596,49 +25992,63 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ case 0x9F: - /* "_pydevd_sys_monitoring_cython.pyx":1608 + /* "_pydevd_sys_monitoring_cython.pyx":1617 * # difference is that when we return from a frame in one we go to regular step * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1608, __pyx_L1_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1608, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1617, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1609 + + /* "_pydevd_sys_monitoring_cython.pyx":1618 * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_1 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1609, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1609, __pyx_L1_error) + __pyx_t_5 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_5); + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1618, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + #if CYTHON_VECTORCALL + #endif __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_1, __pyx_v_thread_info->thread, __pyx_t_5}; - __pyx_t_10 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1609, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_10); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_2, __pyx_t_10, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1609, __pyx_L1_error) - __pyx_t_7 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_5, __pyx_v_thread_info->thread, __pyx_t_2, __pyx_t_1}; + #if CYTHON_VECTORCALL + __pyx_t_10 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1618, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_10); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_10 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1618, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + } + #endif + __pyx_t_7 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + #if CYTHON_VECTORCALL + #endif + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1609, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1618, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1610 + /* "_pydevd_sys_monitoring_cython.pyx":1619 * if _is_same_frame(info, stop_frame, frame): * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< @@ -23646,42 +26056,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1610, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1619, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_2))) { - __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_2); + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_1); assert(__pyx_t_10); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1); __Pyx_INCREF(__pyx_t_10); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_1, __pyx__function); __pyx_t_6 = 0; } #endif { PyObject *__pyx_callargs[6] = {__pyx_t_10, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1610, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1619, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1611 + /* "_pydevd_sys_monitoring_cython.pyx":1620 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< * * elif step_cmd == 105: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1608 + /* "_pydevd_sys_monitoring_cython.pyx":1617 * # difference is that when we return from a frame in one we go to regular step * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -23690,7 +26106,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1604 + /* "_pydevd_sys_monitoring_cython.pyx":1613 * return * * elif step_cmd in (108, 159): # <<<<<<<<<<<<<< @@ -23700,79 +26116,98 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st break; case 0x69: - /* "_pydevd_sys_monitoring_cython.pyx":1614 + /* "_pydevd_sys_monitoring_cython.pyx":1623 * * elif step_cmd == 105: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_2 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_2); - __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1614, __pyx_L1_error) + __pyx_t_1 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_1); + __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1623, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1614, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1623, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #if CYTHON_VECTORCALL + #endif __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_v_thread_info->thread, __pyx_t_10}; - __pyx_t_1 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1614, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_5, __pyx_t_1, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1614, __pyx_L1_error) - __pyx_t_7 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_1); - __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_1, __pyx_v_thread_info->thread, __pyx_t_10, __pyx_t_2}; + #if CYTHON_VECTORCALL + __pyx_t_5 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1623, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_5); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_5 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1623, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + } + #endif + __pyx_t_7 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_5); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + #if CYTHON_VECTORCALL + #endif + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1614, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1623, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1615 + /* "_pydevd_sys_monitoring_cython.pyx":1624 * elif step_cmd == 105: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return * */ - __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1615, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); + __pyx_t_5 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1624, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_5))) { - __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_5); - assert(__pyx_t_1); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5); - __Pyx_INCREF(__pyx_t_1); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2); + assert(__pyx_t_5); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_5, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_1, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1615, __pyx_L1_error) + PyObject *__pyx_callargs[6] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1624, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1616 + /* "_pydevd_sys_monitoring_cython.pyx":1625 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< * * elif step_cmd == 128: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1613 + /* "_pydevd_sys_monitoring_cython.pyx":1622 * return * * elif step_cmd == 105: # <<<<<<<<<<<<<< @@ -23782,7 +26217,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st break; case 0x80: - /* "_pydevd_sys_monitoring_cython.pyx":1619 + /* "_pydevd_sys_monitoring_cython.pyx":1628 * * elif step_cmd == 128: * stop = False # <<<<<<<<<<<<<< @@ -23791,32 +26226,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1620 + /* "_pydevd_sys_monitoring_cython.pyx":1629 * elif step_cmd == 128: * stop = False * back = frame.f_back # <<<<<<<<<<<<<< * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1620, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1629, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_back = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1621 + /* "_pydevd_sys_monitoring_cython.pyx":1630 * stop = False * back = frame.f_back * if _is_same_frame(info, stop_frame, back): # <<<<<<<<<<<<<< * if info.pydev_smart_child_offset != -1: * # i.e.: in this case, we're not interested in the pause in the parent, rather */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1621, __pyx_L1_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1621, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1630, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1622 + + /* "_pydevd_sys_monitoring_cython.pyx":1631 * back = frame.f_back * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<< @@ -23824,9 +26260,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # we're interested in the pause in the child (when the parent is at the proper place). */ __pyx_t_9 = (__pyx_v_info->pydev_smart_child_offset != -1L); + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1625 + + /* "_pydevd_sys_monitoring_cython.pyx":1634 * # i.e.: in this case, we're not interested in the pause in the parent, rather * # we're interested in the pause in the child (when the parent is at the proper place). * stop = False # <<<<<<<<<<<<<< @@ -23835,7 +26273,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1622 + /* "_pydevd_sys_monitoring_cython.pyx":1631 * back = frame.f_back * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<< @@ -23845,7 +26283,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L38; } - /* "_pydevd_sys_monitoring_cython.pyx":1628 + /* "_pydevd_sys_monitoring_cython.pyx":1637 * * else: * pydev_smart_parent_offset = info.pydev_smart_parent_offset # <<<<<<<<<<<<<< @@ -23854,9 +26292,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ /*else*/ { __pyx_t_3 = __pyx_v_info->pydev_smart_parent_offset; + __pyx_v_pydev_smart_parent_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1630 + /* "_pydevd_sys_monitoring_cython.pyx":1639 * pydev_smart_parent_offset = info.pydev_smart_parent_offset * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants # <<<<<<<<<<<<<< @@ -23868,7 +26307,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1631 + /* "_pydevd_sys_monitoring_cython.pyx":1640 * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -23876,66 +26315,73 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # and the offset is set). */ __pyx_t_4 = (__pyx_v_pydev_smart_parent_offset >= 0); + if (__pyx_t_4) { + } else { + __pyx_t_9 = __pyx_t_4; + goto __pyx_L40_bool_binop_done; } if (__pyx_v_pydev_smart_step_into_variants == Py_None) __pyx_t_4 = 0; else { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_v_pydev_smart_step_into_variants); - if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1631, __pyx_L1_error) + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1640, __pyx_L1_error) __pyx_t_4 = (__pyx_temp != 0); } + __pyx_t_9 = __pyx_t_4; + __pyx_L40_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1634 + + /* "_pydevd_sys_monitoring_cython.pyx":1643 * # Preferred mode (when the smart step into variants are available * # and the offset is set). * stop = get_smart_step_into_variant_from_frame_offset( # <<<<<<<<<<<<<< * back.f_lasti, pydev_smart_step_into_variants * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) */ - __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1634, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1643, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":1635 + /* "_pydevd_sys_monitoring_cython.pyx":1644 * # and the offset is set). * stop = get_smart_step_into_variant_from_frame_offset( * back.f_lasti, pydev_smart_step_into_variants # <<<<<<<<<<<<<< * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) * */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1635, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1644, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_1))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_1); - assert(__pyx_t_5); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1); - __Pyx_INCREF(__pyx_t_5); + if (unlikely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_5); + assert(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_1, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_5, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_t_10, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_10, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1634, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1643, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); } - /* "_pydevd_sys_monitoring_cython.pyx":1636 + /* "_pydevd_sys_monitoring_cython.pyx":1645 * stop = get_smart_step_into_variant_from_frame_offset( * back.f_lasti, pydev_smart_step_into_variants * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) # <<<<<<<<<<<<<< @@ -23943,37 +26389,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * else: */ __pyx_t_10 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1636, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1636, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1645, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1645, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_5))) { - __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_5); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_2); assert(__pyx_t_10); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); __Pyx_INCREF(__pyx_t_10); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_5, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_10, __pyx_t_2, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[3] = {__pyx_t_10, __pyx_t_1, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1636, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1645, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); } - __pyx_t_9 = (__pyx_t_7 == __pyx_t_1); + __pyx_t_9 = (__pyx_t_7 == __pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_stop = __pyx_t_9; - /* "_pydevd_sys_monitoring_cython.pyx":1631 + /* "_pydevd_sys_monitoring_cython.pyx":1640 * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -23983,7 +26429,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L39; } - /* "_pydevd_sys_monitoring_cython.pyx":1640 + /* "_pydevd_sys_monitoring_cython.pyx":1649 * else: * # Only the name/line is available, so, check that. * curr_func_name = frame.f_code.co_name # <<<<<<<<<<<<<< @@ -23991,15 +26437,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # global context is set with an empty name */ /*else*/ { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1640, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1649, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_curr_func_name = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1643 + /* "_pydevd_sys_monitoring_cython.pyx":1652 * * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<< @@ -24008,38 +26454,51 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __Pyx_INCREF(__pyx_v_curr_func_name); __pyx_t_7 = __pyx_v_curr_func_name; - __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_t_7, __pyx_mstate_global->__pyx_kp_u__5, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_11 = (__Pyx_PyObject_Equals_obj_ch63(__pyx_t_7, __pyx_mstate_global->__pyx_kp_u_, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1652, __pyx_L1_error) if (!__pyx_t_11) { + } else { + __pyx_t_4 = __pyx_t_11; + goto __pyx_L45_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_t_7, __pyx_mstate_global->__pyx_kp_u_module, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_7, __pyx_mstate_global->__pyx_kp_u_module_2, Py_EQ); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1652, __pyx_L1_error) + __pyx_t_4 = __pyx_t_11; + __pyx_L45_bool_binop_done:; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_11 = __pyx_t_4; + + if (!__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L43_bool_binop_done; } __pyx_t_11 = (__pyx_v_curr_func_name == Py_None); + __pyx_t_9 = __pyx_t_11; + __pyx_L43_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1644 + + /* "_pydevd_sys_monitoring_cython.pyx":1653 * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" # <<<<<<<<<<<<<< * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: * stop = True */ - __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_); - __Pyx_DECREF_SET(__pyx_v_curr_func_name, __pyx_mstate_global->__pyx_kp_u_); + __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u__2); + __Pyx_DECREF_SET(__pyx_v_curr_func_name, __pyx_mstate_global->__pyx_kp_u__2); - /* "_pydevd_sys_monitoring_cython.pyx":1643 + /* "_pydevd_sys_monitoring_cython.pyx":1652 * * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<< @@ -24048,33 +26507,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1645 + /* "_pydevd_sys_monitoring_cython.pyx":1654 * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: # <<<<<<<<<<<<<< * stop = True * */ - __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1645, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1654, __pyx_L1_error) if (__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L48_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1645, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_mstate_global->__pyx_n_u_f_lineno); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1654, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1645, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1645, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1654, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_11 = __Pyx_PyObject_CompareBoolEq_object_int(__pyx_t_7, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1654, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1645, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_9 = __pyx_t_11; + __pyx_L48_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1646 + + /* "_pydevd_sys_monitoring_cython.pyx":1655 * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: * stop = True # <<<<<<<<<<<<<< @@ -24083,7 +26546,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1645 + /* "_pydevd_sys_monitoring_cython.pyx":1654 * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: # <<<<<<<<<<<<<< @@ -24096,7 +26559,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } __pyx_L38:; - /* "_pydevd_sys_monitoring_cython.pyx":1648 + /* "_pydevd_sys_monitoring_cython.pyx":1657 * stop = True * * if not stop: # <<<<<<<<<<<<<< @@ -24104,20 +26567,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # not be the case next time either, so, disable tracing for this frame. */ __pyx_t_9 = (!__pyx_v_stop); + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1651 + + /* "_pydevd_sys_monitoring_cython.pyx":1660 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. * return # <<<<<<<<<<<<<< * * elif back is not None and _is_same_frame(info, stop_frame, back.f_back): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1648 + /* "_pydevd_sys_monitoring_cython.pyx":1657 * stop = True * * if not stop: # <<<<<<<<<<<<<< @@ -24126,7 +26597,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1621 + /* "_pydevd_sys_monitoring_cython.pyx":1630 * stop = False * back = frame.f_back * if _is_same_frame(info, stop_frame, back): # <<<<<<<<<<<<<< @@ -24136,7 +26607,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L37; } - /* "_pydevd_sys_monitoring_cython.pyx":1653 + /* "_pydevd_sys_monitoring_cython.pyx":1662 * return * * elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<< @@ -24145,22 +26616,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_t_11 = (__pyx_v_back != Py_None); if (__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L51_bool_binop_done; } - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1653, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1662, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1653, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1662, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1653, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1662, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_9 = __pyx_t_11; + __pyx_L51_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1657 + + /* "_pydevd_sys_monitoring_cython.pyx":1666 * # This happens when handling a step into which targets a function inside a list comprehension * # or generator (in which case an intermediary frame is created due to an internal function call). * pydev_smart_parent_offset = info.pydev_smart_parent_offset # <<<<<<<<<<<<<< @@ -24168,9 +26645,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # print('matched back frame', pydev_smart_parent_offset, pydev_smart_child_offset) */ __pyx_t_3 = __pyx_v_info->pydev_smart_parent_offset; + __pyx_v_pydev_smart_parent_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1658 + /* "_pydevd_sys_monitoring_cython.pyx":1667 * # or generator (in which case an intermediary frame is created due to an internal function call). * pydev_smart_parent_offset = info.pydev_smart_parent_offset * pydev_smart_child_offset = info.pydev_smart_child_offset # <<<<<<<<<<<<<< @@ -24178,9 +26656,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # print('parent f_lasti', back.f_back.f_lasti) */ __pyx_t_3 = __pyx_v_info->pydev_smart_child_offset; + __pyx_v_pydev_smart_child_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1662 + /* "_pydevd_sys_monitoring_cython.pyx":1671 * # print('parent f_lasti', back.f_back.f_lasti) * # print('child f_lasti', back.f_lasti) * stop = False # <<<<<<<<<<<<<< @@ -24189,7 +26668,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1663 + /* "_pydevd_sys_monitoring_cython.pyx":1672 * # print('child f_lasti', back.f_lasti) * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<< @@ -24197,29 +26676,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * */ __pyx_t_11 = (__pyx_v_pydev_smart_child_offset >= 0); + if (__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L54_bool_binop_done; } __pyx_t_11 = (__pyx_v_pydev_smart_child_offset >= 0); + + __pyx_t_9 = __pyx_t_11; + __pyx_L54_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1664 + + /* "_pydevd_sys_monitoring_cython.pyx":1673 * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants # <<<<<<<<<<<<<< * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: */ - __pyx_t_1 = __pyx_v_info->pydev_smart_step_into_variants; - __Pyx_INCREF(__pyx_t_1); - __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_1); - __pyx_t_1 = 0; + __pyx_t_7 = __pyx_v_info->pydev_smart_step_into_variants; + __Pyx_INCREF(__pyx_t_7); + __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_7); + __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1666 + /* "_pydevd_sys_monitoring_cython.pyx":1675 * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -24227,24 +26714,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # the child (because this is a generator, the parent may have moved forward */ __pyx_t_11 = (__pyx_v_pydev_smart_parent_offset >= 0); + if (__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L57_bool_binop_done; } if (__pyx_v_pydev_smart_step_into_variants == Py_None) __pyx_t_11 = 0; else { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_v_pydev_smart_step_into_variants); - if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1666, __pyx_L1_error) + if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1675, __pyx_L1_error) __pyx_t_11 = (__pyx_temp != 0); } + __pyx_t_9 = __pyx_t_11; + __pyx_L57_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1671 + + /* "_pydevd_sys_monitoring_cython.pyx":1680 * # already -- and that's ok, so, we just check that the parent frame * # matches in this case). * smart_step_into_variant = get_smart_step_into_variant_from_frame_offset( # <<<<<<<<<<<<<< @@ -24252,103 +26746,106 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * ) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1671, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1680, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":1672 + /* "_pydevd_sys_monitoring_cython.pyx":1681 * # matches in this case). * smart_step_into_variant = get_smart_step_into_variant_from_frame_offset( * pydev_smart_parent_offset, pydev_smart_step_into_variants # <<<<<<<<<<<<<< * ) * # print('matched parent offset', pydev_smart_parent_offset) */ - __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1672, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1681, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_7); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2); assert(__pyx_t_5); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_t_2, __pyx_v_pydev_smart_step_into_variants}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_t_1, __pyx_v_pydev_smart_step_into_variants}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1671, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1680, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); } - __pyx_v_smart_step_into_variant = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_v_smart_step_into_variant = __pyx_t_7; + __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1676 + /* "_pydevd_sys_monitoring_cython.pyx":1685 * # print('matched parent offset', pydev_smart_parent_offset) * # Ok, now, check the child variant * children_variants = smart_step_into_variant.children_variants # <<<<<<<<<<<<<< * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_mstate_global->__pyx_n_u_children_variants); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1676, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); - __pyx_v_children_variants = __pyx_t_1; - __pyx_t_1 = 0; + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_mstate_global->__pyx_n_u_children_variants); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1685, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_v_children_variants = __pyx_t_7; + __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1677 + /* "_pydevd_sys_monitoring_cython.pyx":1686 * # Ok, now, check the child variant * children_variants = smart_step_into_variant.children_variants * stop = children_variants and ( # <<<<<<<<<<<<<< * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) */ - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1677, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1686, __pyx_L1_error) if (__pyx_t_11) { + } else { + __pyx_t_9 = __pyx_t_11; + goto __pyx_L59_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1678 + /* "_pydevd_sys_monitoring_cython.pyx":1687 * children_variants = smart_step_into_variant.children_variants * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) # <<<<<<<<<<<<<< * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) * ) */ - __pyx_t_7 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1678, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1678, __pyx_L1_error) + __pyx_t_2 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1687, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_mstate_global->__pyx_n_u_f_lasti); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1687, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_2))) { - __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_2); - assert(__pyx_t_7); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); - __Pyx_INCREF(__pyx_t_7); + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_1); + assert(__pyx_t_2); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1); + __Pyx_INCREF(__pyx_t_2); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_1, __pyx__function); __pyx_t_6 = 0; } #endif { - PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_5, __pyx_v_children_variants}; - __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); - __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_5, __pyx_v_children_variants}; + __pyx_t_7 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1678, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1687, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); } - /* "_pydevd_sys_monitoring_cython.pyx":1679 + /* "_pydevd_sys_monitoring_cython.pyx":1688 * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) # <<<<<<<<<<<<<< @@ -24356,39 +26853,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # print('stop at child', stop) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1679, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1679, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1688, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1688, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_7); + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_2); assert(__pyx_t_5); - PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7); + PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2); __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(__pyx__function); - __Pyx_DECREF_SET(__pyx_t_7, __pyx__function); + __Pyx_DECREF_SET(__pyx_t_2, __pyx__function); __pyx_t_6 = 0; } #endif { PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_t_10, __pyx_v_children_variants}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1679, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1688, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_11 = (__pyx_t_1 == __pyx_t_2); + __pyx_t_11 = (__pyx_t_7 == __pyx_t_1); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_9 = __pyx_t_11; + __pyx_L59_bool_binop_done:; __pyx_v_stop = __pyx_t_9; - /* "_pydevd_sys_monitoring_cython.pyx":1666 + /* "_pydevd_sys_monitoring_cython.pyx":1675 * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -24397,7 +26896,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1663 + /* "_pydevd_sys_monitoring_cython.pyx":1672 * # print('child f_lasti', back.f_lasti) * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<< @@ -24406,7 +26905,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1683 + /* "_pydevd_sys_monitoring_cython.pyx":1692 * # print('stop at child', stop) * * if not stop: # <<<<<<<<<<<<<< @@ -24414,20 +26913,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # not be the case next time either, so, disable tracing for this frame. */ __pyx_t_9 = (!__pyx_v_stop); + if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1686 + + /* "_pydevd_sys_monitoring_cython.pyx":1695 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. * return # <<<<<<<<<<<<<< * * if stop: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1683 + /* "_pydevd_sys_monitoring_cython.pyx":1692 * # print('stop at child', stop) * * if not stop: # <<<<<<<<<<<<<< @@ -24436,7 +26943,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1653 + /* "_pydevd_sys_monitoring_cython.pyx":1662 * return * * elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<< @@ -24446,7 +26953,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } __pyx_L37:; - /* "_pydevd_sys_monitoring_cython.pyx":1688 + /* "_pydevd_sys_monitoring_cython.pyx":1697 * return * * if stop: # <<<<<<<<<<<<<< @@ -24455,36 +26962,49 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_stop) { - /* "_pydevd_sys_monitoring_cython.pyx":1689 + /* "_pydevd_sys_monitoring_cython.pyx":1698 * * if stop: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_1 = __pyx_v_py_db; - __Pyx_INCREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1689, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1689, __pyx_L1_error) + __pyx_t_7 = __pyx_v_py_db; + __Pyx_INCREF(__pyx_t_7); + __pyx_t_2 = __Pyx_PyLong_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_10 = __Pyx_PyLong_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1698, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); + #if CYTHON_VECTORCALL + #endif __pyx_t_6 = 0; { - PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_1, __pyx_v_thread_info->thread, __pyx_t_7}; - __pyx_t_5 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1689, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_original_step_cmd, __pyx_t_10, __pyx_t_5, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1689, __pyx_L1_error) - __pyx_t_2 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_5); - __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_v_thread_info->thread, __pyx_t_2, __pyx_t_10}; + #if CYTHON_VECTORCALL + __pyx_t_5 = __pyx_mstate_global->__pyx_tuple[4]; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1698, __pyx_L1_error) + __Pyx_INCREF(__pyx_t_5); + #else + { + PyObject *__pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_t_5 = __Pyx_MakeKwargDict(__pyx_temp, __pyx_callargs+3, 1); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + } + #endif + __pyx_t_1 = __Pyx_Object_VectorcallMethodKwds((PyObject*)__pyx_mstate_global->__pyx_n_u_set_suspend, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_5); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + #if CYTHON_VECTORCALL + #endif __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1689, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1690 + /* "_pydevd_sys_monitoring_cython.pyx":1699 * if stop: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< @@ -24492,7 +27012,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1690, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_do_wait_suspend); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1699, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -24508,26 +27028,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st #endif { PyObject *__pyx_callargs[6] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_line, Py_None}; - __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_10, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); + __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_10, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1690, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1699, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); } - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1691 + /* "_pydevd_sys_monitoring_cython.pyx":1700 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1688 + /* "_pydevd_sys_monitoring_cython.pyx":1697 * return * * if stop: # <<<<<<<<<<<<<< @@ -24536,7 +27062,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1618 + /* "_pydevd_sys_monitoring_cython.pyx":1627 * return * * elif step_cmd == 128: # <<<<<<<<<<<<<< @@ -24547,7 +27073,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st default: break; } - /* "_pydevd_sys_monitoring_cython.pyx":1494 + /* "_pydevd_sys_monitoring_cython.pyx":1503 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<< @@ -24569,6 +27095,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_thread_info); __Pyx_XDECREF((PyObject *)__pyx_v_info); + + + + + __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_bp); __Pyx_XDECREF(__pyx_v_stop_info); @@ -24580,8 +27111,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_XDECREF(__pyx_v_f); __Pyx_XDECREF(__pyx_v_f2); __Pyx_XDECREF(__pyx_v_back); + __Pyx_XDECREF(__pyx_v_pydev_smart_step_into_variants); __Pyx_XDECREF(__pyx_v_curr_func_name); + __Pyx_XDECREF(__pyx_v_smart_step_into_variant); __Pyx_XDECREF(__pyx_v_children_variants); __Pyx_XGIVEREF(__pyx_r); @@ -24589,7 +27122,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1696 +/* "_pydevd_sys_monitoring_cython.pyx":1705 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<< @@ -24634,7 +27167,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_start_method_event", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1718 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -24650,23 +27183,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1710 + /* "_pydevd_sys_monitoring_cython.pyx":1719 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1710, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1719, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1710, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1719, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1710, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1719, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1718 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -24682,7 +27215,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1711 + /* "_pydevd_sys_monitoring_cython.pyx":1720 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -24691,25 +27224,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._start_method_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1711, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1720, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1712 + /* "_pydevd_sys_monitoring_cython.pyx":1721 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1712, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1721, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1712, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1721, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1713 + /* "_pydevd_sys_monitoring_cython.pyx":1722 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -24719,21 +27252,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1714 + + /* "_pydevd_sys_monitoring_cython.pyx":1723 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * * py_db: object = GlobalDebuggerHolder.global_dbg */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1713 + /* "_pydevd_sys_monitoring_cython.pyx":1722 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -24747,7 +27287,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1718 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -24774,22 +27314,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1716 + /* "_pydevd_sys_monitoring_cython.pyx":1725 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1716, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1716, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1725, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1717 + /* "_pydevd_sys_monitoring_cython.pyx":1726 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -24798,36 +27338,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_9 = (__pyx_v_py_db == Py_None); if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1717, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1726, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1717, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1726, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1718 + + /* "_pydevd_sys_monitoring_cython.pyx":1727 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * * if not thread_info.trace or not thread_info.is_thread_alive(): */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1718, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1727, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1718, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1727, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_6; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1717 + /* "_pydevd_sys_monitoring_cython.pyx":1726 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -24836,7 +27388,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1720 + /* "_pydevd_sys_monitoring_cython.pyx":1729 * return monitor.DISABLE * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -24844,29 +27396,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * # threads may still want it... */ __pyx_t_9 = (!__pyx_v_thread_info->trace); + if (!__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L16_bool_binop_done; } - __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1720, __pyx_L1_error) + __pyx_t_9 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1729, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); + + + __pyx_t_8 = __pyx_t_10; + __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1723 + + /* "_pydevd_sys_monitoring_cython.pyx":1732 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * * frame = _getframe(1) */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1720 + /* "_pydevd_sys_monitoring_cython.pyx":1729 * return monitor.DISABLE * * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<< @@ -24875,7 +27442,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1725 + /* "_pydevd_sys_monitoring_cython.pyx":1734 * return * * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -24884,24 +27451,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_mstate_global->__pyx_int_1; - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1725, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_frame = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1726 + /* "_pydevd_sys_monitoring_cython.pyx":1735 * * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * # if DEBUG: */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1726, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1735, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1727 + /* "_pydevd_sys_monitoring_cython.pyx":1736 * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -24910,24 +27477,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1730 + /* "_pydevd_sys_monitoring_cython.pyx":1739 * # if DEBUG: * # print('disable (always skip)') * return monitor.DISABLE # <<<<<<<<<<<<<< * * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1730, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1730, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1739, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_r = __pyx_t_4; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_4; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1727 + /* "_pydevd_sys_monitoring_cython.pyx":1736 * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -24936,7 +27509,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1732 + /* "_pydevd_sys_monitoring_cython.pyx":1741 * return monitor.DISABLE * * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) # <<<<<<<<<<<<<< @@ -24945,11 +27518,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_4 = ((PyObject *)__pyx_v_thread_info->additional_info); __Pyx_INCREF(__pyx_t_4); - __pyx_t_8 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1732, __pyx_L1_error) + __pyx_t_8 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1741, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_keep_enabled = __pyx_t_8; - /* "_pydevd_sys_monitoring_cython.pyx":1734 + /* "_pydevd_sys_monitoring_cython.pyx":1743 * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) * * if func_code_info.function_breakpoint_found: # <<<<<<<<<<<<<< @@ -24958,7 +27531,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->function_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1735 + /* "_pydevd_sys_monitoring_cython.pyx":1744 * * if func_code_info.function_breakpoint_found: * bp = func_code_info.function_breakpoint # <<<<<<<<<<<<<< @@ -24970,7 +27543,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_bp = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1736 + /* "_pydevd_sys_monitoring_cython.pyx":1745 * if func_code_info.function_breakpoint_found: * bp = func_code_info.function_breakpoint * stop = True # <<<<<<<<<<<<<< @@ -24979,7 +27552,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1737 + /* "_pydevd_sys_monitoring_cython.pyx":1746 * bp = func_code_info.function_breakpoint * stop = True * new_frame = frame # <<<<<<<<<<<<<< @@ -24989,7 +27562,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_INCREF(__pyx_v_frame); __pyx_v_new_frame = __pyx_v_frame; - /* "_pydevd_sys_monitoring_cython.pyx":1738 + /* "_pydevd_sys_monitoring_cython.pyx":1747 * stop = True * new_frame = frame * stop_reason = 208 # <<<<<<<<<<<<<< @@ -24998,7 +27571,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_reason = 0xD0; - /* "_pydevd_sys_monitoring_cython.pyx":1739 + /* "_pydevd_sys_monitoring_cython.pyx":1748 * new_frame = frame * stop_reason = 208 * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -25007,29 +27580,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1741 + /* "_pydevd_sys_monitoring_cython.pyx":1750 * stop_on_plugin_breakpoint = False * * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function") # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_mstate_global->__pyx_kp_u_python_function); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1741, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_mstate_global->__pyx_kp_u_python_function); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1742 + /* "_pydevd_sys_monitoring_cython.pyx":1751 * * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function") * return # <<<<<<<<<<<<<< * * if py_db.plugin: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1734 + /* "_pydevd_sys_monitoring_cython.pyx":1743 * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) * * if func_code_info.function_breakpoint_found: # <<<<<<<<<<<<<< @@ -25038,32 +27617,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1744 + /* "_pydevd_sys_monitoring_cython.pyx":1753 * return * * if py_db.plugin: # <<<<<<<<<<<<<< * plugin_manager = py_db.plugin * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1744, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1753, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1744, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1753, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1745 + + /* "_pydevd_sys_monitoring_cython.pyx":1754 * * if py_db.plugin: * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * * # Check breaking on breakpoints in a 'call' */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1745, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1754, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_plugin_manager = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1748 + /* "_pydevd_sys_monitoring_cython.pyx":1757 * * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -25075,7 +27655,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1749 + /* "_pydevd_sys_monitoring_cython.pyx":1758 * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<< @@ -25084,7 +27664,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->plugin_call_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1750 + /* "_pydevd_sys_monitoring_cython.pyx":1759 * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) # <<<<<<<<<<<<<< @@ -25098,23 +27678,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO PyObject *__pyx_callargs[5] = {__pyx_t_6, __pyx_v_py_db, __pyx_v_frame, __pyx_mstate_global->__pyx_n_u_call_2, ((PyObject *)__pyx_v_info)}; __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get_breakpoint, __pyx_callargs+__pyx_t_12, (5-__pyx_t_12) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1750, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __pyx_v_result = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1751 + /* "_pydevd_sys_monitoring_cython.pyx":1760 * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: # <<<<<<<<<<<<<< * stop_reason = 111 * stop = False */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1751, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1760, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1752 + + /* "_pydevd_sys_monitoring_cython.pyx":1761 * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: * stop_reason = 111 # <<<<<<<<<<<<<< @@ -25123,7 +27704,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_reason = 0x6F; - /* "_pydevd_sys_monitoring_cython.pyx":1753 + /* "_pydevd_sys_monitoring_cython.pyx":1762 * if result: * stop_reason = 111 * stop = False # <<<<<<<<<<<<<< @@ -25132,7 +27713,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1754 + /* "_pydevd_sys_monitoring_cython.pyx":1763 * stop_reason = 111 * stop = False * stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<< @@ -25141,7 +27722,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_on_plugin_breakpoint = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1755 + /* "_pydevd_sys_monitoring_cython.pyx":1764 * stop = False * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result # <<<<<<<<<<<<<< @@ -25154,7 +27735,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1755, __pyx_L1_error) + __PYX_ERR(0, 1764, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -25165,27 +27746,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_5 = PyTuple_GET_ITEM(sequence, 2); __Pyx_INCREF(__pyx_t_5); } else { - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(sequence, 0, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(sequence, 0, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyList_GetItemRefFast(sequence, 1, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyList_GET_ITEM_REF(sequence, 1, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_6); - __pyx_t_5 = __Pyx_PyList_GetItemRefFast(sequence, 2, __Pyx_ReferenceSharing_SharedReference); - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyList_GET_ITEM_REF(sequence, 2, __Pyx_ReferenceSharing_SharedReference); + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_XGOTREF(__pyx_t_5); } #else - __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_4 = __Pyx_PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_6 = __Pyx_PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_5 = __Pyx_PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_13 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); index = 0; __pyx_t_4 = __pyx_t_13(__pyx_t_7); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed; @@ -25194,7 +27775,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_GOTREF(__pyx_t_6); index = 2; __pyx_t_5 = __pyx_t_13(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L23_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1755, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_7), 3) < (0)) __PYX_ERR(0, 1764, __pyx_L1_error) __pyx_t_13 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L24_unpacking_done; @@ -25202,7 +27783,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_13 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1755, __pyx_L1_error) + __PYX_ERR(0, 1764, __pyx_L1_error) __pyx_L24_unpacking_done:; } __pyx_v_bp = __pyx_t_4; @@ -25212,7 +27793,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_bp_type = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1756 + /* "_pydevd_sys_monitoring_cython.pyx":1765 * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) # <<<<<<<<<<<<<< @@ -25221,24 +27802,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_5 = __pyx_v_bp_type; __Pyx_INCREF(__pyx_t_5); - if (!(likely(PyUnicode_CheckExact(__pyx_t_5))||((__pyx_t_5) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_5))) __PYX_ERR(0, 1756, __pyx_L1_error) - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1756, __pyx_L1_error) + if (!(likely(PyUnicode_CheckExact(__pyx_t_5))||((__pyx_t_5) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_5))) __PYX_ERR(0, 1765, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1757 + /* "_pydevd_sys_monitoring_cython.pyx":1766 * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) * return # <<<<<<<<<<<<<< * * keep_enabled = True */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1751 + /* "_pydevd_sys_monitoring_cython.pyx":1760 * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: # <<<<<<<<<<<<<< @@ -25247,7 +27834,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1759 + /* "_pydevd_sys_monitoring_cython.pyx":1768 * return * * keep_enabled = True # <<<<<<<<<<<<<< @@ -25256,7 +27843,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_keep_enabled = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1749 + /* "_pydevd_sys_monitoring_cython.pyx":1758 * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<< @@ -25265,7 +27852,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1762 + /* "_pydevd_sys_monitoring_cython.pyx":1771 * * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -25273,9 +27860,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * _plugin_stepping(py_db, step_cmd, "call", frame, thread_info) */ __pyx_t_14 = __pyx_v_info->pydev_step_cmd; + __pyx_v_step_cmd = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":1763 + /* "_pydevd_sys_monitoring_cython.pyx":1772 * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -25283,52 +27871,64 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * return */ __pyx_t_10 = (__pyx_v_step_cmd != -1L); + if (__pyx_t_10) { + } else { + __pyx_t_8 = __pyx_t_10; + goto __pyx_L26_bool_binop_done; } if (__pyx_v_func_code_info->plugin_call_stepping) { } else { + __pyx_t_8 = __pyx_v_func_code_info->plugin_call_stepping; goto __pyx_L26_bool_binop_done; } - __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyLong_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1772, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYTHON_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1772, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_CompareBoolNe_int_object(__pyx_t_6, __pyx_t_5, Py_NE); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1772, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1763, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_8 = __pyx_t_10; + __pyx_L26_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1764 + + /* "_pydevd_sys_monitoring_cython.pyx":1773 * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: * _plugin_stepping(py_db, step_cmd, "call", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_mstate_global->__pyx_n_u_call_2, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1773, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1765 + /* "_pydevd_sys_monitoring_cython.pyx":1774 * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: * _plugin_stepping(py_db, step_cmd, "call", frame, thread_info) * return # <<<<<<<<<<<<<< * * if keep_enabled or any_thread_stepping(): */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1763 + /* "_pydevd_sys_monitoring_cython.pyx":1772 * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -25337,7 +27937,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1744 + /* "_pydevd_sys_monitoring_cython.pyx":1753 * return * * if py_db.plugin: # <<<<<<<<<<<<<< @@ -25346,7 +27946,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1767 + /* "_pydevd_sys_monitoring_cython.pyx":1776 * return * * if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -25355,26 +27955,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (!__pyx_v_keep_enabled) { } else { + __pyx_t_8 = __pyx_v_keep_enabled; goto __pyx_L30_bool_binop_done; } - __pyx_t_10 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1767, __pyx_L1_error) + __pyx_t_10 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1776, __pyx_L1_error) + __pyx_t_8 = __pyx_t_10; + __pyx_L30_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1768 + + /* "_pydevd_sys_monitoring_cython.pyx":1777 * * if keep_enabled or any_thread_stepping(): * return None # <<<<<<<<<<<<<< * * return monitor.DISABLE */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1767 + /* "_pydevd_sys_monitoring_cython.pyx":1776 * return * * if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -25383,24 +27993,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1770 + /* "_pydevd_sys_monitoring_cython.pyx":1779 * return None * * return monitor.DISABLE # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1770, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1770, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_5; - __pyx_t_5 = 0; + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1779, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_6; + } + __Pyx_XDECREF(__pyx_temp); + } + __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1696 + /* "_pydevd_sys_monitoring_cython.pyx":1705 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<< @@ -25419,9 +28035,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_L0:; __Pyx_XDECREF((PyObject *)__pyx_v_thread_info); __Pyx_XDECREF((PyObject *)__pyx_v_func_code_info); + + + __Pyx_XDECREF((PyObject *)__pyx_v_info); + __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_frame); + __Pyx_XDECREF(__pyx_v_bp); __Pyx_XDECREF(__pyx_v_new_frame); __Pyx_XDECREF(__pyx_v_plugin_manager); @@ -25432,7 +28053,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1775 +/* "_pydevd_sys_monitoring_cython.pyx":1784 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< @@ -25457,22 +28078,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_ensure_monitoring", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1780 + /* "_pydevd_sys_monitoring_cython.pyx":1789 * # ENDIF * # fmt: on * DEBUGGER_ID = monitor.DEBUGGER_ID # <<<<<<<<<<<<<< * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1780, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1780, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_DEBUGGER_ID = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1781 + /* "_pydevd_sys_monitoring_cython.pyx":1790 * # fmt: on * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< @@ -25480,9 +28101,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH * update_monitor_events() */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1781, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1781, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = 1; @@ -25502,15 +28123,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1781, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1781, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_7 = (!__pyx_t_6); + + if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1782 + + /* "_pydevd_sys_monitoring_cython.pyx":1791 * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") # <<<<<<<<<<<<<< @@ -25518,9 +28142,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH * restart_events() */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1782, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_use_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1782, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_use_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_5 = 1; @@ -25540,12 +28164,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1782, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1791, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1783 + /* "_pydevd_sys_monitoring_cython.pyx":1792 * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() # <<<<<<<<<<<<<< @@ -25553,7 +28177,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH * */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_update_monitor_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1783, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_update_monitor_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -25572,12 +28196,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1783, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1792, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1784 + /* "_pydevd_sys_monitoring_cython.pyx":1793 * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() * restart_events() # <<<<<<<<<<<<<< @@ -25585,7 +28209,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH * */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1784, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1793, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -25604,12 +28228,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1784, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1793, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1781 + /* "_pydevd_sys_monitoring_cython.pyx":1790 * # fmt: on * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< @@ -25618,7 +28242,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH */ } - /* "_pydevd_sys_monitoring_cython.pyx":1775 + /* "_pydevd_sys_monitoring_cython.pyx":1784 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< @@ -25667,10 +28291,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10_ensure_monitoring(C const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_ensure_monitoring", 0); - __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -25685,7 +28315,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10_ensure_monitoring(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1789 +/* "_pydevd_sys_monitoring_cython.pyx":1798 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -25694,7 +28324,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10_ensure_monitoring(C */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13start_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -25726,7 +28356,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON } } - /* "_pydevd_sys_monitoring_cython.pyx":1795 + /* "_pydevd_sys_monitoring_cython.pyx":1804 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -25735,22 +28365,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ if (__pyx_v_all_threads) { - /* "_pydevd_sys_monitoring_cython.pyx":1797 + /* "_pydevd_sys_monitoring_cython.pyx":1806 * if all_threads: * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID # <<<<<<<<<<<<<< * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1797, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1806, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1806, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_DEBUGGER_ID = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1798 + /* "_pydevd_sys_monitoring_cython.pyx":1807 * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< @@ -25758,9 +28388,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON * update_monitor_events() */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = 1; @@ -25780,15 +28410,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1798, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_7 = (!__pyx_t_6); + + if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1799 + + /* "_pydevd_sys_monitoring_cython.pyx":1808 * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") # <<<<<<<<<<<<<< @@ -25796,9 +28429,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON * restart_events() */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1799, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1808, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_use_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1799, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_use_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1808, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_5 = 1; @@ -25818,12 +28451,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1808, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1800 + /* "_pydevd_sys_monitoring_cython.pyx":1809 * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() # <<<<<<<<<<<<<< @@ -25831,7 +28464,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON * else: */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_update_monitor_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1800, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_update_monitor_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1809, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -25850,12 +28483,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1800, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1809, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1801 + /* "_pydevd_sys_monitoring_cython.pyx":1810 * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() * restart_events() # <<<<<<<<<<<<<< @@ -25863,7 +28496,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON * try: */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1801, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1810, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_5 = 1; #if CYTHON_UNPACK_METHODS @@ -25882,12 +28515,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1810, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1798 + /* "_pydevd_sys_monitoring_cython.pyx":1807 * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< @@ -25896,7 +28529,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ } - /* "_pydevd_sys_monitoring_cython.pyx":1795 + /* "_pydevd_sys_monitoring_cython.pyx":1804 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -25906,7 +28539,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":1803 + /* "_pydevd_sys_monitoring_cython.pyx":1812 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -25923,23 +28556,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __Pyx_XGOTREF(__pyx_t_10); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1804 + /* "_pydevd_sys_monitoring_cython.pyx":1813 * else: * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * # code=None means we can already get the threading.current_thread. */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1804, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1813, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1804, __pyx_L5_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1813, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1804, __pyx_L5_error) + if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1813, __pyx_L5_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1803 + /* "_pydevd_sys_monitoring_cython.pyx":1812 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -25957,7 +28590,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1805 + /* "_pydevd_sys_monitoring_cython.pyx":1814 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -25966,25 +28599,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.start_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 1805, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 1814, __pyx_L7_except_error) __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":1807 + /* "_pydevd_sys_monitoring_cython.pyx":1816 * except: * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * # print('start monitoring, thread=', None) */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1807, __pyx_L7_except_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1816, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_1); - if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1807, __pyx_L7_except_error) + if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1816, __pyx_L7_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_1)); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1808 + /* "_pydevd_sys_monitoring_cython.pyx":1817 * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -25994,21 +28627,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_7 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1810 + + /* "_pydevd_sys_monitoring_cython.pyx":1819 * if thread_info is None: * # print('start monitoring, thread=', None) * return # <<<<<<<<<<<<<< * # print('start monitoring, thread=', thread_info.thread) * thread_info.trace = True */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L8_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1808 + /* "_pydevd_sys_monitoring_cython.pyx":1817 * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -26022,7 +28662,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON goto __pyx_L6_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1803 + /* "_pydevd_sys_monitoring_cython.pyx":1812 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -26049,7 +28689,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_L10_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1812 + /* "_pydevd_sys_monitoring_cython.pyx":1821 * return * # print('start monitoring, thread=', thread_info.thread) * thread_info.trace = True # <<<<<<<<<<<<<< @@ -26060,7 +28700,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":1789 + /* "_pydevd_sys_monitoring_cython.pyx":1798 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -26088,7 +28728,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13start_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -26096,14 +28736,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_13start_monitoring = {"start_monitoring", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13start_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13start_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { int __pyx_v_all_threads; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -26114,7 +28754,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("start_monitoring (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -26125,37 +28765,37 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_all_threads,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1789, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1798, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1789, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1798, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "start_monitoring", 0) < (0)) __PYX_ERR(0, 1789, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "start_monitoring", 0) < (0)) __PYX_ERR(0, 1798, __pyx_L3_error) } else { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1789, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1798, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } } if (values[0]) { - __pyx_v_all_threads = __Pyx_PyObject_IsTrue(values[0]); if (unlikely((__pyx_v_all_threads == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1789, __pyx_L3_error) + __pyx_v_all_threads = __Pyx_PyObject_IsTrue(values[0]); if (unlikely((__pyx_v_all_threads == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1798, __pyx_L3_error) } else { __pyx_v_all_threads = ((int)0); } } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("start_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1789, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("start_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1798, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -26172,6 +28812,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { Py_XDECREF(values[__pyx_temp]); } + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -26185,12 +28826,18 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12start_monitoring(CYT const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("start_monitoring", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_2.__pyx_n = 1; __pyx_t_2.all_threads = __pyx_v_all_threads; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1789, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1798, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -26205,7 +28852,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12start_monitoring(CYT return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1817 +/* "_pydevd_sys_monitoring_cython.pyx":1826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -26214,7 +28861,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12start_monitoring(CYT */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15stop_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -26246,17 +28893,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ } } - /* "_pydevd_sys_monitoring_cython.pyx":1823 + /* "_pydevd_sys_monitoring_cython.pyx":1832 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_all_threads); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1823, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_all_threads); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1832, __pyx_L1_error) if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1825 + + /* "_pydevd_sys_monitoring_cython.pyx":1834 * if all_threads: * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": # <<<<<<<<<<<<<< @@ -26264,14 +28912,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1825, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1825, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_7 = 1; @@ -26292,14 +28940,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1825, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } - __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_str(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pydevd, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1826 + + /* "_pydevd_sys_monitoring_cython.pyx":1835 * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": * monitor.set_events(monitor.DEBUGGER_ID, 0) # <<<<<<<<<<<<<< @@ -26307,14 +28956,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1826, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_set_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1826, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_set_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1826, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1826, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_7 = 1; @@ -26335,12 +28984,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1835, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1827 + /* "_pydevd_sys_monitoring_cython.pyx":1836 * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": * monitor.set_events(monitor.DEBUGGER_ID, 0) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) # <<<<<<<<<<<<<< @@ -26348,19 +28997,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1827, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1827, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1827, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1827, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1827, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1827, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26382,12 +29031,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1827, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1836, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1828 + /* "_pydevd_sys_monitoring_cython.pyx":1837 * monitor.set_events(monitor.DEBUGGER_ID, 0) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) # <<<<<<<<<<<<<< @@ -26395,19 +29044,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1828, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1828, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1828, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1828, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1828, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1828, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26429,12 +29078,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1828, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1829 + /* "_pydevd_sys_monitoring_cython.pyx":1838 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) # <<<<<<<<<<<<<< @@ -26442,19 +29091,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1829, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26476,12 +29125,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1829, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1830 + /* "_pydevd_sys_monitoring_cython.pyx":1839 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) # <<<<<<<<<<<<<< @@ -26489,19 +29138,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) */ __pyx_t_6 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1830, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1830, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1830, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1830, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1830, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1830, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26523,12 +29172,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1830, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1831 + /* "_pydevd_sys_monitoring_cython.pyx":1840 * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) # <<<<<<<<<<<<<< @@ -26536,19 +29185,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * monitor.free_tool_id(monitor.DEBUGGER_ID) */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1831, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1831, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1831, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26570,12 +29219,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1831, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1840, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1832 + /* "_pydevd_sys_monitoring_cython.pyx":1841 * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) # <<<<<<<<<<<<<< @@ -26583,19 +29232,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * else: */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1832, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1832, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1832, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1832, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1832, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1832, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_7 = 1; @@ -26617,12 +29266,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1832, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1833 + /* "_pydevd_sys_monitoring_cython.pyx":1842 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) * monitor.free_tool_id(monitor.DEBUGGER_ID) # <<<<<<<<<<<<<< @@ -26630,14 +29279,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ * try: */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1833, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_free_tool_id); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1833, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_free_tool_id); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1833, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1833, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_7 = 1; @@ -26658,12 +29307,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1833, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1825 + /* "_pydevd_sys_monitoring_cython.pyx":1834 * if all_threads: * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": # <<<<<<<<<<<<<< @@ -26672,7 +29321,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1823 + /* "_pydevd_sys_monitoring_cython.pyx":1832 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -26682,7 +29331,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":1835 + /* "_pydevd_sys_monitoring_cython.pyx":1844 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -26699,23 +29348,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XGOTREF(__pyx_t_11); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1836 + /* "_pydevd_sys_monitoring_cython.pyx":1845 * else: * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(False, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1836, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1836, __pyx_L5_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_thread_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1845, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1836, __pyx_L5_error) + if (!(likely(((__pyx_t_6) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_6, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1845, __pyx_L5_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1835 + /* "_pydevd_sys_monitoring_cython.pyx":1844 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -26735,7 +29384,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1837 + /* "_pydevd_sys_monitoring_cython.pyx":1846 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -26744,25 +29393,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.stop_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_2, &__pyx_t_5) < 0) __PYX_ERR(0, 1837, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_2, &__pyx_t_5) < 0) __PYX_ERR(0, 1846, __pyx_L7_except_error) __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":1838 + /* "_pydevd_sys_monitoring_cython.pyx":1847 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(False, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1838, __pyx_L7_except_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1847, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_4); - if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1838, __pyx_L7_except_error) + if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1847, __pyx_L7_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_4)); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1839 + /* "_pydevd_sys_monitoring_cython.pyx":1848 * except: * thread_info = _get_thread_info(False, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -26772,21 +29421,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_t_1 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1840 + + /* "_pydevd_sys_monitoring_cython.pyx":1849 * thread_info = _get_thread_info(False, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * # print('stop monitoring, thread=', thread_info.thread) * thread_info.trace = False */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L8_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1839 + /* "_pydevd_sys_monitoring_cython.pyx":1848 * except: * thread_info = _get_thread_info(False, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -26800,7 +29456,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ goto __pyx_L6_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1835 + /* "_pydevd_sys_monitoring_cython.pyx":1844 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -26827,7 +29483,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_L10_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1842 + /* "_pydevd_sys_monitoring_cython.pyx":1851 * return * # print('stop monitoring, thread=', thread_info.thread) * thread_info.trace = False # <<<<<<<<<<<<<< @@ -26838,7 +29494,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":1817 + /* "_pydevd_sys_monitoring_cython.pyx":1826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -26867,7 +29523,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15stop_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -26875,14 +29531,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_15stop_monitoring = {"stop_monitoring", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_15stop_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15stop_monitoring(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_all_threads = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -26893,7 +29549,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("stop_monitoring (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -26904,24 +29560,24 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_all_threads,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1817, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1826, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1817, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1826, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "stop_monitoring", 0) < (0)) __PYX_ERR(0, 1817, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "stop_monitoring", 0) < (0)) __PYX_ERR(0, 1826, __pyx_L3_error) if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_False)); } else { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1817, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1826, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; @@ -26932,7 +29588,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("stop_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1817, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("stop_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1826, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -26962,12 +29618,18 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14stop_monitoring(CYTH const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("stop_monitoring", 0); - __Pyx_XDECREF(__pyx_r); __pyx_t_2.__pyx_n = 1; __pyx_t_2.all_threads = __pyx_v_all_threads; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1817, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_r = __pyx_t_1; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = __pyx_t_1; + } + __Pyx_XDECREF(__pyx_temp); + } __pyx_t_1 = 0; goto __pyx_L0; @@ -26982,7 +29644,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14stop_monitoring(CYTH return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1845 +/* "_pydevd_sys_monitoring_cython.pyx":1854 * * * def update_monitor_events(suspend_requested: Optional[bool]=None) -> None: # <<<<<<<<<<<<<< @@ -26992,7 +29654,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14stop_monitoring(CYTH /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17update_monitor_events(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -27001,14 +29663,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyDoc_STRVAR(__pyx_doc_29_pydevd_sys_monitoring_cython_16update_monitor_events, "\n This should be called when breakpoints change.\n\n :param suspend: means the user requested threads to be suspended\n "); static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_17update_monitor_events = {"update_monitor_events", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_17update_monitor_events, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_29_pydevd_sys_monitoring_cython_16update_monitor_events}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17update_monitor_events(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ) { PyObject *__pyx_v_suspend_requested = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -27019,7 +29681,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("update_monitor_events (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -27030,24 +29692,24 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_suspend_requested,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1845, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1854, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1845, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1854, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "update_monitor_events", 0) < (0)) __PYX_ERR(0, 1845, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "update_monitor_events", 0) < (0)) __PYX_ERR(0, 1854, __pyx_L3_error) if (!values[0]) values[0] = __Pyx_NewRef(((PyObject*)Py_None)); } else { switch (__pyx_nargs) { case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1845, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1854, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; @@ -27058,7 +29720,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("update_monitor_events", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1845, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("update_monitor_events", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1854, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -27069,7 +29731,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_suspend_requested), (&PyBool_Type), 1, "suspend_requested", 2))) __PYX_ERR(0, 1845, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_suspend_requested), (&PyBool_Type), 1, "suspend_requested", 2))) __PYX_ERR(0, 1854, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_events(__pyx_self, __pyx_v_suspend_requested); /* function exit code */ @@ -27124,7 +29786,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_RefNannySetupContext("update_monitor_events", 0); __Pyx_INCREF(__pyx_v_suspend_requested); - /* "_pydevd_sys_monitoring_cython.pyx":1851 + /* "_pydevd_sys_monitoring_cython.pyx":1860 * :param suspend: means the user requested threads to be suspended * """ * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": # <<<<<<<<<<<<<< @@ -27132,14 +29794,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * return */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1851, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1851, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1851, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1851, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -27160,25 +29822,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1851, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } - __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pydevd, Py_NE)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1851, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_CompareBoolNe_object_str(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_pydevd, Py_NE); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1853 + + /* "_pydevd_sys_monitoring_cython.pyx":1862 * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": * # It is still not initialized. * return # <<<<<<<<<<<<<< * * # When breakpoints change we need to update what we want to track based */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1851 + /* "_pydevd_sys_monitoring_cython.pyx":1860 * :param suspend: means the user requested threads to be suspended * """ * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": # <<<<<<<<<<<<<< @@ -27187,22 +29856,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1857 + /* "_pydevd_sys_monitoring_cython.pyx":1866 * # When breakpoints change we need to update what we want to track based * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1866, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1857, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1866, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1858 + /* "_pydevd_sys_monitoring_cython.pyx":1867 * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -27212,18 +29881,25 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_7 = (__pyx_v_py_db == Py_None); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1859 + + /* "_pydevd_sys_monitoring_cython.pyx":1868 * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: * return # <<<<<<<<<<<<<< * * if suspend_requested is None: */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1858 + /* "_pydevd_sys_monitoring_cython.pyx":1867 * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -27232,7 +29908,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1861 + /* "_pydevd_sys_monitoring_cython.pyx":1870 * return * * if suspend_requested is None: # <<<<<<<<<<<<<< @@ -27242,7 +29918,8 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_7 = (__pyx_v_suspend_requested == ((PyObject*)Py_None)); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1862 + + /* "_pydevd_sys_monitoring_cython.pyx":1871 * * if suspend_requested is None: * suspend_requested = False # <<<<<<<<<<<<<< @@ -27252,7 +29929,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_INCREF(Py_False); __Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_False); - /* "_pydevd_sys_monitoring_cython.pyx":1864 + /* "_pydevd_sys_monitoring_cython.pyx":1873 * suspend_requested = False * * for t in threading.enumerate(): # <<<<<<<<<<<<<< @@ -27260,9 +29937,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * continue */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1864, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_threading); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_enumerate); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1864, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_enumerate); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_6 = 1; @@ -27282,7 +29959,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1864, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } if (likely(PyList_CheckExact(__pyx_t_4)) || PyTuple_CheckExact(__pyx_t_4)) { @@ -27290,9 +29967,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_8 = 0; __pyx_t_9 = NULL; } else { - __pyx_t_8 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1864, __pyx_L1_error) + __pyx_t_8 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1873, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_9 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1864, __pyx_L1_error) + __pyx_t_9 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1873, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; for (;;) { @@ -27301,17 +29978,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1864, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1873, __pyx_L1_error) #endif if (__pyx_t_8 >= __pyx_temp) break; } - __pyx_t_4 = __Pyx_PyList_GetItemRefFast(__pyx_t_2, __pyx_t_8, __Pyx_ReferenceSharing_OwnStrongReference); + __pyx_t_4 = __Pyx_PyList_GET_ITEM_REF(__pyx_t_2, __pyx_t_8, __Pyx_ReferenceSharing_OwnStrongReference); ++__pyx_t_8; } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1864, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1873, __pyx_L1_error) #endif if (__pyx_t_8 >= __pyx_temp) break; } @@ -27322,13 +29999,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event #endif ++__pyx_t_8; } - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1864, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1873, __pyx_L1_error) } else { __pyx_t_4 = __pyx_t_9(__pyx_t_2); if (unlikely(!__pyx_t_4)) { PyObject* exc_type = PyErr_Occurred(); if (exc_type) { - if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 1864, __pyx_L1_error) + if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 1873, __pyx_L1_error) PyErr_Clear(); } break; @@ -27338,20 +30015,21 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1865 + /* "_pydevd_sys_monitoring_cython.pyx":1874 * * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): # <<<<<<<<<<<<<< * continue * try: */ - __pyx_t_4 = __Pyx_GetAttr3(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_pydev_do_not_trace, Py_False); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1865, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetAttr3(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_pydev_do_not_trace, Py_False); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1874, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1865, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1874, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1866 + + /* "_pydevd_sys_monitoring_cython.pyx":1875 * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): * continue # <<<<<<<<<<<<<< @@ -27360,7 +30038,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ goto __pyx_L6_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1865 + /* "_pydevd_sys_monitoring_cython.pyx":1874 * * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): # <<<<<<<<<<<<<< @@ -27369,7 +30047,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1867 + /* "_pydevd_sys_monitoring_cython.pyx":1876 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -27385,19 +30063,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_XGOTREF(__pyx_t_12); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1868 + /* "_pydevd_sys_monitoring_cython.pyx":1877 * continue * try: * additional_info = t.additional_info # <<<<<<<<<<<<<< * if additional_info is None: * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1868, __pyx_L9_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_mstate_global->__pyx_n_u_additional_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1877, __pyx_L9_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1869 + /* "_pydevd_sys_monitoring_cython.pyx":1878 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -27407,7 +30085,8 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_7 = (__pyx_v_additional_info == Py_None); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1871 + + /* "_pydevd_sys_monitoring_cython.pyx":1880 * if additional_info is None: * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping * continue # <<<<<<<<<<<<<< @@ -27416,7 +30095,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ goto __pyx_L15_try_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1869 + /* "_pydevd_sys_monitoring_cython.pyx":1878 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -27425,7 +30104,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1867 + /* "_pydevd_sys_monitoring_cython.pyx":1876 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -27443,7 +30122,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1872 + /* "_pydevd_sys_monitoring_cython.pyx":1881 * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping * continue * except AttributeError: # <<<<<<<<<<<<<< @@ -27453,12 +30132,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_t_13 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_AttributeError)))); if (__pyx_t_13) { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.update_monitor_events", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_5) < 0) __PYX_ERR(0, 1872, __pyx_L11_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_5) < 0) __PYX_ERR(0, 1881, __pyx_L11_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":1873 + /* "_pydevd_sys_monitoring_cython.pyx":1882 * continue * except AttributeError: * continue # <<<<<<<<<<<<<< @@ -27474,7 +30153,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event } goto __pyx_L11_except_error; - /* "_pydevd_sys_monitoring_cython.pyx":1867 + /* "_pydevd_sys_monitoring_cython.pyx":1876 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -27496,31 +30175,37 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_L16_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1874 + /* "_pydevd_sys_monitoring_cython.pyx":1883 * except AttributeError: * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: # <<<<<<<<<<<<<< * suspend_requested = True * break */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_pydev_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1874, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_pydev_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_14 = (__Pyx_PyLong_BoolNeObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_neg_1, -1L, 0)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1874, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PyLong_BoolNeObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_neg_1, -1L, 0)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1883, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_14) { + } else { + __pyx_t_7 = __pyx_t_14; + goto __pyx_L21_bool_binop_done; } - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_pydev_state); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1874, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_mstate_global->__pyx_n_u_pydev_state); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1883, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_14 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_2, 2, 0)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1874, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PyLong_BoolEqObjC(__pyx_t_5, __pyx_mstate_global->__pyx_int_2, 2, 0)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1883, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_7 = __pyx_t_14; + __pyx_L21_bool_binop_done:; if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1875 + + /* "_pydevd_sys_monitoring_cython.pyx":1884 * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: * suspend_requested = True # <<<<<<<<<<<<<< @@ -27530,7 +30215,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1876 + /* "_pydevd_sys_monitoring_cython.pyx":1885 * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: * suspend_requested = True * break # <<<<<<<<<<<<<< @@ -27539,7 +30224,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ goto __pyx_L7_break; - /* "_pydevd_sys_monitoring_cython.pyx":1874 + /* "_pydevd_sys_monitoring_cython.pyx":1883 * except AttributeError: * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: # <<<<<<<<<<<<<< @@ -27548,7 +30233,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1864 + /* "_pydevd_sys_monitoring_cython.pyx":1873 * suspend_requested = False * * for t in threading.enumerate(): # <<<<<<<<<<<<<< @@ -27564,7 +30249,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event goto __pyx_L23_for_end; __pyx_L23_for_end:; - /* "_pydevd_sys_monitoring_cython.pyx":1861 + /* "_pydevd_sys_monitoring_cython.pyx":1870 * return * * if suspend_requested is None: # <<<<<<<<<<<<<< @@ -27573,7 +30258,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1878 + /* "_pydevd_sys_monitoring_cython.pyx":1887 * break * * required_events = 0 # <<<<<<<<<<<<<< @@ -27583,16 +30268,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0); __pyx_v_required_events = __pyx_mstate_global->__pyx_int_0; - /* "_pydevd_sys_monitoring_cython.pyx":1881 + /* "_pydevd_sys_monitoring_cython.pyx":1890 * * has_caught_exception_breakpoint_in_pydb = ( * py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks # <<<<<<<<<<<<<< * ) * */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1881, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_caught_exceptions); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1881, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1890, __pyx_L1_error) if (!__pyx_t_7) { __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else { @@ -27601,9 +30286,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; goto __pyx_L24_bool_binop_done; } - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1881, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1881, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1890, __pyx_L1_error) if (!__pyx_t_7) { __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } else { @@ -27612,7 +30297,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; goto __pyx_L24_bool_binop_done; } - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1881, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_exception_breaks); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(__pyx_t_5); __pyx_t_2 = __pyx_t_5; @@ -27621,62 +30306,63 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __pyx_v_has_caught_exception_breakpoint_in_pydb = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1884 + /* "_pydevd_sys_monitoring_cython.pyx":1893 * ) * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions # <<<<<<<<<<<<<< * * if has_caught_exception_breakpoint_in_pydb: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1884, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1893, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_break_on_uncaught_exceptions = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1886 + /* "_pydevd_sys_monitoring_cython.pyx":1895 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND * # print('track RAISE') */ - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1886, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1895, __pyx_L1_error) if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1887 + + /* "_pydevd_sys_monitoring_cython.pyx":1896 * * if has_caught_exception_breakpoint_in_pydb: * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND # <<<<<<<<<<<<<< * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1887, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1887, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyNumber_Or(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyNumber_Or_object_object(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1887, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyNumber_InPlaceOr_int_object(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1896, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1889 + /* "_pydevd_sys_monitoring_cython.pyx":1898 * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) # <<<<<<<<<<<<<< @@ -27684,22 +30370,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * else: */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1889, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1889, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1889, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __pyx_t_15 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__raise_event); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1889, __pyx_L1_error) + __pyx_t_15 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__raise_event); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -27721,12 +30407,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1889, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1898, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1890 + /* "_pydevd_sys_monitoring_cython.pyx":1899 * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) # <<<<<<<<<<<<<< @@ -27734,22 +30420,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * if break_on_uncaught_exceptions: */ __pyx_t_4 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1890, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1890, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1890, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1890, __pyx_L1_error) + __pyx_t_1 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -27771,12 +30457,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1890, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1899, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1886 + /* "_pydevd_sys_monitoring_cython.pyx":1895 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< @@ -27786,7 +30472,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event goto __pyx_L27; } - /* "_pydevd_sys_monitoring_cython.pyx":1892 + /* "_pydevd_sys_monitoring_cython.pyx":1901 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< @@ -27794,31 +30480,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) */ /*else*/ { - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1892, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1901, __pyx_L1_error) if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1893 + + /* "_pydevd_sys_monitoring_cython.pyx":1902 * else: * if break_on_uncaught_exceptions: * required_events |= monitor.events.PY_UNWIND # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1893, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1902, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1893, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1902, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1893, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1902, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1893, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyNumber_InPlaceOr_int_object(__pyx_v_required_events, __pyx_t_5); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1902, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1894 + /* "_pydevd_sys_monitoring_cython.pyx":1903 * if break_on_uncaught_exceptions: * required_events |= monitor.events.PY_UNWIND * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) # <<<<<<<<<<<<<< @@ -27826,22 +30513,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1894, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1894, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1894, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1894, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1894, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1894, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1894, __pyx_L1_error) + __pyx_t_4 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -27863,12 +30550,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1894, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1903, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1892 + /* "_pydevd_sys_monitoring_cython.pyx":1901 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< @@ -27878,7 +30565,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event goto __pyx_L28; } - /* "_pydevd_sys_monitoring_cython.pyx":1896 + /* "_pydevd_sys_monitoring_cython.pyx":1905 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) # <<<<<<<<<<<<<< @@ -27887,19 +30574,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ /*else*/ { __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1896, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1896, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1896, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1896, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1896, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1896, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_RAISE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_6 = 1; @@ -27921,12 +30608,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1896, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1905, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1897 + /* "_pydevd_sys_monitoring_cython.pyx":1906 * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, None) # <<<<<<<<<<<<<< @@ -27934,19 +30621,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * has_breaks = py_db.has_plugin_line_breaks */ __pyx_t_15 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1897, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1897, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1897, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1897, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1897, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1897, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_6 = 1; @@ -27968,7 +30655,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1897, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1906, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -27977,43 +30664,47 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event } __pyx_L27:; - /* "_pydevd_sys_monitoring_cython.pyx":1899 + /* "_pydevd_sys_monitoring_cython.pyx":1908 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, None) * * has_breaks = py_db.has_plugin_line_breaks # <<<<<<<<<<<<<< * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1899, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_has_plugin_line_breaks); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1908, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_has_breaks = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1900 + /* "_pydevd_sys_monitoring_cython.pyx":1909 * * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: # <<<<<<<<<<<<<< * if py_db.function_breakpoint_name_to_breakpoint: * has_breaks = True */ - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1900, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1909, __pyx_L1_error) __pyx_t_14 = (!__pyx_t_7); + + if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":1901 + + /* "_pydevd_sys_monitoring_cython.pyx":1910 * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: # <<<<<<<<<<<<<< * has_breaks = True * else: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1901, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1910, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1901, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1910, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":1902 + + /* "_pydevd_sys_monitoring_cython.pyx":1911 * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: * has_breaks = True # <<<<<<<<<<<<<< @@ -28023,7 +30714,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1901 + /* "_pydevd_sys_monitoring_cython.pyx":1910 * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: # <<<<<<<<<<<<<< @@ -28033,7 +30724,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event goto __pyx_L30; } - /* "_pydevd_sys_monitoring_cython.pyx":1904 + /* "_pydevd_sys_monitoring_cython.pyx":1913 * has_breaks = True * else: * file_to_line_to_breakpoints = py_db.breakpoints # <<<<<<<<<<<<<< @@ -28041,12 +30732,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * if line_to_breakpoints: */ /*else*/ { - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1904, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_mstate_global->__pyx_n_u_breakpoints); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1913, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_file_to_line_to_breakpoints = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1905 + /* "_pydevd_sys_monitoring_cython.pyx":1914 * else: * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): # <<<<<<<<<<<<<< @@ -28055,10 +30746,10 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ __pyx_t_8 = 0; if (unlikely(__pyx_v_file_to_line_to_breakpoints == Py_None)) { - PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); - __PYX_ERR(0, 1905, __pyx_L1_error) + PyErr_Format(PyExc_AttributeError, "\047NoneType\047 object has no attribute \047%.30s\047", "values"); + __PYX_ERR(0, 1914, __pyx_L1_error) } - __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_file_to_line_to_breakpoints, 0, __pyx_mstate_global->__pyx_n_u_values, (&__pyx_t_16), (&__pyx_t_13)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1905, __pyx_L1_error) + __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_file_to_line_to_breakpoints, 0, __pyx_mstate_global->__pyx_n_u_values, (&__pyx_t_16), (&__pyx_t_13)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1914, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = __pyx_t_4; @@ -28066,22 +30757,23 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event while (1) { __pyx_t_17 = __Pyx_dict_iter_next(__pyx_t_3, __pyx_t_16, &__pyx_t_8, NULL, &__pyx_t_4, NULL, __pyx_t_13); if (unlikely(__pyx_t_17 == 0)) break; - if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 1905, __pyx_L1_error) + if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 1914, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF_SET(__pyx_v_line_to_breakpoints, __pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1906 + /* "_pydevd_sys_monitoring_cython.pyx":1915 * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: # <<<<<<<<<<<<<< * has_breaks = True * break */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_breakpoints); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1906, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_breakpoints); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1915, __pyx_L1_error) if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":1907 + + /* "_pydevd_sys_monitoring_cython.pyx":1916 * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: * has_breaks = True # <<<<<<<<<<<<<< @@ -28091,7 +30783,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1908 + /* "_pydevd_sys_monitoring_cython.pyx":1917 * if line_to_breakpoints: * has_breaks = True * break # <<<<<<<<<<<<<< @@ -28100,7 +30792,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ goto __pyx_L32_break; - /* "_pydevd_sys_monitoring_cython.pyx":1906 + /* "_pydevd_sys_monitoring_cython.pyx":1915 * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: # <<<<<<<<<<<<<< @@ -28114,7 +30806,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event } __pyx_L30:; - /* "_pydevd_sys_monitoring_cython.pyx":1900 + /* "_pydevd_sys_monitoring_cython.pyx":1909 * * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: # <<<<<<<<<<<<<< @@ -28123,58 +30815,64 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1910 + /* "_pydevd_sys_monitoring_cython.pyx":1919 * break * * if has_breaks or suspend_requested: # <<<<<<<<<<<<<< * # print('track PY_START|PY_RESUME, suspend_requested=', suspend_requested) * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME */ - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1910, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1919, __pyx_L1_error) if (!__pyx_t_7) { + } else { + __pyx_t_14 = __pyx_t_7; + goto __pyx_L35_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_suspend_requested); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1910, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_suspend_requested); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1919, __pyx_L1_error) + __pyx_t_14 = __pyx_t_7; + __pyx_L35_bool_binop_done:; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":1912 + + /* "_pydevd_sys_monitoring_cython.pyx":1921 * if has_breaks or suspend_requested: * # print('track PY_START|PY_RESUME, suspend_requested=', suspend_requested) * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME # <<<<<<<<<<<<<< * * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1912, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1912, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyNumber_Or(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyNumber_Or_object_object(__pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1912, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyNumber_InPlaceOr_object_object(__pyx_v_required_events, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1921, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1914 + /* "_pydevd_sys_monitoring_cython.pyx":1923 * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME * * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) # <<<<<<<<<<<<<< @@ -28182,22 +30880,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1914, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1914, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1914, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1914, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1914, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1914, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1914, __pyx_L1_error) + __pyx_t_5 = __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -28219,12 +30917,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1914, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1923, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1916 + /* "_pydevd_sys_monitoring_cython.pyx":1925 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) # <<<<<<<<<<<<<< @@ -28232,22 +30930,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1916, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1916, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1916, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1916, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1916, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1916, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_f_29_pydevd_sys_monitoring_cython__line_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1916, __pyx_L1_error) + __pyx_t_2 = __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_f_29_pydevd_sys_monitoring_cython__line_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -28269,26 +30967,29 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1916, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1925, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1917 + /* "_pydevd_sys_monitoring_cython.pyx":1926 * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) * if not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<< * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every * # jump location. */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1917, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1917, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_7 = (!__pyx_t_14); + + if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":1920 + + /* "_pydevd_sys_monitoring_cython.pyx":1929 * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every * # jump location. * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event) # <<<<<<<<<<<<<< @@ -28296,22 +30997,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * */ __pyx_t_15 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1920, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1920, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1920, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1920, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1920, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1920, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_f_29_pydevd_sys_monitoring_cython__jump_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1920, __pyx_L1_error) + __pyx_t_1 = __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_f_29_pydevd_sys_monitoring_cython__jump_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -28333,12 +31034,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1920, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1917 + /* "_pydevd_sys_monitoring_cython.pyx":1926 * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) * if not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<< @@ -28347,7 +31048,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1921 + /* "_pydevd_sys_monitoring_cython.pyx":1930 * # jump location. * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event) # <<<<<<<<<<<<<< @@ -28355,22 +31056,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * else: */ __pyx_t_3 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1921, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1921, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1921, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1921, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1921, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1921, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __pyx_t_15 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_f_29_pydevd_sys_monitoring_cython__return_event); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1921, __pyx_L1_error) + __pyx_t_15 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_f_29_pydevd_sys_monitoring_cython__return_event); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -28392,12 +31093,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1921, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1930, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1910 + /* "_pydevd_sys_monitoring_cython.pyx":1919 * break * * if has_breaks or suspend_requested: # <<<<<<<<<<<<<< @@ -28407,7 +31108,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event goto __pyx_L34; } - /* "_pydevd_sys_monitoring_cython.pyx":1924 + /* "_pydevd_sys_monitoring_cython.pyx":1933 * * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) # <<<<<<<<<<<<<< @@ -28416,19 +31117,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event */ /*else*/ { __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1924, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1924, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1924, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1924, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1924, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1924, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_START); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -28450,12 +31151,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1924, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1933, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1925 + /* "_pydevd_sys_monitoring_cython.pyx":1934 * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) # <<<<<<<<<<<<<< @@ -28463,19 +31164,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1925, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1925, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1925, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1925, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1925, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1925, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_RESUME); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -28497,12 +31198,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1925, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1926 + /* "_pydevd_sys_monitoring_cython.pyx":1935 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) # <<<<<<<<<<<<<< @@ -28510,19 +31211,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) */ __pyx_t_15 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1926, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1926, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1926, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_LINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -28544,12 +31245,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1926, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1935, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1927 + /* "_pydevd_sys_monitoring_cython.pyx":1936 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) # <<<<<<<<<<<<<< @@ -28557,19 +31258,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * */ __pyx_t_1 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1927, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1927, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1927, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1927, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1927, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1927, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_JUMP); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -28591,12 +31292,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1927, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1936, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1928 + /* "_pydevd_sys_monitoring_cython.pyx":1937 * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) # <<<<<<<<<<<<<< @@ -28604,19 +31305,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * monitor.set_events(DEBUGGER_ID, required_events) */ __pyx_t_5 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1928, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1928, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1928, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1928, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1928, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1928, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PY_RETURN); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = 1; @@ -28638,14 +31339,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1928, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1937, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __pyx_L34:; - /* "_pydevd_sys_monitoring_cython.pyx":1930 + /* "_pydevd_sys_monitoring_cython.pyx":1939 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * * monitor.set_events(DEBUGGER_ID, required_events) # <<<<<<<<<<<<<< @@ -28653,12 +31354,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1930, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_set_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1930, __pyx_L1_error) + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_set_events); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_15); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1930, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = 1; #if CYTHON_UNPACK_METHODS @@ -28678,12 +31379,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1930, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1939, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1845 + /* "_pydevd_sys_monitoring_cython.pyx":1854 * * * def update_monitor_events(suspend_requested: Optional[bool]=None) -> None: # <<<<<<<<<<<<<< @@ -28719,7 +31420,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16update_monitor_event return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1933 +/* "_pydevd_sys_monitoring_cython.pyx":1942 * * * def restart_events() -> None: # <<<<<<<<<<<<<< @@ -28756,7 +31457,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18restart_events(CYTHO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("restart_events", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1937 + /* "_pydevd_sys_monitoring_cython.pyx":1946 * # called first, then the line event tracing must be set for existing frames * # and then this function must be called at the end. * monitor.restart_events() # <<<<<<<<<<<<<< @@ -28764,9 +31465,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18restart_events(CYTHO * */ __pyx_t_2 = NULL; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1937, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1937, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_restart_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = 1; @@ -28786,12 +31487,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18restart_events(CYTHO __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1937, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1946, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1933 + /* "_pydevd_sys_monitoring_cython.pyx":1942 * * * def restart_events() -> None: # <<<<<<<<<<<<<< @@ -28815,7 +31516,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18restart_events(CYTHO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1942 +/* "_pydevd_sys_monitoring_cython.pyx":1951 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<< @@ -28837,7 +31538,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_is_same_frame", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1947 + /* "_pydevd_sys_monitoring_cython.pyx":1956 * # ENDIF * # fmt: on * if target_frame is current_frame: # <<<<<<<<<<<<<< @@ -28847,19 +31548,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_t_1 = (__pyx_v_target_frame == __pyx_v_current_frame); if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1948 + + /* "_pydevd_sys_monitoring_cython.pyx":1957 * # fmt: on * if target_frame is current_frame: * return True # <<<<<<<<<<<<<< * * if info.pydev_use_scoped_step_frame: */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1947 + /* "_pydevd_sys_monitoring_cython.pyx":1956 * # ENDIF * # fmt: on * if target_frame is current_frame: # <<<<<<<<<<<<<< @@ -28868,7 +31576,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1950 + /* "_pydevd_sys_monitoring_cython.pyx":1959 * return True * * if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -28877,7 +31585,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ if (__pyx_v_info->pydev_use_scoped_step_frame) { - /* "_pydevd_sys_monitoring_cython.pyx":1953 + /* "_pydevd_sys_monitoring_cython.pyx":1962 * # If using scoped step we don't check the target, we just need to check * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: # <<<<<<<<<<<<<< @@ -28886,52 +31594,57 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ __pyx_t_2 = (__pyx_v_target_frame != Py_None); if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L6_bool_binop_done; } __pyx_t_2 = (__pyx_v_current_frame != Py_None); + __pyx_t_1 = __pyx_t_2; + __pyx_L6_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1954 + + /* "_pydevd_sys_monitoring_cython.pyx":1963 * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: * if target_frame.f_code.co_filename == current_frame.f_code.co_filename: # <<<<<<<<<<<<<< * # The co_name may be different (it may include the line number), but * # the filename must still be the same. */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_target_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1954, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_target_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1954, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1954, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1954, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1954, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1963, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1954, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1957 + + /* "_pydevd_sys_monitoring_cython.pyx":1966 * # The co_name may be different (it may include the line number), but * # the filename must still be the same. * f = current_frame.f_back # <<<<<<<<<<<<<< * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1957, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_v_f = __pyx_t_3; - __pyx_t_3 = 0; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1966, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_f = __pyx_t_5; + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1958 + /* "_pydevd_sys_monitoring_cython.pyx":1967 * # the filename must still be the same. * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -28940,42 +31653,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ __pyx_t_2 = (__pyx_v_f != Py_None); if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L10_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1958, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1958, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1967, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1958, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_t_3, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1958, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1967, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1958, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1967, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_3 = __Pyx_GetItemInt(__pyx_t_5, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1967, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_2 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_3, Py_EQ); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1967, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1958, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = __pyx_t_2; + __pyx_L10_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1959 + + /* "_pydevd_sys_monitoring_cython.pyx":1968 * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back # <<<<<<<<<<<<<< * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * return True */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1959, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1968, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1960 + /* "_pydevd_sys_monitoring_cython.pyx":1969 * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -28984,42 +31701,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ __pyx_t_2 = (__pyx_v_f != Py_None); if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L13_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1960, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_mstate_global->__pyx_n_u_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1960, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1960, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_3, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1960, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_3, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1969, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1960, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_CompareBoolEq_object_object(__pyx_t_4, __pyx_t_5, Py_EQ); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1969, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1960, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_1 = __pyx_t_2; + __pyx_L13_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1961 + + /* "_pydevd_sys_monitoring_cython.pyx":1970 * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * return True # <<<<<<<<<<<<<< * * return False */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_True); - __pyx_r = Py_True; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_True); + __pyx_r = Py_True; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1960 + /* "_pydevd_sys_monitoring_cython.pyx":1969 * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -29028,7 +31755,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1958 + /* "_pydevd_sys_monitoring_cython.pyx":1967 * # the filename must still be the same. * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -29037,7 +31764,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1954 + /* "_pydevd_sys_monitoring_cython.pyx":1963 * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: * if target_frame.f_code.co_filename == current_frame.f_code.co_filename: # <<<<<<<<<<<<<< @@ -29046,7 +31773,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1953 + /* "_pydevd_sys_monitoring_cython.pyx":1962 * # If using scoped step we don't check the target, we just need to check * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: # <<<<<<<<<<<<<< @@ -29055,7 +31782,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1950 + /* "_pydevd_sys_monitoring_cython.pyx":1959 * return True * * if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -29064,19 +31791,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1963 + /* "_pydevd_sys_monitoring_cython.pyx":1972 * return True * * return False # <<<<<<<<<<<<<< * * */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(Py_False); - __pyx_r = Py_False; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(Py_False); + __pyx_r = Py_False; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1942 + /* "_pydevd_sys_monitoring_cython.pyx":1951 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<< @@ -29098,7 +31831,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1968 +/* "_pydevd_sys_monitoring_cython.pyx":1977 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< @@ -29108,7 +31841,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21_do_wait_suspend(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29116,7 +31849,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_21_do_wait_suspend = {"_do_wait_suspend", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_21_do_wait_suspend, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21_do_wait_suspend(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29127,7 +31860,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_frame = 0; PyObject *__pyx_v_event = 0; PyObject *__pyx_v_arg = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -29138,7 +31871,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("_do_wait_suspend (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29149,50 +31882,50 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_py_db,&__pyx_mstate_global->__pyx_n_u_thread_info,&__pyx_mstate_global->__pyx_n_u_frame,&__pyx_mstate_global->__pyx_n_u_event,&__pyx_mstate_global->__pyx_n_u_arg,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1968, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(0, 1977, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 5: values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1977, __pyx_L3_error) CYTHON_FALLTHROUGH; case 4: values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1977, __pyx_L3_error) CYTHON_FALLTHROUGH; case 3: values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1977, __pyx_L3_error) CYTHON_FALLTHROUGH; case 2: values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1977, __pyx_L3_error) CYTHON_FALLTHROUGH; case 1: values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1977, __pyx_L3_error) CYTHON_FALLTHROUGH; case 0: break; default: goto __pyx_L5_argtuple_error; } const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_do_wait_suspend", 0) < (0)) __PYX_ERR(0, 1968, __pyx_L3_error) + if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_do_wait_suspend", 0) < (0)) __PYX_ERR(0, 1977, __pyx_L3_error) for (Py_ssize_t i = __pyx_nargs; i < 5; i++) { - if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, i); __PYX_ERR(0, 1968, __pyx_L3_error) } + if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, i); __PYX_ERR(0, 1977, __pyx_L3_error) } } } else if (unlikely(__pyx_nargs != 5)) { goto __pyx_L5_argtuple_error; } else { values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1977, __pyx_L3_error) values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1977, __pyx_L3_error) values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1977, __pyx_L3_error) values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1977, __pyx_L3_error) values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4); - if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1968, __pyx_L3_error) + if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1977, __pyx_L3_error) } __pyx_v_py_db = values[0]; __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)values[1]); @@ -29202,7 +31935,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 1968, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 1977, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -29213,7 +31946,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thread_info), __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, 1, "thread_info", 0))) __PYX_ERR(0, 1968, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thread_info), __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, 1, "thread_info", 0))) __PYX_ERR(0, 1977, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_20_do_wait_suspend(__pyx_self, __pyx_v_py_db, __pyx_v_thread_info, __pyx_v_frame, __pyx_v_event, __pyx_v_arg); /* function exit code */ @@ -29244,7 +31977,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20_do_wait_suspend(CYT int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_do_wait_suspend", 0); - /* "_pydevd_sys_monitoring_cython.pyx":1973 + /* "_pydevd_sys_monitoring_cython.pyx":1982 * # ENDIF * # fmt: on * thread_info.additional_info.trace_suspend_type = "sys_monitor" # <<<<<<<<<<<<<< @@ -29254,10 +31987,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20_do_wait_suspend(CYT __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_sys_monitor); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_sys_monitor); __Pyx_GOTREF(__pyx_v_thread_info->additional_info->trace_suspend_type); - __Pyx_DECREF(__pyx_v_thread_info->additional_info->trace_suspend_type); - __pyx_v_thread_info->additional_info->trace_suspend_type = __pyx_mstate_global->__pyx_n_u_sys_monitor; + __Pyx_DECREF_SET(__pyx_v_thread_info->additional_info->trace_suspend_type, __pyx_mstate_global->__pyx_n_u_sys_monitor); - /* "_pydevd_sys_monitoring_cython.pyx":1974 + /* "_pydevd_sys_monitoring_cython.pyx":1983 * # fmt: on * thread_info.additional_info.trace_suspend_type = "sys_monitor" * py_db.do_wait_suspend(thread_info.thread, frame, event, arg) # <<<<<<<<<<<<<< @@ -29271,12 +32003,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20_do_wait_suspend(CYT PyObject *__pyx_callargs[5] = {__pyx_t_2, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_do_wait_suspend_2, __pyx_callargs+__pyx_t_3, (5-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1974, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1983, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1968 + /* "_pydevd_sys_monitoring_cython.pyx":1977 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< @@ -29308,7 +32040,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20_do_wait_suspend(CYT /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29316,7 +32048,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_ThreadInfo = {"__pyx_unpickle_ThreadInfo", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_ThreadInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29325,7 +32057,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -29336,7 +32068,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_ThreadInfo (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29347,7 +32079,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -29413,6 +32145,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -29440,6 +32173,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_Threa */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x006f6da, 0xef211db, 0xa818889, __pyx_k_use_is_stopped__use_on_thread_h); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x006f6da, 0xef211db, 0xa818889, b'_use_is_stopped, _use_on_thread_handle, additional_info, thread, thread_ident, trace') @@ -29470,6 +32204,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_Threa __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = ThreadInfo.__new__(__pyx_type) * if __pyx_state is not None: @@ -29478,7 +32213,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_Threa * cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(1, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 9, __pyx_L1_error) @@ -29501,9 +32236,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_Threa * cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, __pyx_state: tuple): * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result._use_on_thread_handle = __pyx_state[1]; __pyx_result.additional_info = __pyx_state[2]; __pyx_result.thread = __pyx_state[3]; __pyx_result.thread_ident = __pyx_state[4]; __pyx_result.trace = __pyx_state[5] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -29553,37 +32294,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result._use_on_thread_handle = __pyx_state[1]; __pyx_result.additional_info = __pyx_state[2]; __pyx_result.thread = __pyx_state[3]; __pyx_result.thread_ident = __pyx_state[4]; __pyx_result.trace = __pyx_state[5] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 6) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->_use_is_stopped = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->_use_on_thread_handle = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF((PyObject *)__pyx_v___pyx_result->additional_info); - __Pyx_DECREF((PyObject *)__pyx_v___pyx_result->additional_info); - __pyx_v___pyx_result->additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->additional_info, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->thread); - __Pyx_DECREF(__pyx_v___pyx_result->thread); - __pyx_v___pyx_result->thread = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->thread, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_3 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->thread_ident = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -29596,6 +32335,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn */ __pyx_t_4 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 6); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -29627,7 +32367,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29635,7 +32375,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_25__pyx_unpickle_FuncCodeInfo = {"__pyx_unpickle_FuncCodeInfo", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle_FuncCodeInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -29644,7 +32384,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -29655,7 +32395,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle_FuncCodeInfo (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -29666,7 +32406,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -29732,6 +32472,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -29759,6 +32500,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle_FuncC */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x3f403d2, 0x5f5636f, 0xb44aa80, __pyx_k_abs_path_filename_always_filtere); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x3f403d2, 0x5f5636f, 0xb44aa80, b'abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj') @@ -29789,6 +32531,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle_FuncC __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = FuncCodeInfo.__new__(__pyx_type) * if __pyx_state is not None: @@ -29797,7 +32540,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle_FuncC * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(1, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 9, __pyx_L1_error) @@ -29820,9 +32563,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle_FuncC * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, __pyx_state: tuple): * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -29871,121 +32620,113 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 19) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->abs_path_filename); - __Pyx_DECREF(__pyx_v___pyx_result->abs_path_filename); - __pyx_v___pyx_result->abs_path_filename = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->abs_path_filename, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->always_filtered_out = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->always_skip_code = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->bp_line_to_breakpoint); - __Pyx_DECREF(__pyx_v___pyx_result->bp_line_to_breakpoint); - __pyx_v___pyx_result->bp_line_to_breakpoint = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->bp_line_to_breakpoint, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->breakpoint_found = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->canonical_normalized_filename); - __Pyx_DECREF(__pyx_v___pyx_result->canonical_normalized_filename); - __pyx_v___pyx_result->canonical_normalized_filename = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->canonical_normalized_filename, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->co_filename); - __Pyx_DECREF(__pyx_v___pyx_result->co_filename); - __pyx_v___pyx_result->co_filename = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->co_filename, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->co_name); - __Pyx_DECREF(__pyx_v___pyx_result->co_name); - __pyx_v___pyx_result->co_name = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->co_name, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->code_obj); - __Pyx_DECREF(__pyx_v___pyx_result->code_obj); - __pyx_v___pyx_result->code_obj = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->code_obj, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->filtered_out_force_checked = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->function_breakpoint); - __Pyx_DECREF(__pyx_v___pyx_result->function_breakpoint); - __pyx_v___pyx_result->function_breakpoint = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->function_breakpoint, __pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->function_breakpoint_found = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->plugin_call_breakpoint_found = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->plugin_call_stepping = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->plugin_line_breakpoint_found = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->plugin_line_stepping = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->plugin_return_stepping = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->pydb_mtime = __pyx_t_3; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->try_except_container_obj); - __Pyx_DECREF(__pyx_v___pyx_result->try_except_container_obj); - __pyx_v___pyx_result->try_except_container_obj = __pyx_t_1; + __Pyx_DECREF_SET(__pyx_v___pyx_result->try_except_container_obj, __pyx_t_1); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -29995,6 +32736,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode */ __pyx_t_3 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 19); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state) * return __pyx_result @@ -30026,7 +32768,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__CodeLineInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30034,7 +32776,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__CodeLineInfo = {"__pyx_unpickle__CodeLineInfo", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__CodeLineInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__CodeLineInfo(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30043,7 +32785,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -30054,7 +32796,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle__CodeLineInfo (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -30065,7 +32807,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -30131,6 +32873,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30158,6 +32901,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__pyx_unpickle__Code */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0x5a9bcd5, 0x0267473, 0x3fbbd02, __pyx_k_first_line_last_line_line_to_off); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0x5a9bcd5, 0x0267473, 0x3fbbd02, b'first_line, last_line, line_to_offset') @@ -30188,6 +32932,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__pyx_unpickle__Code __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = _CodeLineInfo.__new__(__pyx_type) * if __pyx_state is not None: @@ -30196,7 +32941,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__pyx_unpickle__Code * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(1, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 9, __pyx_L1_error) @@ -30219,9 +32964,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__pyx_unpickle__Code * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, __pyx_state: tuple): * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -30269,23 +33020,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLin * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 3) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->first_line = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v___pyx_result->last_line = __pyx_t_2; - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->line_to_offset); - __Pyx_DECREF(__pyx_v___pyx_result->line_to_offset); - __pyx_v___pyx_result->line_to_offset = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->line_to_offset, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -30295,6 +33045,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLin */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 3); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state) * return __pyx_result @@ -30326,7 +33077,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLin /* Python wrapper */ static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_29__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30334,7 +33085,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds ); /*proto*/ static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_29__pyx_unpickle__TryExceptContainerObj = {"__pyx_unpickle__TryExceptContainerObj", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_29__pyx_unpickle__TryExceptContainerObj, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_29__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds @@ -30343,7 +33094,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v___pyx_type = 0; long __pyx_v___pyx_checksum; PyObject *__pyx_v___pyx_state = 0; - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; @@ -30354,7 +33105,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__pyx_unpickle__TryExceptContainerObj (wrapper)", 0); - #if !CYTHON_METH_FASTCALL + #if !CYTHON_VECTORCALL #if CYTHON_ASSUME_SAFE_SIZE __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); #else @@ -30365,7 +33116,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds { PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_type,&__pyx_mstate_global->__pyx_n_u_pyx_checksum,&__pyx_mstate_global->__pyx_n_u_pyx_state,0}; const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0; - if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 4, __pyx_L3_error) + if (unlikely(__pyx_kwds_len < 0)) __PYX_ERR(1, 4, __pyx_L3_error) if (__pyx_kwds_len > 0) { switch (__pyx_nargs) { case 3: @@ -30431,6 +33182,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds Py_XDECREF(values[__pyx_temp]); } __pyx_L7_cleaned_up:; + __Pyx_RefNannyFinishContext(); return __pyx_r; } @@ -30458,6 +33210,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_28__pyx_unpickle__TryE */ __pyx_t_1 = __Pyx_CheckUnpickleChecksum(__pyx_v___pyx_checksum, 0xdbf5e44, 0xde17cd3, 0xc8b6eb1, __pyx_k_try_except_infos); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 6, __pyx_L1_error) + /* "(tree fragment)":7 * cdef object __pyx_result * __Pyx_CheckUnpickleChecksum(__pyx_checksum, 0xdbf5e44, 0xde17cd3, 0xc8b6eb1, b'try_except_infos') @@ -30488,6 +33241,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_28__pyx_unpickle__TryE __pyx_t_5 = (__pyx_v___pyx_state != ((PyObject*)Py_None)); if (__pyx_t_5) { + /* "(tree fragment)":9 * __pyx_result = _TryExceptContainerObj.__new__(__pyx_type) * if __pyx_state is not None: @@ -30496,7 +33250,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_28__pyx_unpickle__TryE * cdef __pyx_unpickle__TryExceptContainerObj__set_state(_TryExceptContainerObj __pyx_result, __pyx_state: tuple): */ if (unlikely(__pyx_v___pyx_state == Py_None)) { - PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared 'not None'"); + PyErr_SetString(PyExc_TypeError, "cannot pass None into a C function argument that is declared \047not None\047"); __PYX_ERR(1, 9, __pyx_L1_error) } __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExceptContainerObj__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_v___pyx_result), __pyx_v___pyx_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 9, __pyx_L1_error) @@ -30519,9 +33273,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_28__pyx_unpickle__TryE * cdef __pyx_unpickle__TryExceptContainerObj__set_state(_TryExceptContainerObj __pyx_result, __pyx_state: tuple): * __pyx_result.try_except_infos = __pyx_state[0] */ - __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(__pyx_v___pyx_result); - __pyx_r = __pyx_v___pyx_result; + { + PyObject *__pyx_temp; + { + __pyx_temp = __pyx_r; + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + } + __Pyx_XDECREF(__pyx_temp); + } goto __pyx_L0; /* "(tree fragment)":4 @@ -30569,13 +33329,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExce * __pyx_result.try_except_infos = __pyx_state[0] # <<<<<<<<<<<<<< * __Pyx_UpdateUnpickledDict(__pyx_result, __pyx_state, 1) */ - __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyLong_From_long, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v___pyx_result->try_except_infos); - __Pyx_DECREF(__pyx_v___pyx_result->try_except_infos); - __pyx_v___pyx_result->try_except_infos = ((PyObject*)__pyx_t_1); + __Pyx_DECREF_SET(__pyx_v___pyx_result->try_except_infos, ((PyObject*)__pyx_t_1)); __pyx_t_1 = 0; /* "(tree fragment)":13 @@ -30585,6 +33344,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExce */ __pyx_t_2 = __Pyx_UpdateUnpickledDict(((PyObject *)__pyx_v___pyx_result), __pyx_v___pyx_state, 1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + /* "(tree fragment)":11 * __pyx_unpickle__TryExceptContainerObj__set_state(<_TryExceptContainerObj> __pyx_result, __pyx_state) * return __pyx_result @@ -30608,18 +33368,68 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExce /* #### Code section: module_exttypes ### */ static struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo; -static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *p; - PyObject *o; - o = __Pyx_AllocateExtensionType(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)o); +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)o); p->__pyx_vtab = __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo; p->additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)Py_None); Py_INCREF(Py_None); p->thread = Py_None; Py_INCREF(Py_None); return o; } +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { + PyObject *o; + o = __Pyx_AllocateExtensionType(t, 0); + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_ThreadInfo(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } + return o; +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__, o, args, kwds); +} +#endif + static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o) { struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)o; #if CYTHON_USE_TP_FINALIZE @@ -30685,15 +33495,20 @@ static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_slots[] {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython_ThreadInfo}, {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython_ThreadInfo}, {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython_ThreadInfo}, - {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_29_pydevd_sys_monitoring_cython_ThreadInfo}, {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec = { "_pydevd_sys_monitoring_cython.ThreadInfo", sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_slots, }; #else @@ -30718,7 +33533,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_ThreadInfo, /*tp_traverse*/ __pyx_tp_clear_29_pydevd_sys_monitoring_cython_ThreadInfo, /*tp_clear*/ @@ -30736,7 +33551,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo = { #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__, /*tp_init*/ + __pyx_tp_init_29_pydevd_sys_monitoring_cython_ThreadInfo, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo, /*tp_new*/ 0, /*tp_free*/ @@ -30753,8 +33568,12 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo = { #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_ThreadInfo, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -30765,18 +33584,20 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo = { #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p; - PyObject *o; - o = __Pyx_AllocateExtensionType(t, 0); - if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o); +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o); p->co_filename = ((PyObject*)Py_None); Py_INCREF(Py_None); p->canonical_normalized_filename = ((PyObject*)Py_None); Py_INCREF(Py_None); p->abs_path_filename = ((PyObject*)Py_None); Py_INCREF(Py_None); @@ -30788,6 +33609,54 @@ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTyp return o; } +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { + PyObject *o; + o = __Pyx_AllocateExtensionType(t, 0); + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython_FuncCodeInfo(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } + return o; +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__, o, args, kwds); +} +#endif + static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o) { struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o; #if CYTHON_USE_TP_FINALIZE @@ -30872,15 +33741,20 @@ static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, - {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec = { "_pydevd_sys_monitoring_cython.FuncCodeInfo", sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots, }; #else @@ -30905,7 +33779,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_traverse*/ __pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_clear*/ @@ -30923,7 +33797,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = { #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__, /*tp_init*/ + __pyx_tp_init_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_new*/ 0, /*tp_free*/ @@ -30940,8 +33814,12 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = { #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -30952,21 +33830,71 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = { #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p; +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o); + p->line_to_offset = ((PyObject*)Py_None); Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o); - p->line_to_offset = ((PyObject*)Py_None); Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__CodeLineInfo(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o) { struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o; @@ -31026,15 +33954,20 @@ static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_slot {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython__CodeLineInfo}, {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython__CodeLineInfo}, {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython__CodeLineInfo}, - {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_29_pydevd_sys_monitoring_cython__CodeLineInfo}, {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec = { "_pydevd_sys_monitoring_cython._CodeLineInfo", sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_slots, }; #else @@ -31059,7 +33992,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo = { 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_traverse*/ __pyx_tp_clear_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_clear*/ @@ -31077,7 +34010,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo = { #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__, /*tp_init*/ + __pyx_tp_init_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_new*/ 0, /*tp_free*/ @@ -31094,8 +34027,12 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo = { #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31106,21 +34043,71 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo = { #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { - struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *p; +static PyObject *__pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)o); + p->try_except_infos = ((PyObject*)Py_None); Py_INCREF(Py_None); + return o; +} + +static PyObject *__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; o = __Pyx_AllocateExtensionType(t, 0); if (unlikely(!o)) return 0; - p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)o); - p->try_except_infos = ((PyObject*)Py_None); Py_INCREF(Py_None); + return __pyx_tp_new__initialisation_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj((PyTypeObject*)t, args, nargs, kwnames); + if (likely(o)) { + assert(Py_TYPE(o) == (PyTypeObject*)t); + if (unlikely(__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__(o, args, nargs, kwnames) < 0)) { + Py_CLEAR(o); + } + } return o; } +#endif + +#if CYTHON_VECTORCALL_TPNEW +static int __pyx_tp_init_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *o, PyObject *args, PyObject *kwds) { + return __Pyx_CallTpinitAsVectorcall(__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__, o, args, kwds); +} +#endif static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyObject *o) { struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)o; @@ -31180,15 +34167,20 @@ static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContaine {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, - {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__}, + {Py_tp_init, (void *)__pyx_tp_init_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec = { "_pydevd_sys_monitoring_cython._TryExceptContainerObj", sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_slots, }; #else @@ -31213,7 +34205,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContain 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ 0, /*tp_doc*/ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, /*tp_traverse*/ __pyx_tp_clear_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, /*tp_clear*/ @@ -31231,7 +34223,7 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContain #if !CYTHON_USE_TYPE_SPECS 0, /*tp_dictoffset*/ #endif - __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__init__, /*tp_init*/ + __pyx_tp_init_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, /*tp_init*/ 0, /*tp_alloc*/ __pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, /*tp_new*/ 0, /*tp_free*/ @@ -31248,8 +34240,12 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContain #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31260,13 +34256,29 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContain #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + return o; +} + +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; #if CYTHON_USE_FREELISTS if (likely((int)(__pyx_mstate_global->__pyx_freecount___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc > 0) & __PYX_CHECK_FINAL_TYPE_FOR_FREELISTS(t, __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc, sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc)))) @@ -31285,10 +34297,33 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_ #endif { o = __Pyx_AllocateExtensionType(t, 1); - if (unlikely(!o)) return 0; } + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc((PyTypeObject*)t, args, nargs, kwnames); return o; } +#endif static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *o) { #if CYTHON_USE_TP_FINALIZE @@ -31323,13 +34358,18 @@ static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_s static PyType_Slot __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_slots[] = { {Py_tp_dealloc, (void *)__pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc}, {Py_tp_new, (void *)__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_spec = { "_pydevd_sys_monitoring_cython.__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc", sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_slots, }; #else @@ -31354,7 +34394,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, /*tp_flags*/ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ @@ -31389,8 +34429,12 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31401,13 +34445,29 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + return o; +} + +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; #if CYTHON_USE_FREELISTS if (likely((int)(__pyx_mstate_global->__pyx_freecount___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset > 0) & __PYX_CHECK_FINAL_TYPE_FOR_FREELISTS(t, __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset, sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset)))) @@ -31426,10 +34486,33 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_ #endif { o = __Pyx_AllocateExtensionType(t, 1); - if (unlikely(!o)) return 0; } + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset((PyTypeObject*)t, args, nargs, kwnames); return o; } +#endif static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *o) { #if CYTHON_USE_TP_FINALIZE @@ -31464,13 +34547,18 @@ static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_s static PyType_Slot __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_slots[] = { {Py_tp_dealloc, (void *)__pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset}, {Py_tp_new, (void *)__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_spec = { "_pydevd_sys_monitoring_cython.__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset", sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_slots, }; #else @@ -31495,7 +34583,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monito 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, /*tp_flags*/ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ @@ -31530,8 +34618,12 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monito #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31542,13 +34634,29 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monito #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + return o; +} + +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; #if CYTHON_USE_FREELISTS if (likely((int)(__pyx_mstate_global->__pyx_freecount___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line > 0) & __PYX_CHECK_FINAL_TYPE_FOR_FREELISTS(t, __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line, sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line)))) @@ -31567,10 +34675,33 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_ #endif { o = __Pyx_AllocateExtensionType(t, 1); - if (unlikely(!o)) return 0; } + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line((PyTypeObject*)t, args, nargs, kwnames); return o; } +#endif static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(PyObject *o) { #if CYTHON_USE_TP_FINALIZE @@ -31605,13 +34736,18 @@ static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_s static PyType_Slot __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_slots[] = { {Py_tp_dealloc, (void *)__pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line}, {Py_tp_new, (void *)__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_spec = { "_pydevd_sys_monitoring_cython.__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line", sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_slots, }; #else @@ -31636,7 +34772,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monito 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, /*tp_flags*/ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ @@ -31671,8 +34807,12 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monito #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31683,13 +34823,29 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monito #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + return o; +} + +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; #if CYTHON_USE_FREELISTS if (likely((int)(__pyx_mstate_global->__pyx_freecount___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset > 0) & __PYX_CHECK_FINAL_TYPE_FOR_FREELISTS(t, __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset, sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset)))) @@ -31708,10 +34864,33 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_ #endif { o = __Pyx_AllocateExtensionType(t, 1); - if (unlikely(!o)) return 0; } + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset((PyTypeObject*)t, args, nargs, kwnames); return o; } +#endif static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(PyObject *o) { #if CYTHON_USE_TP_FINALIZE @@ -31746,13 +34925,18 @@ static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_s static PyType_Slot __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_slots[] = { {Py_tp_dealloc, (void *)__pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset}, {Py_tp_new, (void *)__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_spec = { "_pydevd_sys_monitoring_cython.__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset", sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_slots, }; #else @@ -31777,7 +34961,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monito 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, /*tp_flags*/ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ @@ -31812,8 +34996,12 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monito #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31824,13 +35012,29 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monito #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; #endif -static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { +static PyObject *__pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyObject *o, +#if CYTHON_VECTORCALL_TPNEW + CYTHON_UNUSED PyObject *const *args, CYTHON_UNUSED Py_ssize_t nargs, CYTHON_UNUSED PyObject *kwnames +#else + CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k +#endif +) { + return o; +} + +static PyObject *__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyTypeObject *t, +#if CYTHON_VECTORCALL_TPNEW + PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames +#else + PyObject *a, PyObject *k +#endif +) { PyObject *o; #if CYTHON_USE_FREELISTS if (likely((int)(__pyx_mstate_global->__pyx_freecount___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval > 0) & __PYX_CHECK_FINAL_TYPE_FOR_FREELISTS(t, __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval, sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval)))) @@ -31849,10 +35053,33 @@ static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_ #endif { o = __Pyx_AllocateExtensionType(t, 1); - if (unlikely(!o)) return 0; } + if (unlikely(!o)) return 0; + return __pyx_tp_new__initialisation___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(o, +#if CYTHON_VECTORCALL_TPNEW + args, nargs, kwnames +#else + a, k +#endif +); +} + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyTypeObject *t, PyObject *a, PyObject *k) { + return __Pyx_CallTpnewAsVectorcall(__pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval, t, a, k); +} +#endif + +#if CYTHON_VECTORCALL_TPNEW +static PyObject *__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyObject *t, PyObject *const *args, size_t nargsf, PyObject *kwnames) { + if (unlikely((PyTypeObject*)t != __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval || __Pyx_PyType_HasFeature((PyTypeObject*)t, Py_TPFLAGS_IS_ABSTRACT))) { + return __Pyx_CallNewInitFromVectorcall((PyTypeObject*)t, args, nargsf, kwnames); + } + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); + PyObject *o = __pyx_tp_new_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval((PyTypeObject*)t, args, nargs, kwnames); return o; } +#endif static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(PyObject *o) { #if CYTHON_USE_TP_FINALIZE @@ -31887,13 +35114,18 @@ static void __pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_s static PyType_Slot __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_slots[] = { {Py_tp_dealloc, (void *)__pyx_tp_dealloc___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval}, {Py_tp_new, (void *)__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval}, + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + {Py_tp_vectorcall, (void *)__pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval}, + #endif + #endif {0, 0}, }; static PyType_Spec __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_spec = { "_pydevd_sys_monitoring_cython.__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval", sizeof(struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval), 0, - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_slots, }; #else @@ -31918,7 +35150,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito 0, /*tp_getattro*/ 0, /*tp_setattro*/ 0, /*tp_as_buffer*/ - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER, /*tp_flags*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG, /*tp_flags*/ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ @@ -31953,8 +35185,12 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito #else NULL, /*tp_finalize*/ #endif - #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800 - 0, /*tp_vectorcall*/ + #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) && (!CYTHON_COMPILING_IN_LIMITED_API || __PYX_LIMITED_VERSION_HEX >= 0x030E0000) + #if CYTHON_VECTORCALL_TPNEW + __pyx_tp_vectorcall___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval, /*tp_vectorcall*/ + #else + NULL, /*tp_vectorcall*/ + #endif #endif #if __PYX_NEED_TP_PRINT_SLOT == 1 0, /*tp_print*/ @@ -31965,7 +35201,7 @@ static PyTypeObject __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monito #if PY_VERSION_HEX >= 0x030d00A4 0, /*tp_versions_used*/ #endif - #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030a0000 0, /*tp_pypy_flags*/ #endif }; @@ -31978,64 +35214,72 @@ static PyMethodDef __pyx_methods[] = { static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_InitAfterSharedUtility(void); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ -static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_Function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/ static CYTHON_SMALL_CODE int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate); /*proto*/ /* #### Code section: init_module ### */ -static int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Global_init_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Global_init_code", 0); /*--- Global init code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Variable_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Variable_export_code", 0); /*--- Variable export code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Function_export_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Function_export_code", 0); /*--- Function export code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); - /*--- Type init code ---*/ + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo", 0); + /*--- Exttype __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo ---*/ __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo = &__pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo; __pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo.is_thread_alive = (int (*)(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *))__pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive; #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo)) __PYX_ERR(0, 245, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) + __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo)) __PYX_ERR(0, 251, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 251, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo); @@ -32045,20 +35289,33 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo->tp_getattro = PyObject_GenericGetAttr; } #endif - if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) - if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) - if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ThreadInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 245, __pyx_L1_error) + if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 251, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ThreadInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 251, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < (0)) __PYX_ERR(0, 251, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo", 0); + /*--- Exttype __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)) __PYX_ERR(0, 373, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 373, __pyx_L1_error) + __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)) __PYX_ERR(0, 379, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 373, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 379, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo); @@ -32068,18 +35325,32 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo->tp_getattro = PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 373, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 373, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 379, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < (0)) __PYX_ERR(0, 379, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo", 0); + /*--- Exttype __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo)) __PYX_ERR(0, 476, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec, __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 476, __pyx_L1_error) + __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo)) __PYX_ERR(0, 482, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo = &__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 476, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 482, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo); @@ -32089,18 +35360,32 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo->tp_getattro = PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_CodeLineInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 476, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 476, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_CodeLineInfo, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 482, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < (0)) __PYX_ERR(0, 482, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj", 0); + /*--- Exttype __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj)) __PYX_ERR(0, 863, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 863, __pyx_L1_error) + __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj)) __PYX_ERR(0, 869, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 863, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 869, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj); @@ -32110,18 +35395,32 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj->tp_getattro = PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 863, __pyx_L1_error) - if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 863, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj, (PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 869, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < (0)) __PYX_ERR(0, 869, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc", 0); + /*--- Exttype __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc)) __PYX_ERR(1, 65, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_spec, __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc)) __PYX_ERR(1, 84, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc = &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc) < (0)) __PYX_ERR(1, 84, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc); @@ -32131,16 +35430,30 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc->tp_getattro = PyObject_GenericGetAttr; } #endif + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset", 0); + /*--- Exttype __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset)) __PYX_ERR(1, 65, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_spec, __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset)) __PYX_ERR(1, 84, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset = &__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset) < (0)) __PYX_ERR(1, 84, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset); @@ -32150,16 +35463,30 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset->tp_getattro = PyObject_GenericGetAttr; } #endif + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line", 0); + /*--- Exttype __pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line)) __PYX_ERR(1, 65, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_spec, __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line)) __PYX_ERR(1, 84, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line = &__pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line) < (0)) __PYX_ERR(1, 84, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line); @@ -32169,16 +35496,30 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line->tp_getattro = PyObject_GenericGetAttr; } #endif + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset", 0); + /*--- Exttype __pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset)) __PYX_ERR(1, 65, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_spec, __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset)) __PYX_ERR(1, 84, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset = &__pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset) < (0)) __PYX_ERR(1, 84, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset); @@ -32188,16 +35529,30 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset->tp_getattro = PyObject_GenericGetAttr; } #endif + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_mstatetype *__pyx_mstate) { + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval", 0); + /*--- Exttype __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval)) __PYX_ERR(1, 65, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_spec, __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval)) __PYX_ERR(1, 84, __pyx_L1_error) #else __pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval = &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval) < (0)) __PYX_ERR(1, 65, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval) < (0)) __PYX_ERR(1, 84, __pyx_L1_error) #endif #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval); @@ -32214,27 +35569,27 @@ static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) { return -1; } -static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Type_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0); + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Type_import_code", 0); /*--- Type import code ---*/ __pyx_t_1 = PyImport_ImportModule("_pydevd_bundle.pydevd_cython"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = __Pyx_ImportType_3_2_4(__pyx_t_1, "_pydevd_bundle.pydevd_cython", "PyDBAdditionalThreadInfo", + __pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = __Pyx_ImportType_3_3_1(__pyx_t_1, "_pydevd_bundle.pydevd_cython", "PyDBAdditionalThreadInfo", #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 - sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_2_4(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), + sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_3_1(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), #elif CYTHON_COMPILING_IN_LIMITED_API - sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_2_4(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), + sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_3_1(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), #else - sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_2_4(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), + sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_3_1(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), #endif - __Pyx_ImportType_CheckSize_Warn_3_2_4); if (!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = (struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo); if (unlikely(!__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_ImportType_CheckSize_Warn_3_3_1); if (!__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) __PYX_ERR(2, 1, __pyx_L1_error) + if (unlikely(__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, (void**)&__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) != 1)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -32244,23 +35599,23 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) { return -1; } -static int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Variable_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations CYTHON_UNUSED_VAR(__pyx_mstate); - __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0); + __Pyx_RefNannySetupContext("__Pyx_modinit_Variable_import_code", 0); /*--- Variable import code ---*/ __Pyx_RefNannyFinishContext(); return 0; } -static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) { +static int __Pyx_modinit_Function_import_code(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations - CYTHON_UNUSED_VAR(__pyx_mstate); PyObject *__pyx_t_1 = NULL; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; - __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0); + CYTHON_UNUSED_VAR(__pyx_mstate); + __Pyx_RefNannySetupContext("__Pyx_modinit_Function_import_code", 0); /*--- Function import code ---*/ { __pyx_t_1 = PyImport_ImportModule("_pydevd_bundle.pydevd_cython"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error) @@ -32274,7 +35629,7 @@ static int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate) { void (**const *__pyx_import_pointer)(void) = __pyx_import_pointers; const char *__pyx_import_current_signature = __pyx_import_signature; while (*__pyx_import_pointer) { - if (__Pyx_ImportFunction_3_2_4(__pyx_t_1, __pyx_import_name, *__pyx_import_pointer, __pyx_import_current_signature) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) + if (__Pyx_ImportFunction_3_3_1(__pyx_t_1, __pyx_import_name, *__pyx_import_pointer, __pyx_import_current_signature) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) ++__pyx_import_pointer; __pyx_import_name = strchr(__pyx_import_name, '\0') + 1; __pyx_import_signature = strchr(__pyx_import_signature, '\0') + 1; @@ -32359,12 +35714,15 @@ __Pyx_PyMODINIT_FUNC PyInit__pydevd_sys_monitoring_cython(void) return PyModuleDef_Init(&__pyx_moduledef); } /* ModuleCreationPEP489 */ -#if CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\ - || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000)) +#if CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x030A0000 &&\ + (defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS))) static PY_INT64_T __Pyx_GetCurrentInterpreterId(void) { { PyObject *module = PyImport_ImportModule("_interpreters"); // 3.13+ I think if (!module) { + if (!PyErr_ExceptionMatches(PyExc_Exception)) { + goto bad; // BaseException + } PyErr_Clear(); // just try the 3.8-3.12 version module = PyImport_ImportModule("_xxsubinterpreters"); if (!module) goto bad; @@ -32394,8 +35752,8 @@ static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { PY_INT64_T current_id = GraalPyInterpreterState_GetIDFromThreadState(PyThreadState_Get()); #elif CYTHON_COMPILING_IN_GRAAL PY_INT64_T current_id = PyInterpreterState_GetIDFromThreadState(PyThreadState_Get()); -#elif CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\ - || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000)) +#elif CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x030A0000 &&\ + (defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS))) PY_INT64_T current_id = __Pyx_GetCurrentInterpreterId(); #elif CYTHON_COMPILING_IN_LIMITED_API PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get()); @@ -32440,8 +35798,16 @@ static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDe if (__Pyx_check_single_interpreter()) return NULL; #endif - if (__pyx_m) + if (__pyx_m) { + #if CYTHON_USE_MODULE_STATE + PyErr_Format(PyExc_ImportError, + "Module '%s' has already been imported into this interpreter. Re-importing it is not supported.", + def->m_name); + return NULL; + #else return __Pyx_NewRef(__pyx_m); + #endif + } modname = PyObject_GetAttrString(spec, "name"); if (unlikely(!modname)) goto bad; module = PyModule_NewObject(modname); @@ -32511,7 +35877,7 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec__pydevd_sys_monitoring_cython(PyOb __pyx_m = __pyx_t_1; #endif #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING - PyUnstable_Module_SetGIL(__pyx_m, Py_MOD_GIL_USED); + PyUnstable_Module_SetGIL(__pyx_m, __Pyx_FREETHREADING_COMPATIBLE); #endif __pyx_mstate = __pyx_mstate_global; CYTHON_UNUSED_VAR(__pyx_t_1); @@ -32524,8 +35890,10 @@ static CYTHON_SMALL_CODE int __pyx_pymod_exec__pydevd_sys_monitoring_cython(PyOb #if CYTHON_REFNANNY __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny"); if (!__Pyx_RefNanny) { - PyErr_Clear(); - __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); + if (PyErr_ExceptionMatches(PyExc_Exception)) { + PyErr_Clear(); + __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); + } if (!__Pyx_RefNanny) Py_FatalError("failed to import 'refnanny' module"); } @@ -32557,13 +35925,23 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Global type/function init code ---*/ - (void)__Pyx_modinit_global_init_code(__pyx_mstate); - (void)__Pyx_modinit_variable_export_code(__pyx_mstate); - (void)__Pyx_modinit_function_export_code(__pyx_mstate); - if (unlikely((__Pyx_modinit_type_init_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) - if (unlikely((__Pyx_modinit_type_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) - (void)__Pyx_modinit_variable_import_code(__pyx_mstate); - if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + (void)__Pyx_modinit_Global_init_code(__pyx_mstate); + (void)__Pyx_modinit_Variable_export_code(__pyx_mstate); + (void)__Pyx_modinit_Function_export_code(__pyx_mstate); + /*--- Type init code ---*/ + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Exttype___pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_Type_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + (void)__Pyx_modinit_Variable_import_code(__pyx_mstate); + if (unlikely((__Pyx_modinit_Function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (__Pyx_InitAfterSharedUtility() < (0)) __PYX_ERR(0, 1, __pyx_L1_error) /*--- Execution code ---*/ /* "_pydevd_sys_monitoring_cython.pyx":11 @@ -33080,6 +36458,7 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; if (__pyx_t_11) { + /* "_pydevd_sys_monitoring_cython.pyx":61 * * if hasattr(sys, "monitoring"): @@ -33209,7 +36588,7 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START, __pyx_mstate_global->__pyx_tuple[3]) < (0)) __PYX_ERR(0, 90, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START, __pyx_mstate_global->__pyx_tuple[6]) < (0)) __PYX_ERR(0, 90, __pyx_L1_error) /* "_pydevd_sys_monitoring_cython.pyx":91 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") @@ -33218,7 +36597,7 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K, __pyx_mstate_global->__pyx_tuple[4]) < (0)) __PYX_ERR(0, 91, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DEBUG_START_PY3K, __pyx_mstate_global->__pyx_tuple[7]) < (0)) __PYX_ERR(0, 91, __pyx_L1_error) /* "_pydevd_sys_monitoring_cython.pyx":92 * DEBUG_START = ("pydevd.py", "run") @@ -33273,89 +36652,89 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_ThreadInfo, (type(self), 0x006f6da, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ThreadInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ThreadInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":292 + /* "_pydevd_sys_monitoring_cython.pyx":298 * * * class _DeleteDummyThreadOnDel: # <<<<<<<<<<<<<< * """ * Helper class to remove a dummy thread from threading._active on __del__. */ - __pyx_t_4 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_mstate_global->__pyx_empty_tuple, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, (PyObject *) NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_kp_u_Helper_class_to_remove_a_dummy); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_4 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_mstate_global->__pyx_empty_tuple, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, (PyObject *) NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_kp_u_Helper_class_to_remove_a_dummy); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":297 + /* "_pydevd_sys_monitoring_cython.pyx":303 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< * self._dummy_thread = dummy_thread * self._tident = dummy_thread.ident */ - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__, 0, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel___init, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[8])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 297, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__, 0, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel___init, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[8])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 303, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_10); #endif - if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_init, __pyx_t_10) < (0)) __PYX_ERR(0, 297, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_init, __pyx_t_10) < (0)) __PYX_ERR(0, 303, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":308 + /* "_pydevd_sys_monitoring_cython.pyx":314 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: */ - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__, 0, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel___del, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[9])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 308, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__, 0, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel___del, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[9])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 314, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_10); #endif - if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_del, __pyx_t_10) < (0)) __PYX_ERR(0, 308, __pyx_L1_error) + if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_del, __pyx_t_10) < (0)) __PYX_ERR(0, 314, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":292 + /* "_pydevd_sys_monitoring_cython.pyx":298 * * * class _DeleteDummyThreadOnDel: # <<<<<<<<<<<<<< * """ * Helper class to remove a dummy thread from threading._active on __del__. */ - __pyx_t_10 = __Pyx_Py3ClassCreate(((PyObject*)&PyType_Type), __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_mstate_global->__pyx_empty_tuple, __pyx_t_4, NULL, 0, 0); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_10 = __Pyx_Py3ClassCreate(((PyObject*)&PyType_Type), __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_mstate_global->__pyx_empty_tuple, __pyx_t_4, NULL, 0, 0); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 298, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_10); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_t_10) < (0)) __PYX_ERR(0, 292, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_DeleteDummyThreadOnDel, __pyx_t_10) < (0)) __PYX_ERR(0, 298, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":439 + /* "_pydevd_sys_monitoring_cython.pyx":445 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< * for start, end, line in self.code_obj.co_lines(): * if start is not None and end is not None and line is not None: */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo_get_line_of_offset, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 439, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo_get_line_of_offset, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_mstate_global->__pyx_n_u_get_line_of_offset, __pyx_t_4) < (0)) __PYX_ERR(0, 439, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_mstate_global->__pyx_n_u_get_line_of_offset, __pyx_t_4) < (0)) __PYX_ERR(0, 445, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "(tree fragment)":1 @@ -33371,18 +36750,18 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle_FuncCodeInfo, (type(self), 0x3f403d2, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[12])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_FuncCodeInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[12])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "(tree fragment)":1 @@ -33398,103 +36777,103 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_CodeLineInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[14])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_CodeLineInfo___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[14])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":507 + /* "_pydevd_sys_monitoring_cython.pyx":513 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< * # ELSE * # def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo: */ - __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 513, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_mstate_global->__pyx_k__2 = __pyx_t_4; + __pyx_mstate_global->__pyx_k__3 = __pyx_t_4; __Pyx_GIVEREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":531 + /* "_pydevd_sys_monitoring_cython.pyx":537 * * * _code_to_func_code_info_cache: Dict[CodeType, "FuncCodeInfo"] = {} # <<<<<<<<<<<<<< * * */ - __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 531, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 537, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache, __pyx_t_4) < (0)) __PYX_ERR(0, 531, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_code_to_func_code_info_cache, __pyx_t_4) < (0)) __PYX_ERR(0, 537, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":536 + /* "_pydevd_sys_monitoring_cython.pyx":542 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< * cdef FuncCodeInfo func_code_info * # ELSE */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_3_get_func_code_info, 0, __pyx_mstate_global->__pyx_n_u_get_func_code_info, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[15])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 536, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_3_get_func_code_info, 0, __pyx_mstate_global->__pyx_n_u_get_func_code_info, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[15])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_get_func_code_info, __pyx_t_4) < (0)) __PYX_ERR(0, 536, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_get_func_code_info, __pyx_t_4) < (0)) __PYX_ERR(0, 542, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":730 + /* "_pydevd_sys_monitoring_cython.pyx":736 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< * # ELSE * # def disable_code_tracing(code): */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_5disable_code_tracing, 0, __pyx_mstate_global->__pyx_n_u_disable_code_tracing, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 730, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_5disable_code_tracing, 0, __pyx_mstate_global->__pyx_n_u_disable_code_tracing, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 736, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_disable_code_tracing, __pyx_t_4) < (0)) __PYX_ERR(0, 730, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_disable_code_tracing, __pyx_t_4) < (0)) __PYX_ERR(0, 736, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":741 + /* "_pydevd_sys_monitoring_cython.pyx":747 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< * # ELSE * # def enable_code_tracing(thread_ident: Optional[int], code, frame) -> bool: */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_7enable_code_tracing, 0, __pyx_mstate_global->__pyx_n_u_enable_code_tracing, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[17])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 741, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_7enable_code_tracing, 0, __pyx_mstate_global->__pyx_n_u_enable_code_tracing, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[17])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 747, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_enable_code_tracing, __pyx_t_4) < (0)) __PYX_ERR(0, 741, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_enable_code_tracing, __pyx_t_4) < (0)) __PYX_ERR(0, 747, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":779 + /* "_pydevd_sys_monitoring_cython.pyx":785 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef reset_thread_local_info(): # <<<<<<<<<<<<<< * # ELSE * # def reset_thread_local_info(): */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_9reset_thread_local_info, 0, __pyx_mstate_global->__pyx_n_u_reset_thread_local_info, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[18])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 779, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_9reset_thread_local_info, 0, __pyx_mstate_global->__pyx_n_u_reset_thread_local_info, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[18])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reset_thread_local_info, __pyx_t_4) < (0)) __PYX_ERR(0, 779, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reset_thread_local_info, __pyx_t_4) < (0)) __PYX_ERR(0, 785, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "(tree fragment)":1 @@ -33510,122 +36889,122 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "(tree fragment)":16 + /* "(tree fragment)":17 * else: * return __pyx_unpickle__TryExceptContainerObj, (type(self), 0xdbf5e44, state) * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj___setstat, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_TryExceptContainerObj___setstat, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 16, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 17, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1775 + /* "_pydevd_sys_monitoring_cython.pyx":1784 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< * # ELSE * # def _ensure_monitoring(): */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_11_ensure_monitoring, 0, __pyx_mstate_global->__pyx_n_u_ensure_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[21])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_11_ensure_monitoring, 0, __pyx_mstate_global->__pyx_n_u_ensure_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[21])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_ensure_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1775, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_ensure_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1789 + /* "_pydevd_sys_monitoring_cython.pyx":1798 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13start_monitoring, 0, __pyx_mstate_global->__pyx_n_u_start_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[22])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1789, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13start_monitoring, 0, __pyx_mstate_global->__pyx_n_u_start_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[22])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[5]); - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_start_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1789, __pyx_L1_error) + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[8]); + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_start_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1798, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1817 + /* "_pydevd_sys_monitoring_cython.pyx":1826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_15stop_monitoring, 0, __pyx_mstate_global->__pyx_n_u_stop_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[23])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1817, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_15stop_monitoring, 0, __pyx_mstate_global->__pyx_n_u_stop_monitoring, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[23])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[5]); - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_stop_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1817, __pyx_L1_error) + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_mstate_global->__pyx_tuple[8]); + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_stop_monitoring, __pyx_t_4) < (0)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1845 + /* "_pydevd_sys_monitoring_cython.pyx":1854 * * * def update_monitor_events(suspend_requested: Optional[bool]=None) -> None: # <<<<<<<<<<<<<< * """ * This should be called when breakpoints change. */ - __pyx_t_4 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1845, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_suspend_requested, __pyx_mstate_global->__pyx_kp_u_Optional_bool) < (0)) __PYX_ERR(0, 1845, __pyx_L1_error) - if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_return, __pyx_mstate_global->__pyx_n_u_None) < (0)) __PYX_ERR(0, 1845, __pyx_L1_error) - __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_17update_monitor_events, 0, __pyx_mstate_global->__pyx_n_u_update_monitor_events, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[24])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1845, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_suspend_requested, __pyx_mstate_global->__pyx_kp_u_Optional_bool) < (0)) __PYX_ERR(0, 1854, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_return, __pyx_mstate_global->__pyx_n_u_None) < (0)) __PYX_ERR(0, 1854, __pyx_L1_error) + __pyx_t_10 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_17update_monitor_events, 0, __pyx_mstate_global->__pyx_n_u_update_monitor_events, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[24])); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_10); #endif - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_10, __pyx_mstate_global->__pyx_tuple[6]); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_10, __pyx_mstate_global->__pyx_tuple[9]); __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_10, __pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_update_monitor_events, __pyx_t_10) < (0)) __PYX_ERR(0, 1845, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_update_monitor_events, __pyx_t_10) < (0)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1933 + /* "_pydevd_sys_monitoring_cython.pyx":1942 * * * def restart_events() -> None: # <<<<<<<<<<<<<< * # Note: if breakpoints change, update_monitor_events usually needs to be * # called first, then the line event tracing must be set for existing frames */ - __pyx_t_10 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1933, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1942, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_10); - if (PyDict_SetItem(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_return, __pyx_mstate_global->__pyx_n_u_None) < (0)) __PYX_ERR(0, 1933, __pyx_L1_error) - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_19restart_events, 0, __pyx_mstate_global->__pyx_n_u_restart_events, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[25])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1933, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_return, __pyx_mstate_global->__pyx_n_u_None) < (0)) __PYX_ERR(0, 1942, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_19restart_events, 0, __pyx_mstate_global->__pyx_n_u_restart_events, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[25])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1942, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_4, __pyx_t_10); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_restart_events, __pyx_t_4) < (0)) __PYX_ERR(0, 1933, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_restart_events, __pyx_t_4) < (0)) __PYX_ERR(0, 1942, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1968 + /* "_pydevd_sys_monitoring_cython.pyx":1977 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< * # ELSE * # def _do_wait_suspend(py_db, thread_info, frame, event, arg): */ - __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_21_do_wait_suspend, 0, __pyx_mstate_global->__pyx_n_u_do_wait_suspend, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[26])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1968, __pyx_L1_error) + __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_21_do_wait_suspend, 0, __pyx_mstate_global->__pyx_n_u_do_wait_suspend, NULL, __pyx_mstate_global->__pyx_n_u_pydevd_sys_monitoring_cython, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[26])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1977, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000 PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4); #endif - if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_t_4) < (0)) __PYX_ERR(0, 1968, __pyx_L1_error) + if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_do_wait_suspend, __pyx_t_4) < (0)) __PYX_ERR(0, 1977, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; /* "(tree fragment)":4 @@ -33712,9 +37091,9 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); Py_DECREF(__pyx_m); if (pystate_addmodule_run) { PyObject *tp, *value, *tb; - PyErr_Fetch(&tp, &value, &tb); - PyState_RemoveModule(&__pyx_moduledef); - PyErr_Restore(tp, value, tb); + __Pyx_PyErr_FetchException(&tp, &value, &tb); + __Pyx_State_RemoveModule(&__pyx_moduledef); + __Pyx_PyErr_RestoreException(tp, value, tb); } #endif } else if (!PyErr_Occurred()) { @@ -33732,9 +37111,12 @@ __Pyx_RefNannySetupContext("PyInit__pydevd_sys_monitoring_cython", 0); /* #### Code section: cached_builtins ### */ static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); - __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_min); if (!__pyx_builtin_min) __PYX_ERR(0, 524, __pyx_L1_error) - __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0, 525, __pyx_L1_error) + __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_min); if (!__pyx_builtin_min) __PYX_ERR(0, 530, __pyx_L1_error) + __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_max); if (!__pyx_builtin_max) __PYX_ERR(0, 531, __pyx_L1_error) /* Cached unbound methods */ __pyx_mstate->__pyx_umethod_PyDict_Type_get.type = (PyObject*)&PyDict_Type; @@ -33753,6 +37135,9 @@ static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) { static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); @@ -33763,8 +37148,11 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * if _global_notify_skipped_step_in: * # Check with lock in place (callers should actually have checked */ - __pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 107, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]); + { + PyObject* __pyx_temp[3] = {Py_None, Py_None, Py_None}; + __pyx_mstate_global->__pyx_tuple[0] = __Pyx_PyTuple_FromArray(__pyx_temp, 3); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]); + } __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]); /* "_pydevd_sys_monitoring_cython.pyx":150 @@ -33774,29 +37162,77 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): */ - __pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, Py_None, Py_False); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 150, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]); + { + PyObject* __pyx_temp[2] = {Py_None, Py_False}; + __pyx_mstate_global->__pyx_tuple[1] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 150, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]); + } __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]); - /* "_pydevd_sys_monitoring_cython.pyx":222 + /* "_pydevd_sys_monitoring_cython.pyx":228 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_mstate_global->__pyx_tuple[2] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_run, __pyx_mstate_global->__pyx_n_u_run_2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[2])) __PYX_ERR(0, 222, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[2]); + { + PyObject* __pyx_temp[2] = {__pyx_mstate_global->__pyx_n_u_run, __pyx_mstate_global->__pyx_n_u_run_2}; + __pyx_mstate_global->__pyx_tuple[2] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[2])) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[2]); + } __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[2]); - /* "_pydevd_sys_monitoring_cython.pyx":1583 + /* "_pydevd_sys_monitoring_cython.pyx":930 + * + * if has_caught_exception_breakpoint_in_pydb: + * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True + * ) +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_is_unwind}; + __pyx_mstate_global->__pyx_tuple[3] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[3])) __PYX_ERR(0, 930, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[3]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[3]); + + /* "_pydevd_sys_monitoring_cython.pyx":1279 + * if back is not None: + * # if we're in a return, we want it to appear to the user in the previous frame! + * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< + * _do_wait_suspend(py_db, thread_info, back, "return", retval) + * else: +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_original_step_cmd}; + __pyx_mstate_global->__pyx_tuple[4] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[4])) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[4]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[4]); + + /* "_pydevd_sys_monitoring_cython.pyx":1335 + * + * if stop: + * py_db.set_suspend( # <<<<<<<<<<<<<< + * thread_info.thread, + * stop_reason, +*/ + { + PyObject* __pyx_temp[1] = {__pyx_mstate_global->__pyx_n_u_suspend_other_threads}; + __pyx_mstate_global->__pyx_tuple[5] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[5])) __PYX_ERR(0, 1335, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[5]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[5]); + + /* "_pydevd_sys_monitoring_cython.pyx":1592 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): * filename = filename[:-1] # <<<<<<<<<<<<<< * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): */ - __pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0, 1583, __pyx_L1_error) + __pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0, 1592, __pyx_L1_error) __Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]); __Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]); @@ -33807,9 +37243,12 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - __pyx_mstate_global->__pyx_tuple[3] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_kp_u_pydevd_py, __pyx_mstate_global->__pyx_n_u_run); if (unlikely(!__pyx_mstate_global->__pyx_tuple[3])) __PYX_ERR(0, 90, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[3]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[3]); + { + PyObject* __pyx_temp[2] = {__pyx_mstate_global->__pyx_kp_u_pydevd_py, __pyx_mstate_global->__pyx_n_u_run}; + __pyx_mstate_global->__pyx_tuple[6] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[6])) __PYX_ERR(0, 90, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[6]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[6]); /* "_pydevd_sys_monitoring_cython.pyx":91 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") @@ -33818,45 +37257,58 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - __pyx_mstate_global->__pyx_tuple[4] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_kp_u_pydev_execfile_py, __pyx_mstate_global->__pyx_n_u_execfile); if (unlikely(!__pyx_mstate_global->__pyx_tuple[4])) __PYX_ERR(0, 91, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[4]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[4]); + { + PyObject* __pyx_temp[2] = {__pyx_mstate_global->__pyx_kp_u_pydev_execfile_py, __pyx_mstate_global->__pyx_n_u_execfile}; + __pyx_mstate_global->__pyx_tuple[7] = __Pyx_PyTuple_FromArray(__pyx_temp, 2); if (unlikely(!__pyx_mstate_global->__pyx_tuple[7])) __PYX_ERR(0, 91, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[7]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[7]); - /* "_pydevd_sys_monitoring_cython.pyx":1789 + /* "_pydevd_sys_monitoring_cython.pyx":1798 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_mstate_global->__pyx_tuple[5] = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_mstate_global->__pyx_tuple[5])) __PYX_ERR(0, 1789, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[5]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[5]); + { + PyObject* __pyx_temp[1] = {Py_False}; + __pyx_mstate_global->__pyx_tuple[8] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[8])) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[8]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[8]); - /* "_pydevd_sys_monitoring_cython.pyx":1845 + /* "_pydevd_sys_monitoring_cython.pyx":1854 * * * def update_monitor_events(suspend_requested: Optional[bool]=None) -> None: # <<<<<<<<<<<<<< * """ * This should be called when breakpoints change. */ - __pyx_mstate_global->__pyx_tuple[6] = PyTuple_Pack(1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[6])) __PYX_ERR(0, 1845, __pyx_L1_error) - __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[6]); - __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[6]); + { + PyObject* __pyx_temp[1] = {Py_None}; + __pyx_mstate_global->__pyx_tuple[9] = __Pyx_PyTuple_FromArray(__pyx_temp, 1); if (unlikely(!__pyx_mstate_global->__pyx_tuple[9])) __PYX_ERR(0, 1854, __pyx_L1_error) + __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[9]); + } + __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[9]); #if CYTHON_IMMORTAL_CONSTANTS { PyObject **table = __pyx_mstate->__pyx_tuple; - for (Py_ssize_t i=0; i<7; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + for (Py_ssize_t i=0; i<10; ++i) { + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -33866,16 +37318,20 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { { PyObject **table = __pyx_mstate->__pyx_slice; for (Py_ssize_t i=0; i<1; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -33890,36 +37346,55 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) { /* #### Code section: init_constants ### */ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; CYTHON_UNUSED_VAR(__pyx_mstate); { - const struct { const unsigned int length: 10; } index[] = {{0},{1},{82},{24},{4},{22},{179},{14},{24},{4},{1},{1},{8},{7},{6},{14},{2},{9},{8},{4},{18},{9},{56},{23},{15},{11},{14},{3},{3},{13},{31},{33},{8},{11},{11},{16},{7},{23},{31},{32},{4},{12},{22},{29},{12},{9},{12},{30},{32},{31},{20},{20},{19},{4},{4},{29},{4},{8},{22},{14},{9},{9},{8},{9},{116},{119},{122},{118},{103},{20},{5},{18},{14},{6},{10},{28},{30},{22},{40},{42},{5},{7},{18},{11},{15},{11},{18},{3},{4},{18},{8},{11},{10},{17},{16},{26},{28},{33},{11},{8},{4},{11},{17},{9},{17},{18},{11},{13},{13},{11},{8},{7},{4},{8},{29},{23},{11},{7},{14},{5},{7},{8},{5},{3},{20},{16},{15},{7},{12},{13},{19},{3},{8},{18},{9},{9},{5},{6},{3},{9},{5},{8},{8},{10},{6},{11},{6},{28},{7},{8},{8},{15},{17},{27},{14},{10},{5},{14},{12},{11},{8},{38},{3},{41},{42},{14},{19},{20},{13},{19},{10},{9},{18},{16},{45},{8},{9},{12},{10},{30},{35},{7},{27},{28},{16},{10},{39},{13},{27},{22},{5},{8},{11},{18},{8},{27},{13},{7},{23},{11},{22},{11},{16},{22},{9},{5},{6},{9},{4},{19},{14},{7},{5},{4},{8},{15},{3},{13},{3},{10},{7},{10},{5},{8},{10},{7},{41},{6},{17},{2},{7},{17},{6},{3},{11},{5},{13},{13},{34},{18},{9},{12},{11},{14},{6},{14},{33},{36},{31},{36},{27},{17},{17},{12},{29},{14},{12},{11},{10},{27},{25},{28},{37},{14},{12},{2},{10},{17},{13},{4},{17},{15},{26},{24},{23},{14},{6},{6},{3},{4},{5},{4},{10},{16},{12},{11},{31},{10},{12},{19},{24},{17},{18},{8},{5},{16},{10},{5},{4},{15},{27},{7},{21},{14},{17},{3},{11},{1},{8},{6},{14},{12},{11},{18},{9},{7},{9},{5},{13},{23},{16},{5},{6},{6},{21},{12},{11},{23},{6},{4},{6},{124},{11},{11},{33},{11},{71},{29},{39},{7},{15},{13},{593},{137},{99},{536},{106},{16},{14},{23},{11},{59},{56},{55},{55},{203},{97},{45},{128},{845}}; - #if (CYTHON_COMPRESS_STRINGS) == 2 /* compression: bz2 (4295 bytes) */ -const char* const cstring = "BZh91AY&SY;\251\251\023\000\002\311\177\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\300@@@@@@@@@@@@\000@\000`\020\3372\327\250s\274\331\263kT\355\247\257z\321\216Q\007M\330\356\032\200\244\225t\273\224\035^\333P\000}\360\002Q\021\006\246\232dj\236\320\323S\304\320\323&\t\246\206\246\243\301\030)\350\021\351\251\2651<\231&\310\032\236\232'\251\230\246L\321\205=\023\324\032 #\002i\244LRzi\232\214D\331\021\246G\250h44\000\310\001\351\0322\003\3244\031\036Q\240\r=@h4\320M\022aL\246S\365COS\310\312\033S\324\320\321\241\3524\310\321\351\000\032\000\001\240\006\200\000\000\000\000H\210M\002\0044!2\217#Q\371$\3654\000\032z\200=CF\215\000\000\000\000\000\000\000\001T\232\030\214\230\231\0312`\0022\031\014\201\200\000&\023L\020\321\215\002\014\002`\232`\000\000H\221\021\2110\232\233MOM\0312$\323\324z\020\3654\032\006\232\000\000\000\000\000\032\r\001\240\001\264A\377 KR\333.8\263\013\331aA\233b)Sa\206!\177\201b44!\264\276\207\3556\367\332!\214q\020\205\367\374\374?\322\351p\257\361\365$A.\020\241A\324(\200\226\251,`\006\246+\37560\000\304 ~_\336\337K\253\361\374\277GW\361\374\035\213~\260\205\220\204 \370@B\021\033i\351\365\"7>y\375s\335\237\347\372\356\350\216\006]+\351J\t\322\227R4\245)}{c\266@\301\214m\211\214M\211\26646\r4\230\306\206\330p\363\356\374_g\325xx\260z'J\200\363\320H0`\301\262\262\242\210\204\231\220\037\364Q\210D\2334\336\313K'\236z\313 \022'\277?\017+\234Ns\243\262:?\227\351\373\340\020\261kk\034\222z\377\305u\327^\250\032M-4\333i\264\330\306\206\3060m\266\333I\2466\3306\014\032m\r\206\020\272\253\214\250\276\311\366w{\200\254>\037~\332\241\024\000\332\302\020R\027\022F\255\r\246\306\325\206\307\014~v\266\273\006C5,\360\331R\276<\244/\263\004\"\302\263i\2614\006+6\206\322\243\314\245\342\32541\266\335\020\270\225S\035\332\021\332\177\n\316JM\246f(\306>\232\306\374\326A\232.\326\332\002\333\2636\017\002\3226\347f{2\245\220[vcf~}so \335\235}\006\207E\264\232\207\246\030\000K\355XE\201\310\"Y\200\022\365\013p,0\302\025\304v4t#mS)\314_""\000\t\2162\201\264\311D/I2\224\022\276T\273\242\034\343u\200AG8\026ij\375F\020b\206\234\005\321\023\260h}/\223\332\362\014\354K\316\032>\335\275s?\360\332\314\177\231\227\347l\017\352\255\214\230c\310\201\231\361\014\377\313\325\347\035#N\236.\316\276\327I@\202x}8\342%\223\250\271@m\2603\000\316(\314\273\\K\337\237\302\360.\026\342\371\330\333v\374\006Xn\330 \213E0K\325\244r\326C\0330hyH\020\250\366#[o\351W\036=\361p\270\\98\356\357\3428\362\217\274:a\317[\262O\037\206\021\031\373\360\221d?\272.\317\244i\244D\206?e\324\001\010={\35776-#\006\351ZTO\365EY\3160\203K\340\340\225cBq\013\253\233sf<\230o\237\\;\037\255\304c\335\222(\334\207\2437\246R}\006\256\216\2323\201\266\231m\341\003\215\277Z2\274\365\366y3g\023ZD\302\234>\274Pjq\333\346\342\336Eke\3429n\307\331\373\267\254\"@=\001`\320\031;\253\362\262M\270_\25423)1\374\007\277\302\235\223\033=\225(\236B\340\302\342\007\000\\&\337\233=\303\236\301\225\230\310d\266Ct\361\356>V\336\371\365\270I)XB\355\217\215\365\031U\005\252\3628\365\"C\316\307\213\223\274\263z\267\035mm\256qq6\371\006\304'\253\372r\366=m\235\236\217\242'\251\341\205;\31283?\002lC\010\013g\253\021Y\2100\301\337\301.\267\355\177x\251(\333F\270\211\313lf \3243\303&$Xv\324\242D\205?v\357\"1i\275\272\023\017\313\362I`r\r\345\301\321\325\221j\014\357>\321o\361j\265\375J\267\3400\351s\021k \313`w\001v\274T%u\345L\207\275\332\265\036[4\036\010\022\353\333\333\340L\202\322\376\325\013W\251%\027\367r\022\037\206'\036Lx\013\353\360j\342[\023\206n\266]3#0f\014\345\206\3057\265\020\2173.\322\266kA\314\325\250\231\r!\033G\246)d?)\255\342@\216\344\036q\305A\2274Yf\310\322\261o\313\005\232@\232=x\030$\244\263\311\227^\332\005;\330\325\312\270\303\347\350\246\035\254\371\256\3335\373\344\037\333|\230$\276\007\301N\305\365\024\023\tp=Ej\026h\267O\255 \243\213\336\263j\316\021\206}o\257\207\235\327\274\343\331o\254\215\334\236\002Z\320\023\336N\356\207X\013\256>v\220\224Ne\023\217\031,\332V\337,\014\243\270\2770\330\206}rM\311\326\014\272L\247z\225-\210\266C\245O\275""\265U\251\t\210U#\027\321\243\022\334\033;\263+r\305\204\272\340\206G\r8\212:\016\341\263#\013=E\235\2479n\343\351[\210\r=\007\214e\247\177\212\0365\205\340>\3733\263\237\303'\003\006`7FUmO#&\231\231\237*s\tS*\265\201\3422\323\356\375'6_k%\366jjRj=]\241[\276\365\245\270\r\035\327~q\3219H\3544v\277R3i\337\262\306Z\307\024\272\220\201\r\224\233\327\316\346\256\334\362p.@\3323\270\004\307\334@\022c\230\240S\361\200\360Sn$Q\003G\272\201\\B\250CR9\252\341\214\352vmY\223\317\356y\234\353\371\032\355\314\311\005\371\010QYJ\206\335\"\241\372v\304\354\330^\207qt\301\230n\316m@\306\t\254\024\223t\333\354\007\313Z\202\330\335S\236\225\024\027a6P\257\037< $R\226\261\255t0\246ax\312\361\027A\257A\325\204\001\231\220\226\032q+M\321\026u,\265\216z4\021\306~\013\"\222\301\234\304^\271\003\300hde\007\n\207s\013\247[\033\021\242\2036\211\251/cu\314\254\330\\\343>9\355Y\260el\310\352\344\027bN\255\205\001\242\202\364t\030\275\252\227\220\352\242\201\235\357\324\250\207T\245hJ%n\206\252\270\225\024Yk\203\334\200\244-\330\216\223C]\033t\337\225\036&\241\031\335\r\343zWg\032J\312\274?\243\367\210\314\025F*\235\035\210\323\226\251f\354b\271b\273\235\325\031\253\034(\003\007\205-\215\267T\302b\274x\350.\010\264\031\303\276Q%\ng:\320\266-\3269\212\204\336\226\207\032\272 \347c\333\343\360m[\273r\033\035\342\335\344\027\306l\266\331j\200\301|H\313\375\306\032!\021\325\\\314T\031\nT\230\226K\227\307x\2068&Ad\314Ms\355B:N\r8]\264\333L\030y\034\331-e\007\237\376\215\3757H\311\367\274\3048\356sm.\\j\3425\225\274\340Y9*i\003\035\204\020\346\207\205\033\016\335\257\033\201v}\307bsJ3:hE\022\351\316\321j\0319K\273\213X\374\034\272\272\010\305\240 \301\240\215\255\333g\216\026\230\321\320\003\027olT\345\260\222M\212\223P\334\222\016\\\367\372\241\027\030G#:-\024\005\341BV\201\230\347\303&\206\3322\0201\321\263\223%K\270\316\014{\371\310\306\271A\343\2563\307\311$\360g\214\233\261\341\364\221BZc\035b\214=M\rS\0239\r\3159\330\3302\226@wv\370m\206\035Z\221D\024l\240\035\014\232\013\2610JN\225QJLJ\251Nz""\001\016\036\216\332zS\222\033\301\024\267\001#6t;.|0\301\024\317\024\200\237#}p/\264\346\244i\001\236\243\004!\006\005\3026\254\3144\200\2219\245\302\030\001\235<\\!\024&H\204\346\000A\353\342af\214l4\333a\325\004f\321t^\364\227\021\003\274\336\222\353\\\246\013\263\n\266\330\333dgY\314\30602+\332\313,\363\266W.P\230\222\224\212rP\240\335)$VK\203k:\275e\027\"\\\tVW\021c\222az\365\333\352n\262\273@_\207\343`(\"\202\2150\357j\n>\242Q\n\\\2609\271\206\327\006\255\366h`\231\355v\223\226\2423eu\264^7H\300\227\004\350\0051\306N)Y\241C\250c9W \221\263LH\337\306\272\320\306\303\320\252\316/\007{\010\254\315\2518\013A\264\330\233m\215\341\261\021\212\241\006N\032m,\003\023T\200\333u-\032?4\313D\305\014\212\323$\031m1\27164\373\235N\216\344\366\235nE76\262\014\305)Fh\254\210(&b(+H a\202\024\333eQ\206K\311\305\323\335FV+W-\007\247\275\201x\333\332rj\255-\004\236\177[\034\264k\337\033/\021\312g\025\311\262\300/:o\315U\233`\213\243F\331\301\204\345\210\357\327$\331\310`\006\325\352\305tz\272\361\024*S\033m\010\242J;\304\r \304\213\346\316\200\3375\t\316\252\206\255\266\332\236\234\342\251\204\323]7\223\264x1\325\266\237\262\276\007\305\006\202\355\\\"\026\0022\331\252\r\360\342M2ag\033\214z\232\324u\224z\031\302m1\242\310\272\222\304\333H\336E\253\330\227,\327\263vZf'X\014\230n\237V\371\213\327\227\233\234\220\262J\241G\325\336\355\202\327\275\317\357\337\260\337\261\255\251\215\352\371\320\302R\033:\034O\232\034\270\357\266\2439\220\361\220\244\251LDb,m'An\256a>\024\354\004L\366\312\224\033e\003\001\314\203\"\033etE\361\366>\0305j\272\3045\323\226\273E\220\317\037\005\200W\314D#\033\013k4\203h\302L\025_NshG\014O't[,\321\230C\000\306\253\030\003I0b:\032\"\257f`j#\237\237\261\245\325\315a{D\320\245\022\240l\033\032i=\221\0145\242!D\304\353\275\357r\314\020\035\263+\233\033ce\273d\3054\306)M1L`m\262\032YF\027&<(LIApa\003\000e\357\311\205\330`\026k\rb\021-\243\010\205\014\273\"P\341\2661L\021\020Cl\nz\024\344\344\3628\333)\212\246\224'\222!\306y\306\324\320P\340\214A|R\204\215""\346QG\226\"\322Kek\325\254\3228\256\2430,H\346EF12\255\364`\006\220\325C\2043G)\205O^p\224\252\000\305G;C\016N\t\211\350\326\214\341\244G\007\010^\351\3503\222\327\323\r\270\215\326ap\027oa\216\245\267\336\264\361t\367z\263\355\t\274\306\271\020\230\311&W\216\352\203\226\314\346\000\326\007BYj\221_\0200\313\006\356_L\207N\261wZ)\215\266\255.io\t4`\274\241\245[\330[\241\306\323\n\3357\"\364\2352\023(\236\304L\t\334j\255KqBD\365\252\r;\353\177\"\310\0343\000\274~\302=\020\034\225e\222\014QE\022@\212:\227\260\335\027\000\232AcZP\267t\240\353\221!9\206\323\247c\014\367\001,\250\t\030\301\243P\262\007\240\266\214\273\221\267N\325\375\274\364\027\351)\367\363T\212\251Hl\3423\017\021\337\025\223\"O\243z,\021\354\203\246\340e\201\256\360\024\026\371\177\r;\230\341:\252Mq@\316\t\200rEF\005#T\200\314\026\022\306\230E\206\t\264\315\222\370T\214\332\347\214\t\362Z\232\261\001\014Dos\241m\223DQ\025q\267V\272Jm\206\360%\035[\3558vxWz\334\2261\267\003\023z%\220B\335\3023\256\331\263y\263V\207\332\212H\214\360\354N\016\266\027/)\304(\265\003\252\230\331\322\344\205\251m\212\300\r_\023\2225k\223\324\206\310z\004(c\000\017\313v8\267\026\211GA\236\353\n\323\035\010\230m[)\256$&9%\256tc\2634\"n\256\370\260&\320]\347+\260\273:\301\231\260m\214\326\014Ss\r\246\31569C\321h\217\023\330\321\341\300\205\343\334\214\361bY^\300\252,\032Q\334\255\020r\261>l@\344\025(\311\312\302V\325\352\341\357\033\346P\331,\352RX\225h\3077\244\306\210Q%h\245Z\245\355\237\0205\217'\226\201\266nL\314\010\002\200\370y\\z\266k'>\331\302\344$\325&\366#\220]\335\362\252\021p\252\246I\002\214\241q\310D\242u\201Y\223\005\205E\301y\350%\013\233Rb\0136\0342\201[\010C\036\323\272\264\350\211\026;\021\006\032`\242\252 \206\262\357\341~\377\246\355o\370\035\220e\002Q\305\320\264\035\305R\256J\264 \343\327\244\255+\324\024 oN\354\273FI\001tP\013w\223\253\245\361\264\347\315\2227Jx\262\t\211E\034yo\335t\352<\331\257;\261\221Co9*\261""\302s\214o\213\300\357\266\n\270\372\006\222\036\204T\021X\035\024n0\3505\r\020l\215.`~\300\301\363~e\320\032\361Z\033\023!\031I\254\264\363\355\243\032\214\260\357\2545>\314\3674`i\203C\205Fq\203\004\032\261\3626\301\311\240\343\r\263\347\"\272\373\270\026O\245\274\216\007K\275\246\270\024\0247\330\326\373\345.\237\362\336k\333\324|\337N\323\013\300Q\2037&\007\022\272_j\207\t7\340\2473\023Y\213\236\313\331\3146\2478\325\362\344\234\367\363\301\237i\364\033\3775\366N\017%\037Q\362\203\326\245\363\363(j\251Q\271\274\277\261K\361\321O#]\\\247Q\016^/{J\271\265\276\276\235\226\177U\231\207\\k\345D=\236\270^\014I\372\2163\354\353\232]'3\270x\375_\217J!\214\265\254c7\031\3540\251[I\306\242\014]\372\365kw\214\332\267\306\212\324\320\322o\307I\334\362\241\306\312\315\205\210\343/\004\345\244H\300R\200\252\262R\373Bso>\031\375\014'z4\032\2244\031\242\263\362\341P`\305\321_\235\0359\346e\032\264\233\235\306\313A\007\324\371\360i\375\025\264\205\r}~\365!\263}\220\364\177L\343\243B\243xZ1\317S\246V\317\202\276\177\000\206*^\035\377\036/\017\347\232V\304\305\260\325\215_\251W\014\256!\203\026\224\221\264\312\234\221T\327\300\313K\034\317\0101L\276\346\341\335\2275\233\201y-j\233z\222\204!\354\341\033w'\220\223\217#\242\344C\317\321\256+%\334U\356)\332\216\221\331\333\357\307\361(\333\035\220\217\337\362\366\365n\023I\212\347{@\271`\273,\325\363\317\217\201oqq\254\021\271\261\267X|\234\362um4\336\314\330\245\367a\357*\232\311\275\275\204\300b\240\213\222v\323\261\260\242\026\023X'*^\365? \305Q\212\231A\376S\332\"\377\022\003s3\307\260]\277\250\010\314\nF\026\022\224\357\344y\"\355\335\342\005\001fo\200\021\037|,\334b\007\336a\2254\203\211\211\0149T\337\337\010n\000V\273\271]\217\027\226\336\276\312*\002\257N\224\300\203C\036\344\365P\024o\215\200\026_\2736@n\234\305\331\311\274\263^\302\305\313\254\2012\340\022\362\364\243\000\254\326j\315\244\006\221J;\263)\231p\325&\035K\005f\206m\361I\025\230\025\236R\313\304P[]\273\205\272\334\253\t\255\313k\273V\2038U\205\020\205\220*\313q""\254]\005\310!\334\267\t\222\tAW*\261H\253\030\3643\374J=\240\245F\262\250fVa\252\254\320U\335\235\340\227]\305R\r#\322w\230-\n\257\215\211\347(\303\005|\262\320@\320\373,\003\032HT\377\305\334\221N\024$\016\352jD\300"; - PyObject *data = __Pyx_DecompressString(cstring, 4295, 2); + const struct { const unsigned int length: 8; } str_length_index[] = {{0},{82},{4},{15},{1},{4},{1},{14},{8},{1},{4},{22},{179},{14},{24},{24},{18},{56},{8},{11},{7},{6},{2},{9},{9},{23},{15},{11},{3},{3},{8},{11},{11},{16},{7},{4},{22},{29},{12},{9},{12},{30},{32},{31},{20},{20},{19},{4},{4},{29},{4},{8},{22},{14},{9},{9},{8},{9},{5},{18},{14},{6},{10},{28},{30},{5},{13},{31},{33},{23},{31},{32},{12},{22},{40},{42},{116},{119},{122},{118},{103},{20},{12},{11},{17},{8},{9},{17},{7},{8},{7},{9},{8},{8},{12},{8},{8},{13},{10},{8},{7},{11},{14},{12},{11},{10},{27},{25},{28},{37},{14},{12},{10},{17},{13},{12},{12},{19},{8},{13},{7},{18},{10},{16},{29},{5},{16},{13},{18},{5},{19},{10},{9},{30},{35},{7},{13},{11},{17},{13},{34},{14},{33},{36},{31},{36},{27},{29},{4},{4},{14},{18},{7},{23},{23},{11},{15},{11},{18},{3},{4},{18},{8},{26},{28},{33},{11},{4},{11},{17},{18},{11},{13},{13},{11},{8},{7},{4},{8},{23},{11},{7},{14},{5},{3},{20},{15},{12},{19},{3},{8},{9},{5},{6},{3},{9},{8},{10},{6},{11},{6},{28},{7},{8},{8},{28},{15},{17},{27},{14},{10},{5},{14},{12},{11},{38},{3},{41},{42},{14},{19},{20},{13},{9},{18},{16},{45},{8},{10},{27},{28},{16},{10},{39},{13},{27},{22},{5},{11},{18},{8},{27},{7},{23},{11},{22},{16},{22},{9},{5},{6},{9},{4},{19},{14},{7},{5},{4},{15},{3},{3},{7},{10},{5},{10},{41},{6},{17},{2},{7},{6},{3},{5},{13},{18},{9},{12},{11},{14},{6},{17},{17},{12},{2},{17},{15},{26},{24},{23},{14},{6},{6},{3},{5},{4},{10},{16},{11},{31},{10},{24},{17},{18},{8},{5},{16},{10},{5},{4},{15},{27},{7},{21},{14},{17},{3},{11},{1},{6},{12},{11},{9},{9},{5},{16},{5},{6},{6},{21},{12},{11},{6},{4},{6}}; + const struct { const unsigned int length: 10; } bytes_length_index[] = {{124},{11},{11},{11},{11},{55},{55},{56},{59},{104},{111},{142},{541},{33},{45},{23},{16},{845},{128},{71},{29},{7},{39},{13},{15},{14},{593},{203},{97}}; + #ifndef CYTHON_COMPRESS_STRINGS + #define CYTHON_COMPRESS_STRINGS 90 + #endif + #if (CYTHON_COMPRESS_STRINGS) == 3 && __PYX_LIMITED_VERSION_HEX >= 0x030e0000 /* compression: zstd (4205 bytes) */ +static const char cstring[] = "(\265/\375`\272!\035\203\000\312\242\310\"H\340\316l\0030\314#\014\343\343\032O\360\224\047\362|\314\216\3311;f3\004{\314]d2%\211\344j\270\024mN\226\234\354\366-\001\177\352\033\177e \355\346\204\377\216R\354\005\372$\313C\276\222h\002\365\274&@\277\005\001\002\342\001E\002\265\215S.`|2\252JRTx\005\343\350`8E\315\205g\217\356\025\035\247\341\022\205\272\254\264\327\246^a\264l\301\332LU\032m\206&c\301\\d0\314Z\te4\332\212k\205g\254\227\226\020\006\263f\256P\266z\271b^\262\027\032\213\304\313\214%\3033\260\325\213\005\233\275\314h2,\026\332\014\314\205W0\254\325\014L\026\322^.+\2305\013A`q\327us\007\265\337/\215\356\227\007\025m\252\343>9\250\350RT\345 \252s8\244D]\212B\215xT\237\266\2545\367\022\300\016\047\020\205\261\251G\214At\227^\314\030eC\313ss\022\034\263\3466\036\324\235\247:\202\031\3247\373\324\034\334\036\354=\233\"\310ujj\026\020@m\254\225a5\254\035!\237,\366o\274\r\273\000o\t\370ql\203\320\357\343\"\265\203y\303WuzC\270)\227B\351\305\340\236\334\t8\327\200\373q%\204|\037\027:4{$xF@\260\202\204\t\240\213\016V\362\334\230\252\335w]\037\265N,\315\235\362\215}i\246\275k\025\343\334mo\233m\252\333\246{S""\315<\247\246\356(W=\327<\0355/U\234\346\275\264i\256\371\250\323\267=\352\276u)\252\357\276\315\334\273\256\371\361,\375y\342\344S\333\362\211\367-\237\251\316f\356\326O]\346\366\251\363h\333&F\367hf\224k3\343^v\233j\326\312\336m\265\361\354\233\354&\306&\266\301\275\226\261\266\231[s\322f\304|\343\316\371\210\226\244\307\244-\373q\324\236\357To\324\367lb\362\304d\211I\222\304d\357\232\2478\272\337\350S-s}\344\\-S\235\250Ms\213c\337\"\337^\047f\022\217\247\230K\236oF\263\264\021;\326=\327:j\227\"\252\353\271\333x\346\332w\2543\3234w\323,\317s\314\242\267\261\251\031s\335\325\233GU\216I\315mD\237\323\216\232\332\353\272G\313\235\336P}\3247\271\243\324Z\337\033-\275\272y7G=\3524-o\035\353\310\322\306I\217\352\261\324\\\355\030\217\250N\273\332s\016\3571\213\345\366&\336\265\26341\276\211\271\326\265\307fVq\265\354o\264y\023Ko\252]\363S\3557Q\333\210\251\346iN\237\031\315^\237\270\2278\\{T\213\373\324\276\304\230k\024-\265\226y\034\375\302*2\245DUR\313`r\301$%\303\366)\370\002\n\006\022\305\3147^s\014i\3469\224J7\263\270M\016(\023\254\242e*\205E\025\306\242\327\232g\230\211q\177\325K\365F\224\374\222\006_\305*\000\371z5\260C\352\345\336\313\344\233\360N<\020\"_\244\300\207}\\\317\345\027\362R\274\225\010?\202\006K\301\302/\326\212ZT\252\255YK\276\314V(\265\047V\003\"\317\201\027\037v\265\222;\003Bl\204\265\000I\344)\360\"\265\232\004x2^\304\\\221;k\025\260*;\001lk\013\334{\301\343{\204~\270\317:\373\264 \351\013\020y\024\270\021Z\004,\202\220/C\344!}\336\010.\r\033\262\n\002\374\365#\257\006\026h\220X\261\023\262)vdE\331\361\254\310\332\261\213\231i)\260%\026\301\306\337\010\371b\357I\203\337\200\300\347\020y\000\204\251^\213\007\262\023\241\271$\242P\247\013a\0342a\"$#\023\232\315B--\240\\\016\324;(MA\267\033h\034A%J\314f\240\327\013\324ja\350\350`\344\344`\344r\267\033FM\rF\211\022\03011#F|\314\233\355\333\306?\342\217e\276L\370i\273\220\335\313ksQ\243\333(E\212\021I\216ffF/\243\227\214\025+2pp2r\316\240\311\240\021\351\350\210rrD\242(\302X\364A\364!\264bE\010\005""\212\320\211\023\241\020!B B @Z\203r\006\301\300\200d2\020\013\013h\005Za\334\334`p\216!\223a\2740^\037\025\036\317\213\234\233\177S\363kJ\374\022$\337\344\216\234J=\021\236\212w\364\342\\\225K!\367r<\234\235j\007\332\235\274-\267\202\016\213\317B\367u)~\n\362\2234\237f\346\317\264\276\212\267B\341\373V\304\343\307~a/\206Ga\207\362\236\336\321E\241\270\024\362\373\3405\333\007-M\376\301\274|[o\003\257\265K\355\374\213B\340\023\320\360\341\3027\306%\001\371\376\207[?\326\002\254\211e\2551;7\256\311f\260\270u\264rh\370b\253i-\201\000\360h\274@\361Q\310\276,\345\177v\031No\351=\340\216t\374\334\033\300\373P\362q\256\205\222F\333!\354\241\273\026nvQ\037\027\327\342\260\034v\002\364P;\0327t+h\370N,\312\272\302\305(\344\313\001\034\277\023+\200C\213cK\225\0016e\355\320\310\254\t\311\375h?a\017\004\315\354\206\267\343Ui[\270\274n\360}z\037\270\035U\310\213\351\231H\361Z\027\336\004?\025\036\355\311\304\3619\\\010\356\004\322o=\311\253\307Z\n\225z\007~\261\236\002\236\310\351\332\332\034\333\240\324;!\263\263\2759\227\344\303\373\300\020iQ>\356I\373\200\346\304?\021\363ch\237\226\372,\267\303\035\021\360\005\204~a\373`\366O^\213w\345u\300\340\2670u\370)\026\304$\272\271V\025\302\242\304\234\273\342\202\264*k\007\307l\275I\365jv\032.\200\037$\360U;\244\215\003\377\300\350k\230\020\\\022\003\377\303~\2549?\234;b`\332\340\235\354j\\\r-\250\325`O\326\016\222\357\363K\275\005^\013m\251\335`\017p\370R.\3105\301\352\354\020 \371\302\265c\305\360\013\333T\353\262\2324|\"X\203\264\250R\213\224\347\230R2\"\"\222$I:\222 \004\205\2434\017\366\360\r\202\0315\212*c\034\021\031\221\021\tDDDR\220\224T*\035@\222\037\344T\004\227l\372P\234\326\320\204\004\017\336t:T\261\214[\027\343\\{\251\020\304\371\236\247.z\313p\313\007\222\2549E\rU8\361\354\265Uy|p\0354\047T\025\232\033\360\235\227\020H\003\277p\260\227\324\047\314\0350c\047\276\357\305\211I\024cIa]\332\21321-\301\322>\026@\355\\_\372P\210\213\0135\244\310s\303\357l\024\270B\347\200\007\335\277\365\022K\300\002\305\035\250V-0!\031R1y\262\351\000\304\226\355\244\252Ww\312\340\211\010J\375\320\247J\325\341\3525\201=\0130\355\341\357\016S\034\031\350\200\314X\206\277\301\324y\361[\006\003Vav\017\316\210\202\201\254\027y\253\017\332\311\334\3050\3633h\007)\275\241\355B\n\227\320x\377\353U\376m\212b\030\226\217\024\212\330\224\"$\347\003\277\221c\223\372\020K\344\013\025\215hu\240\270\350*~\016I\203\\4\047\t\376jMh\244\345\020\272\362wm\013$9\263\226\213&\344\332y\201\205\372\210\021\0033\375m9\373\337\365\241\2209F<\353U\005\340l\021\336\330\255\203\211\333-\\k\220\020\252|E\225\037\253[\027+\240:]\256\274\034m,\310\220\221\321E,\344*\271~d\271\336\226\t\224\377\374\352\342z\033(\343\003k\343\211\027\222puK%t\207\352BQh\273\305X\334\252a\370\276\342\300K\266\362(\274EH~\272\223\311\305R\031\3006\365\360\361fH\020#_\252z\276\201\005\364a\353_\341.Y$y\252\240@\r\276\362\242\311\271bql\204O@B\300\010\020\013T)+\322:\224\332R:*Fz\214w\254#\004q-\220\311\027\354\037- 4g\263_q\006\0317z\254\307\026\r\205g\026\310\276\220\261-j\217\336\375\226{\244e\211v\272\253\177\254\201\370Qt?\000Q\232\310^\357\276\212\347A\312""\266J}\350\314\244F\013_\010(\017\354\300\003\036s\312\336\033\032 \023\302_@\340\006\306\nl .\006` x\352\365\n2l` \341\301V\271\231\3623\206\277\243\354\254\2306-\020\374\312\2655-5\260\210\202\334\240DX\360\257!\215\344\300\224\200\202\334\370\313\203!;\376\262\340\311\2159\356\263s\344\307\035\343\3313r\343\217;\257\331\262\344\300\357\024\274\n\347\300S\321\205\020\047\322\047\341\034H\243\354r\256\240\026\315s\014\227\2714\326XT\333\2663\216\202\240$\223u\213j_\177z\356\305m\276\354\376fo\026\310\270;\200\350\310\270F\313\320\247m\216C\314O\324\323\334T\372\035\000+\243z\300\016\030\360\366\251\263\022\245\001\024\376\202\221\330=?\340\322G\322^\330\251K+\215\331\003\357\270(ts@Zg@j\206nY\016\0472E\242n\243|w\rE\016\014\354s\214\036y\036A\201\030\256\230\315\241E{\033\211\212\253!\271\266`N\241 u\201\264\2225nl\020\212\201g\307\326b\010d-\324\335\205`0p4\276rT\025\371_2\323\355\003j%\200\344\006*\014e9\220\305\240uK\304dj\017\300\376n\\\373\273o\303\0264\232\266\030\201\306 \273\215\3411\351\344Z\204\221\360&v\377\202\004\2373\2130\033k\r\006\031\362G6\332\030\047|`\227dp\322\3225\307{\214f\030\351:3C5\350\316\346\316n?\332\374\031r$\253t\267\246\361\322\362/\344\047\225\343\246\346@!\303\253\216>\326:\2576\222K\261A\035`8{k\004\360\207\270\356\232\333\307k\351\355.\310\340\360G(\034\373\035\047\215\230\216\273\020c\340~paQ\223\300&\022\260y\316\264\264Or\212d\373g\005\312\271y\047\003A\032\275\255N\022\200\305\256\243\331r\363\267\215n\007\350\033\336\r\214\262\253W&\316\016\262L\307\231\231*\241\274r\374\376\r\361\303]\316\005\234zg\356#?\265\020\266\331\352O\037nM\207\177u\267+HX3 \3170\377y\213\334\312\301\013x\327\374!\003\270r\264\264\353\345\035`\303\342\334 #\247}\252\020\346\251\275\361>Z\207\310\225>v\361H\234\047\000\347\322N\234\255v\272L\362\203\231<8\325\206\371\314r\314q\251v\361<\253\260\350.\337\274E\3238\337\\\330\0369R\366\0066u]\302\247\247\324\030\364\030\327\200\353.\215\0042\034`\367\323\371\357\313\nt\346/@\223P\210\370\317\215\325/W""\257\337\217\315r\n\027V\263)9\261\200\004\330\246\311\010\334\232\335\200\373\251\225\025)\211\320\257\026\343\021\027\307\375e\032s\265\377\335\251\226\317<\244\361b\230\021\315v\371\005\213\375\343\251Q\007\332\271\324\316\236\000\273L\nM\352\230\001\240\2115\267\354(\377&\200\020\321o;yB\344tQx\241ch\363#A\363\250Gw\013.RZ3\031\300\214]\353k\032jYe\344\234\353\365\010\363\362a\346\256r\262\301\372\362\311\007\350\373!\373\3571?\005^\304\252[Xf c\331\215\232\311\360\212rAS\023\326\024\033\\QK<\311\000\376\341\351\357\306\213\352\205g\362\244S\217X\023\225\3509\206P\000\222E\304\250h\t{\001\035\036\201r\3215\010\303e`\373|\204B\314\020\366h\211\047R\027K\324|F?ZeO\222:\304;8Q(n\331\037\252\201?\307\301\022L[\251\031\205\263C\321:P \000\235\373\347\302E\020\2379+\272\255\332\261\266+\351\357\037(\334R\030\010\340\233%\234\367y\025\034o\267\r\347H\277\002\343\343r\237\374\250~\036\274\362\016\347$(Q\2274\311\335U\213m\207>\206\204\202\327\350+\203\020\250\034\211\217\010!1\010l\332\240\237|\350\243\257\013\362u\361\001Y.7\217\233\003\227t\363V\302y\211\200\333\334x\r\3653\341b\350&\351\204\200\374d\304\235\033\334\276\220\316*F\261\202\003\264\002\344\231}\047\337\240\363\267W\344\341\250m\342K\202O$\t\240\216+\371+n\352\260\313\247\254\206rE\236s\236peF8e>{\005J\370\363\244V\376\001\036\3679\310\343\244\207\321\204\265z\346\352_\343rP\037K\031\255\321\303\271\376\355\276\247H:\263\212P{\036cC7\207CR\231\n,\315\237=\363\246f\021\256%\210}\235I\304\003\301\n\273\264\373\320\20290D\370\215\374\203r7\265?Z2B\242\352\241\302\031\022!`\242\022Y\\\"\"\316\207\205\021\340r\374C2\021\277\036\n?\357\246\\\230\233s\331@\250lLN\261f|\211hh(\366/\331\253\225\252\301\272\223\365\347\252\300\345\314\204iL\034N\353\325\267a\037\034\266Q\360\376\014\361\333\261<\342!\n\330V\177\316#\221\013zw\201\333,lv*6\271;Q2&Ls%\250\302\247\004\354\245\3058;w\255\033\024R\t-\337\316\220\332\331&CT\007\312G(\025\314\311\025\242\313w\216\241\343\225\202R\034p\004\241\205\2335Wtl)<\203\3765\344""\267#\013B\213\047\007\342\310\316\320\212\250\242@\236\025;8L4/-\372\020\323Nk}\035\324gQ\026"; + PyObject *data = __Pyx_DecompressString(cstring, 4205, 3); + #define __Pyx_DecompressString_LZSS_UNUSED + if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) + const char* const bytes = __Pyx_PyBytes_AsString(data); + #if !CYTHON_ASSUME_SAFE_MACROS + if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } + #endif + #elif (CYTHON_COMPRESS_STRINGS) == 1 /* compression: zlib (4229 bytes) */ +static const char cstring[] = "x\332\265XK[\023\331\326&\220\010\264\330\202\2007<\032Z[\274F#x\357\343\351\010\021\370\264\271$AD\305\335Ej\047\224TRIU\005\210m\333\016\031\326\260\2065\254a\r3\3140\303=\3140?\301\237p\326\332\273\002!@\367\327\3179\247\037\233\265\257k\257\353\273V\345\2730\3747C\325\002\325\303iU2\214\260\251\205u\232\3236iX\n\313\245\\\256\0346\327u*\311\341\214\256\345\374\261\222\317F\210\2246\0258\245\345\303\204\310T%$\362\0352\013\217\3763|\315\324)\205\013R6G\363\346\365H\244PNG\177\002\006\237h>\254\227\362\205\362\263\237r\232\\R\351\263\177\315iy:\247\231\300\231\206\r)G\303t;M\013\246\242\345a\225\302\262d\206\047\313\346:\274\243\030axHY\243\272dR\265\0346L]I\233 9\034\312\207\027\342\013\267\047\036M\204\245\274\014\032|\244i\323\010\033\2455\256\0255\302Z&\274VRTS\311\207\315r\201\032\221\360l&\\\326J\341<\2452j]@\355[.\200@\371\260A\205dcR>\257\231\022\212E\340:\030`,,+:\0256\200\333/$\325\240\221y.\270\244\276[\3234u5ij\205\260\2227\024\231\206\225\202\320!-\251\352\273\017\227Wo\\\216\334\370y6\233\327t\032o*L\ne\231n\022\272M\323\031E\245`5\261\"\023\243l\220\234\226WLM\207\247\357\034\276L\322\374\t\270\266-\3112\001y\201O)\237\216\230\032^P\014iM\2454\217\177\263i\305\020#Y\260\202K>OS\227@\034]\203\2100\313|\031\231\336FF(\243?U\225<\215\275z\025\313\227\0475\231\246\300\240S\361\347K\323\323\361\004\231\235\342C\222L\305\022\251\226!YX\031\17795\233\214=\177\025\237\002\277\305\337L\306\027R\263\363s$\265\262\020\0473\261\271)\330h[]J\002\307\2459\177\363\205\246o$\245\014}\245\2457^\350\020,\370\360\013\220\014\205\230\315g\264\326q\204\020\235\312\2454\365\355BH\333.\370\326\000\227\036\261\237\245&A-\211\226\201\177\0318<\255jk\222:E\327J\331,\325g4U\246\372\354\364\334|\"NZ\244\216M\317&Q\325\3508\231O\220\351D<\226\212\047\376o\351\227\205W\263sq8\374\013Y\210\245f\222\0044\"\317c\3118\231\234\237K\305`/\201\231\320\014\240\205\225\251\370\353)2\273\260\222\232\001\256x&\376&\345\317\222K\311\205\370\334\324\302\nI\304\223K\277\304\371 \265\224\230""\203\00175\320\245\271\345\331\271\251Dl\026\014\310\367\310\353\330\253\245x\222L\315N\246R\211\330d\234,$\346\027\342\211\324J\212\347\264\370\213\252\357\215\016\232p\337\336\001\003\246J\005\225\0224\341+\260\034\236\33279\310\256}\373\000G2EUj\322)\004\"\361\366|\036\226\216X\216\370Ht\364\266\002\311\202\373{;$\245\227E\006NjyS\002Y\364\371\265\217\207\257\036\242\300Q\347\016jB\026\312\333d\022c\214L<\276;!\337\047\344\336\343?\315d\242\255!\214\021\242.H:\005\036\324L\023\236\314d\"\r\206#\321(\240\213\251\227xf\222q@\316\310O\252\006\020c<\213l\351R\341\177\377\346\003\235\232\233\222z\364\263\0173\017\036\336\373\257<\213\365\307\317D\362\030\266\304\360\350\227\037=\036\2777\376\337x\371Q\253\302\177\365\352\332\335\211\273\2173\377\371\253\023\210=\207=\263PF\360$st\333LPx\310/L\024#\014\252\016D\035?\2727T\362\020\224\204`\341\3013\274\274\355\r\000\346\024\223\346pA\244\016\221\221=R-\215\004\n8^\207\3016O\035\202\225\000i\266\031\341d7\255H\0162\200SjJ\273\017\211J\217\243<@6\247t\013IA\247\005\320\236\017A\263\364:Mo\030\245\234\230\351\324(\251\246\030\373\357\340\020k\267\030A\033\241\2447\200q+l\267m\355\301U\333\306~\220j\333;\034\021\370\241M\023\213&J\\,IjS\037\037\024\310Axh.\320m\234`\3506\357\030-\346;\004,Ljp\213\362r\274&\2457`,:\256&Q\225\334\232F @6Z\234\335\356v\036K\020W\334i|\242\240\302i\t\214-<-kdK\002\357\031%\243@\3632\341=\037\021}\0368\337(\201\203Z\302\027\233\023t};G\\\202>\047o\342(\203\265\231dy\275\304>D\311\224\211\261\241\024\n\024\322\301\244(\334_\354r\265\240\253\223\301\330\212\001\357\350Z\311\304j\014\023\003\332*<\253\031M1\375\203\242}Z+\035\230D\374\231!m\302=\021\217F3?[\3177g\221\346\014\330o\0244%o\032G\034(C\223\205F\000\351\324#\316\2445\300\017\351H\026\334\303\340\013\243 \231\351\365\303\317\354\343~8\240\350\000\006\320Z7M\342\007\211?\3430\"\034e\n/\341\253\033\373\235\215\034J\006\004\rxV*e\327Mpv\232_\302v2\255\345r`f\030*\242E\021;\000*\342\272!\025\nj\231`\343j\340_@\rI\317\302?C2\312\371\264\242Ev""\235h\254I\330}\346(7/\001\341\367\336\023\235\260\261\273\323*\313\201\275va[\017\010\257!\352\2654\301\351uE\225\021o7%]A\227\244y\213\007\001\267\233g\351\234L2`=M/\343\320\017HS\333\235\300\247\221\236\326\270\242\250\003\014\221\207\001TLe\021\020\000\360iMU\021\344M\275\354K\307m\346/\243\244`\324\002\360I\227t\235;\205[R\306\016\023\342\301\357\330\375\034\006\371\300\333m\331\332\352?\321\317\357;\r\047\340\237\261\245\340\267L)\307\277\233\350&\":\3761P\246\246\321\232\037\035t\033P\3310`%C\320\034\231=H\311p\336\031\322\224\013\356\370-\262\222\001\344\207\340\315\020\300|\310g\276\232\207\306Y\224/\010LZ\320t\023r\257\224\027\271*\363\3302\245lf\377R\353\224\243\010\312\204\000\306\337\001\332\342\333\214\002\347\320\364\246\244\343L7\2048\342\036\207 M\207\252V0\3273\360=\n\2675\010Z\271\245\217h~\324\264p\025\370\274\357!\0004D7i\r2P2\327A\031\010~>\002A\t\3062\341\360\006px\323\215\272/\274Q\034Nx1\357u%\3725\320\010^\262\213,|\327;^yZ\335`\213\211zp\320zb\277q\026\035\251\036\354\376\372\331zh\217\326{n\2711w\265\022\251\301\325\343;G]\373\311\336v\212n\240\345Z\304\225\334?*\371Z\354\317\256\375\323\351\001q\007Z\256\335q\213\354\356\317\325\357k\322\237\334c\203\327\335\263\336\2007\332r\361Q%\300\036\047X\342W\366k\363\352\267\236\216\357Fpo\300\032\262\026\353=\375V\267U\264\217\331\252\313/n\356,[q{\310\206\235S\026\234:c\025\033\360\307d#\267\335e/\206G\212\365\236\223\354\344C\317\254D+\323\325\247\265,[z\335\330\277$\265\275\263\352\\qT\357\212\047\375\215\367n\272\017\205.\342\275\210+{\243\336\303\312\315\352r-\326\330\277\262\270\37796<\346\230\354\346du\202M\257\260\225U\266\232a\231\217\354c\231\225\177g\277\177\371\0332\334r\247\275\373\225\256\312De\273\272U\223\366\244\271\351N\270E\257\333\373\255:V\033h\354_\031m\227\346\272;\304nsi\336\262\267\037\330\207M\266\371\351[G\307o\201\271N s\235\t$\211N\035\211\336\271\211d\263s\252\013\310T\327\014\222\231\256\004\222D\327k$\257\273$$R\027EB\273\236\007\201<\017\276@\362\"\370\036\311\373\340\257H~\r~F\3629\370s\010\310\317!\202\204\204\322H\322\241OH>\205\276 \371\022Z=\006d\365\230\204D:\266\215d\373\330g$\237\217-u\003Y\352^A\262\322\235A\222\351\376\210\344c\367F\367\337""\260g\304\315zK\225\313\225\024\213\275ao\010#2\223\263,\273\001\234\324\300KT\374e\323\032\313H\226;\337\"y\333\371\001\311\207\316\r$\033MKm!\331\352\374\204\344S\347\027$_:\247\321(\323]sH\346\272\222H\222M\273\275E\362\266KF\"wm \331\350* )t\031H\214\256-$[]\257\320n\257\202I$\311\340\033$o\202\357\220\274\013\022$$XFRn\2326\026\332\013\216\333n\n\362p\2542R\235\256E\033\373Wb\020\034\337u\204\372\331\311K\354\322}o\261\036\354e\275\347\354\001\373\246\263\002\306Y\256\370\007\006\2551\233C\200\271\363\320\272nG\355\030\260\336\371\014\203_\000\032z\376\201\306=mI\342\360\031\013\263\233\035\277`\307\354U\367\252\027\200\345\276\216\320\261z\360\234}\316\271\352\342\374BG\350\004\353\013;\001\341\241\244\025@\206\305Fp\230\r\337\303\324\364\212\270\363\207\225E\326\307w\236\331\027\234\244\033r\027\277\035\35381dE\277\235\352\010\365\361\047\352\301S\326U;\210\203\357w2\326\224\035\370v\266#t\332z\357\014\340\326-\033\204\001\246\327\004\210\r[\037\234(\256G\234\220\263\330\200\301\035q\356\246\215\254A\310\236\253\354\352d5Z\205\254\206\321|\255\310\026\360\034;5\306\306\236WG\253x\233\235\032g\343s5\251\006\002\367\355\300\313\247-\312F\000\027\221\305\005{\202]\272\313\356\276\254EkSp\271\036\014\325{\206\254y\047\352\000\317\343;\017\254A+V\357;\271\363\305~\347v\271\321z\377Y\273\327\031p\356x\247\274h\003&\201z\337\240u\337\356q\272\234\047\356\207\312\375j/&\365\020\004\361E\000\360n\027\036\355\376\372\311:\003\007{N\263\323PB8\275\355\202\245~\204\312\240\002P\2411Q\230\036\326}\226\235\345\340\005(\320\333\2673\301N\206Y\370\036@\325\223\312\207Z\024\345\330\264\222\300\252\177\320z\346\214\270\223n\261>t\301\236\005>\232\227\360\212\215!\264\361\256@\321F\337yv>\352\r\324\373\256\273\003\356-\300P\330\2136\366\274\210\276\032q&\235b\275o\310\232\265\027m\315M\200\3100\3411S\262f\354I\273\310-z\327\013\261\3733\265@\355\014[\000 \322\231n \243\022XT(\364\241\022\025\014\333\236\003\315z\317p\215Q\307sv\310~\357\016\271\213n\276\002\276\370\301\371\221""\215\315\325d\226H\262\244\304\2445\214\311\236\257\220\364\300s\334\2136\215\205O\025\321(\243N\240\321\323\307\372\376a\277v\236\272\031\017\235\003\ta\033\316h\275\037\014\312\256>\256\0144\204\251\257@\311,r\016w\204\037\270\260\347\354a\010\263\236\021\373\031\273\376\2442Z\211\242\237\271mK\240u?(\302\236\276f\257\227\353\375\027\331\305g\225l5\t\245\272e\334\350\033s\276\260\373\020Qu4\357\243Jw\305\250\216\036\030?\251\\\257\216W\245Fp\024\302\345\226\273[C/v\204\206\331\3205w7\231B\340\321\020&\016O\251\313\354\362\003H\250\315\312\"\356\177\261\320h\275\375\270\023\302\222p\316\276\006\365P\002\207\201\320\017\255\313P\206\321\306\365\036x\021\033\221\275\343\220\323P\350\235n6\366\210=\232\251\035\343\265\366+\350\337\2673\315\343#\350\314\272+\350#\014\252e;\356\0149)\367\214\027\362R\225a\320t\021\203\354\241}\031\354<\341l\271i\210\242\241\021;\212\210\035\340l\320\007\213\310\356\245\365\331\211~\373\276\243w\204\235\007X\372\312C\247\010\344\004\240\214\310\235\024\330\340\212\363\321\353\362&\000+\372/\332\2623\nl?A3\205\005y\247h\005\254\323V\261u\362\273\023c\035\220_\340\364P\337\316\277\354Q\326\001:\336f\267\343\325ED\250\236\257[;\n\224\216n\373\213\233\364 (z\361\344\001\234\352\005\277\263\356s\366 \242 d\007\004\317N\034\314x\303\341i\275eI\226\301\316\337\365\300\305\020\267\047\352\375?\200d\220\346\320\023]v\306\035\25114\\\037\034\342\233\047w\376`\027\261s\370\301\233\364\376\250\346XR\204\311\025`\325?\320\000\\\221\270\227N\260\023\327\335A7\316\242)\226Zf\313\357\331\373U\014\375+\316}7\320\020P?b?t\306\300\332\235\200\354g\252\001\216\364\030(\267\335-/[yS]\254\357_y\217\250\302\303\364\222\275\345d]t;\033D\000\311A\0333V\275P[l\354_9[\0338\344Lp\300\032\266$Q\034x\272\336\007#\365A\021i\364\335p\177\204l\351\353g\375\034<\2419\301\010\210\326\207@\212\372\3200\n\376\033\006\\\303\027\376\274w\017j\316t5\332&\374\273Z\273:\313\325\030>5\301Q\356\304P\253Lgj\201\203\232\362\030ncy\360T\375\220G\376b\005\255\010i\370\024\234\316\303""\013|-B\251\330\340\351\204\305r\332y\346\rz\034E\237\332\022\030;\317\047\255B\217\324b\007M\333\266\202\212\375\325\312\301[\302i\320\306\007\2343.\3064\207\022\370b\340H\216\337\037\330\330\366a5\037\007\020\203\250\353\031\264\036\333\240\n\000\312\256*\247\233\205x\002\342[\001\020\340E\352\047\030\234\300\300A\177\366\235\267G[\330\243_F\304\003\017\274\201\335\007\032\273\017\374\033\304\335{\225"; + PyObject *data = __Pyx_DecompressString(cstring, 4229, 1); + #define __Pyx_DecompressString_LZSS_UNUSED if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) const char* const bytes = __Pyx_PyBytes_AsString(data); #if !CYTHON_ASSUME_SAFE_MACROS if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } #endif - #elif (CYTHON_COMPRESS_STRINGS) != 0 /* compression: zlib (4196 bytes) */ -const char* const cstring = "x\332\2658I[\333X\266\200\355@:\244\002\201\214\244\023SI\205\214N\034\310\234N\305\001\207P\241\030l\003!\323m\331\222\215\nY\262%\031\343t^*K\226Zj\251\245\226^z\351\245\227w\351\245\177B~B\237s\257\214\205\201\252\256\257\373\361\201\316\271\203\316<\211\350\337\302\360\363ZR\n\222\036\316(\202a\204M-\254KymK\n\013a\261\224\317W\302\346\206.\tb8\253ky\017\227\325\\\204\010\031S\206[\232\032&D\224\024B\"\214\330\373O\227?\336\270\034\271\361b.\247j\272\024\337\316H\005S\326\324\005M\225\0264\023(HaC\310Ka\251sbJ\260-\230\341\351\212\271\001\364d#\014\004\345\264\244\013\246\244T\302\206\251\313\031\023$\204Kjx)\276t{\352\321TXPE\220\3647)c\032a\243\224f\322KFX\313\206\323%Y1e5lV\n\222\021\t\317e\303\025\255\024V%ID\355\n\250\245\357\005\020H\r\033\022\227lBPU\315\024P,\002\257\203\242\023aQ\326%\256+\274\375JP\014)\262\310\004\027\224\367iMS>&M\255\020\226UC\026\245\260\\\340:d\004E\t\217\377#\034\371Y\020E\0024%Q6\204\264\"I*>\237\2015?\003_\275\244\026*\317s\031\331\340\373\342\263\274&\226\024\351y\244P\311\220BE\224\266\210\264-e\262\262\"\301\026\333\020\001\341G\"1*\006\311k\252lj:\310z\347\340m\222a2\301k\333\336\271\251\013`|]\003\267\233\025F\027/\334\316\226\324\014*\346-\025Y\225\236\241\361\325\234\241\225\364\214\364<6?\037S+dZ\023\245y8\234S\263\332\236E\204\020]\022K\031\311cIH\3671\030\332\000\373v.\340y\n\0345\023\177\2712;\033O\220\271\031\206\222d*\226H\371P\262\264>\371ff.\031{9\037'3\222\"\231\322\014\306g\212\205\344\242\n[\207lG\274\000=\374X\006S\3011D\031\361\235\306\337N\307\227Rs\213\013$\265\276\024'\257c\0133\363\361\231\256\335\225$\310\274\262\340\035\276\322\364\315\244\220\225\346\265\314\346+\035\302\034U{\005fE5\321\004~|\277\265\272N\367\031k\317yN2\t\272\210hY\370\315\302\345YEK\013\312\214\224.\345r\222\376ZSDI\237\233]XL\304\211O\352\330\354\\\022\215\031\235$\213\t2\233\210\307R\361\304/+\277.\315\317-\304\341\362\257d)\226z\235$\240\021y\031K\306\311\364\342B*\006g\t\314\341v\350/\255\317\304Wg\310\334\322z\3525P\305;\361""\267)o\225\\I.\305\027f\226\326I\"\236\\\3715\316\220\324Jb\001\020\346L\200+\013ks\300\201,U\266\3114*F\246\036\337\235\022\357\023r\357\361\037\3061\321\322\230\365\204(K\202.\201U$3CL\r\336!S\0310\016\211F!\031M\275\304b\231LB\241\211\314>xx\357\177\302\026\313\262\347~\362\030\2168z8\347G\217'\357M\376/8?\362+\374g\\\323w\247\356>\316\376\367\\\2470\340\017b\263Ta\331\273 m\233\t)\233\210\315AZ\262\210#\253\261\371\225x\222\314\314M\247R\211\330t\234,%\026\227\342\211\324:Or\376\304\204\352`\373\023s\317\331\276\264$)\275\302\033\335\264\246\232\002\210\250/\246\177;x\367\200\022y\330\275}|R\245\202\"y\215\267\r\0249\237\326\010\030d\023\033MF\313\347\2411\002*\3634\205\322\226\325\240\027\021\336\271\r\241PP*\004\333\211\201O\350\252\202\236\203_C0*jF\326\"\031M\327J\320=%#-`S\312K\204@\227\003I\320\326\035\314\207\312*\210\334\275N\003\273M\002Rg\204Rn\303$\273\355\336\330=\201\3008\374\314\000\222\207](h\262j\032\204`\223\345\317\014\266\256\010\213\224\314\206\254\210\030<[\202.\013\374\036\266z0\264\207@\341\224M)\217K,\237\262\312\373aZ\310lf\362\"\311\202e5\275\202\250aJ\250\216\251\355.`0\3223\0323 \332\006P\244a\000\344K\221\375a\034\023\206\200H(\032_\240/@\334\314\006\\R\024\014tS\257x\312\261Co\033\025\005O\026\200I\246\244\203.\246\347>\021K{\273\233\021\021#\236\003\030.\274\371\302c\013\naZ\211\032)\013\320\333\214\222Q\220T\261k\t\357j\031x`\313\3638\354Y\360\231d\017Ex\013~\215\262ln\020I5J\272\344\317b\330\202\210BP\312\263\351M\332\302\035|\030\250f\333\215l\246i\3175p}\033\333\257\264]\320%\303\200\343,A_d;!\225e2dI[G\025\322\234\367>9K\362\202\231\331\310\022p\255\t+\334U\241#\362\022\221\205\030\202\241Q\204\311\n\355\354_f\261=3\376&w\"B_xee\270\207\2765\005\035W\272\301Y\362\367\360A4\035\\Q07\262\272\204ok\220m\242\277\036s\327\223\366X\345\243\316\242e/C\210J\354\350B\332 \005\001\254\013\007\n\307@`\202\311H\030m\024\371?\273\2102\342\315=E\223u`\250?erXX\245%p\274\301\022\201\233\315\340\022\002E\360\037\030\232]\204\206\242\031\232\021ay\253\031m\303q\313pW\0274\350\262\020j\005\030\205\010\216@b\032c\006\213`A3\200#\267|\272\304\202\320\277\210x+C\330\202k\\=\303\363\223\206r{\037\200l\007]\311\020\320{S\252xob\246\265Q.\2567\267y\300\317\265\275\212\264W\276\036}\360\205\212\311\333$\004\233r\310\035H\013\020\342P\022L\001f\n\254\376\007\337a\324=\034\302\331\257\265\310\353\233\377\006\373\024\377\343\351\024N\267\tv\357M\243\224\347+\250\004%\305\344\270W\236\020e\205\223a@U\316l\002/\377\267[\327Qg\272\354:\330\373\245\335uv\360\320\311.m\231\254M\302O\261$(<~uiw\362$\373g\320\366\206\264\315p\350h9\331\300\234\307\351\n\273\261.\025K\262\216I\313\252y\327\322\347\363\356\023\214\037\374G\nXJj\3171^c\300^\242\363\006\273K\326,\351*\377z\002\207\240S\230_\014Ia\035\225\3372\272Z\013\033\225\2754E\314\033o\030?\026'\330\330x\271\303\026\211\t\305\251\300L!0\367\355\216\332\344\200\261\333\330\320J\212\310*\032\321|\305\331\333\347,64\r\352\264V&\\\005hmJ\tjNA\201\222\266m\362!\202)\332\t+\276\211\243\024\343\207\364\031\017\377\r\316\362\200\222\331\326\321\233\3444s\003\234\345\r""\371\355\315\202\246\310\231J{\205\216\001&\222\010\301\355\213o\320\036y\223\266k<\300?/\332\365\034;M\033\307P\334\347\306\335\177\014\022\223_n\027fn\235\316\204M8\276\271w\352\204\210\353\032\205\r\366\337;\376?\270RA\004\373\360g[l\317\365Xi\333\016C\334\233\302\366\177?0\242\334)\370\325X\326\301/\372Re\221}p\206o\\\353\240\267\302\020\305a/\245\241\270\357V\231\353=xp\355\320S\2147\337\227\227\317^=\202\272\253j;\037\276\3656\2037\335\250\373\252:\216\350T5V]\255E\277\365~\377[Oh\210\236\270D/\335\257.7\203G\351\321s\366\260}\323Yws\325\265Z\014\357\336p\307\335\007\325\341o\261\346\300\340\316\254u\337\036p\202\316\234\273^\025\232\203'v\266\2545;\356\214:)\367L5TM\325N\325r\365\345\346\320\210\365\320\276l\257:SN\331\315T\207\233\243cv\26490d\36522t\360\357\3662\222{c}q\242\337\177\3509:F\317\203\000px\374\264\305\350~\265S\316\260s\305\371\255\032\250NU\213\315\241\213\266\350\214\003\275\317\\\224\023;\305o\261\026\002\253\327:m\375\237\023\363/\213\264\347<=\177\233\336\216\327\227\277\017\366\204\006\276\225wd\253h\367\333_\335d\265\2675p\364\373@O\3508\035\014;\240a\377\267\255\235\244\325\333\0348\332\n\366\323\376s\366\210\r\034.\330@pp'n\235\263o81\224\251l\t\226A\317\337\255\3666\207\206\233\203\307\233C?\202HQ\320\226\216\\v&\035\2415z\25292\312\016O\354\374N/F\\\261\372cu\272\372{=O\223\253tu\2559t\005H\r\r\267\202\240f+\030j\016\034\247\307\257\273#n\234FS4\265F\327>\320\017\037\277\037\351\t]q\356\273\275 \316\267bs`\314~\350L\200}\373\252\023\2653u\220\376\004=1\016\326\271\355\226\253\271\332[\260\367\336\235\017\215\341\326\300\261\235hs\360\222]vr\356rs\020$\374\311Yv\362\325\207\265\211\372\205\306rk\357\316\331\306\360\001w\202\303\326)\360\006\010a\0021\240x\037\2144\010\001\322\032\274\341\376\344\026\233\203Cth\202N\274\254O\300\373\340\363hs\024\244h\216\236B\301\377e]\266\226[\236\360\347\253\367 \236f\353\321.\341\3377\272\325Y\253\307\220\325\324N\021\314p|\324/\323\231F\357~M\341\326\321\241.\222\373o5\017`\362';h\305\340\261\235""\247\340t\214\256^\214\230\037vRt\370\2623E'~\256\231tz\205\256\254\323\3654Mgi\266DK\025Z\371\334\014b\222D\255W\366-G\340\241\265f\305\355Q\214\367\223\326xs\340\214Ul\301\303\244c\267\334\331\352\375Z\2406U\333\256\227\033\354r\221\311p\323\235r\213\325\376\352\277\320\256\255\275;\343\273\202X\303\177\201\327mw\255\032\353pxX5kQp\307\323F\216\256\254\266\366n\t>]\177rR\364:\323\025\302\367\035}\247S}\353{OO\271\367\227>\000\277\364- X\350S\021\250}:\002\275\357E\000\300\213\300\014\202\231\300\002\202\205@\002A\"\360\021\301\307\200\200@\010|E\3605\3602\010\340e\360-\202\267\301\017\010>\004\267\021l\007\277 \370\022|\037\002\360>D\020\220\320\026\202\255\320g\004\237C\353G\000\254\037\371\210\340\343\021\023\201yd\033\301\366\221\345~\000\313\375+\010V\372\323\010\322\375Y\004\331\376\\\377_\260`\004*\342J\355r-Eco\351[B\211H\305\034\315m\002%\245\367\r*\376\246/\201 \321\267\206`\255\357\035\202w}\237\020|\352\333D\260\3316Q\031A\271\3573\202\317}_\021|\355\233Ek\314\266\r\226D\220\014\254\"X\r\274C\360. \"\020\003\233\0106\003\005\004\205\200\201\300\010\224\021\224\003\363h\260\371`\022A\262m\323\367\010\336\007\t\002\022\254 \250\004_\240\371^\204b\241N`\334vS\325a(3c\365\331\006\317\325\316N'\007\254\277C1\276\005\305m\374/\030\360\246\373\020\357\2679am\034\207\264\276Y_k\304Z{w\226\201\023T\355#\315\3409\373\234s\325\355\245=gm\306|p\347g{\234\267\2553X\232\216\321cP\247\355\217\356\325j/6\253kn\257{\332-~\203\322y\311.\322\360\335\352\261\332\323\372&]N4\203P\337\256\273gA\031&\305\027\350P \337\243Z/}\234\240\211\177\322\177\"\271\235\350\301\257Z\377p\006\200\364\260\357\315;n\221\336}Q\377\241\361\207\357=\261\337B\375\022|\357\335rc\356\307Z\004\252\324\037\274\366\314\336v\212n\257\357\265\210+\270\277\327\324F\214\275F{\240\365\360\316V\304Z\377\320\272nG\355Y\347yu\004\362|p\304zj\013P\373U\266\360\327\320\261Fl\177\245\357\332\301:\373g;\373\337\342=\004\014\325\353\234q\261\3056\007\241\007\203\266-\2048E\240\377\2411~\261'm\001\233\340\300""\210\365\330\216\321\036p\332\256*\247\255\034\306\0166\200\262%\333E\007\031\2039\212\316q\354c\330^\006\317\333\343>\362\330&\3068\003\030Sv\031\264v\031\360p\031\261&\354a\336\313\270\261\330\020\361\005\220_\301\255\003l \201\246\014\227/\366\204N\321\321k\356\356d\020\262\222v\010\317a\274h\005/\323\313\017\252Bu\253\266\214\347_\255e\326\201\360\004\332\3710L\013\327`l\021\234b\223\271\005z *\000\355\023\244\305\261\253s\035b\027<\357\364\323\211G\364\321\353\306\021V\213\201\377\205\003&\023\306\371\024=u\257z\005x\027\361\344\367\266\245\236\333\027\234\244\033r\227Y\303\264\242\337OB\236\260\274h\006OZW\355 \"?\354d\255\031\310\241\263=\241\323\326\007\260\"\034\335\0027 \321k<\262OY\237`\230\201\375\210\023r\240\373\237\264\356\360{7m$\r\3518p\225^\235\256G\353\220\257\200-6\212t\t\357\321\223l\010\030\257\343\333\364\344$\235\\h\010\r\020xp\0078\237\266$:\006\311\202$.\330S\364\322]z\367M#\332\230\201\227\233h\263Qk\321\211:1\014\343\007\326\210\025\343\343\337{7\340\302hu\326>\n\035\371N\365d5\332\202\005\213\006\034A\003\316\023\367S\355~\375(v\310Q(9\027!_\372\335\"N\036\237\2553pq\3404=\rA\301\340m\210\235\001\014U\005B\020\215\211\302\014\320\376\263\364,+KPZ\216\016\356L\321\023a\032\276\007E\350I\355S#\312\307\333$\220\202\321\346\2713\346N\303\3103z\301\236\003:Z5Q-\266F\321\306\273\002EY\240G1\006\257\273\303\356-\034\220\301\363\255\216\027\321Wc\3164\304\306\340\2505g/\333\232\233\000\221a\301\202\261d\275\266\247\355\"\263\350\335j\210\336\177\335\350m\234\241K\237\350'\350\273\006\022*\201E\271B\237jQN\260\213\035\206\327\031\2461\352x\016\002\367\203;\352.\273j\r|\361\243\363\023\235Xh\2104\221\244I\201\ni\314\014\236w\364\364d5\3326\026\033<\321(\343\016d2\233\327W\235\247n\026\313\tT\352K\266\341\2147\207\300\240\364\352\343\332p\213\233\372\nT\250\"\243p\207\373\201\t{\316>\005a\006c\340sz\375Im\274\026\365FST\027FaP\204>\345\243\361Ez\3619|=$\241\326\370\360\326\340\204\363\225\336\207\210b\t\377\250\326_3\352\343\373\360'\265\353\365""\311:\314\3248\300\335ryM\3767\222\212`\362"; - PyObject *data = __Pyx_DecompressString(cstring, 4196, 1); + #elif (CYTHON_COMPRESS_STRINGS) > 0 && (CYTHON_COMPRESS_STRINGS) <= 90 /* compression: lzss (5616 bytes) */ +static const char cstring[] = "\377\n Hel\377per clas\377s to rem\377ove a du\377mmy thre\177ad from\005\004\377ing._act\375i#\000on __d\337el__.H\002 !\177= (tree.\000\377agment).\277.pyc1<>\000z\377en runpy\377>?NoneNo\375tc\000e same\377 excepti\353on\023\000ez\000at \357Cythe\000is \376f\000iberate\377ly stric\375t\267\000than P\377EP-484 a\373nd\277\000jects\357 sub\321\002es \377of built\377in types\377. If you_ need\362\001p\372\001\266&\010th\252\000se\224\003\047\277annota\223\001_\374<\000\376\000\047 dire\374\376\003\261 False.\375O\264\002al[boo\377l]Stop i\377nside ip\376\276\003call[^#\377]*#.*@Ig\337noreE\351\005_p\377ydev_exe\237cfile\263 \014\003d\377_sys_mon\257itor\371 /\001\023_\371c\242\"\352 xadd_\374\255\000E\000unc.to\376V\001isablee\275n\002\001gcis\004\003d\362o\002d\237@\003\003_tra6\375 ro\217`ty\022\002\370!\343-fF\000\221A\301\003-li\377neALLAny\337CodeT\316 DE\377BUGGER_I\375D\006\002_START\376\000\010_PY3KDI\277SABLED\265@E\377XCEPTION\377_TYPE_HA\263ND\026\000\007\014USO\000U\375N\026\004ForkSa\377feLockFr\344\252`u\001F\340\000\201\001Inf\375o\000\t.__red7uce\221$__\017\014\331@ys\320@\t\024get_\342\001\327_of\000\000f\206`Gl\377obalDebu\377ggerHold\377erIGNORE\275_\301\010AGIS\347\0011\3773_OR_GRE\377ATERJUMP\357LINE*\000M_P\337ATHS_\354\000_B\377ASE_CONT\345A\031\000R\206\205\001\271ePYD\377EVD_IPYT\271H\237 \001EXT\007\004S\377USPENDPY\177_RESUME\004\002\217TURN\017\000\361\"\027\000U\377NWINDRAI\372\276 E\030\001_VALU\377ES_DICTT\377RACE_PRO?PERTYT\333\206\002\000\003\340\301!\000\007\261/\017\n\260.Tup\027le_\216aL\235`\215A\000\n\370\200O\017\r\202N_DelegteD\205\210\001\242\003On\020\000\362\000\024.\203\210\004\005\027init\367___E\010_Try\376\374\205\003Contain\037erObj\000\023\256\020)\022\374\370`\270\017_Pyx_C\376\252\204\001_4904d5\357__29\255\206\032_ob\376\303\210\001__lPare\177n__etc_\310\206\002\377_4code_1\3771instruc\376\223\210\0023exc..w\357rap_\023^6re\357tval]\0277f6\34372\246\200B\374\213\001\203\206\004_9t\371o""\216\206\004\327\02789323\232\241\201A8\331)of\207\207\001\3157b_0409f\231\202?4\336\211\001\366\272QPy\271\211\001_Nex\347tRef\000\222\214\004e__\377__bootst\374\364B\001\007inner_\341_\365\213\001 \001\341\216\002\000\006_ge\237titem:\001\300\216\002_\357_dic\237\205\001_do\235cP\001ent;\001\372`xr\266\205\002_\206\213\001i\001get\271\211\003\367___\320\205\004_mai=n\205\001meta`\006\344\216\003\356\234\001nam\243\002new~\253\001prepar\265\002\377pyx_chec\347ksu\211\000\n\001res\037ult__\026\001a\004!\001\374\270\216\001\017\003unpick\003le\312\212\n\014\014\313\210\007%\014\227\210\013`\002\230G\006\373\206\024\205\002vt\301\215\001\350!q\047ual\310\005\341\213\004_\341\213\016\372\213\006{ex\234Aset_\374\0059s\264(\232\207\020tes\201B\212\216\002?back__\353\221\004\362\221\004\377_limbo_lao\030\000\356G\347M\242\207\002to\257C\036\257\207\002info\212`\352 \344C\377do_wait_\377suspend_\372\357\222\002_\356\222\003_ensu\300\236@\361\217\007\230\220\002\261aB\r\253\215\001id\327ent\316af\230\216\001_g\374\253\215\002\204\220\001ify_sk\377ipped_st\343ep\255`\000\033\321\003han\377dle_is_c\177oroutin\010\0027stoE\002os\237\005\"\004\246\271\221\003bu1\002\001\t.\323\221\004s\223av\177\000\364\223\003s\324\221\005$\td\365_8\003.\206\221\004brea?kpoint \014\030\006\247yte\206\212\002\233\000l\r\024c\237onsta*\026\354\221\002_\377dispatch\340\210\013\200\005Q\n\377\222\013\326\220\005ref\017_run\262E\230\226\003\300E\220\213\002%_\366Bt\240C\343\222\001k\337K>\001\377user_unc\377aught_ex\371c0\002\313\223\001comma\277ndaddi\231\226\001a\355l\024\003ll\245dsap\257ply_\265\224\001s\002\001t\337erarg\000\000sa\177syncio.\274F\267sba\372\223\001me\332\"_\047on_f\007\365\226\003s\021\006\200\t`\013\016\235\r1\t\260C\353\225\001cf\374\224\006\337child\307\215\001va\353ri\217Ac\336\222\002in_\376\337\205\006cmd_fac\317tory\007\001\250\204\004to~\004\006overco\344\002H\314\210\001\010\000\211\225\001s\020\000\t\003d\213c\377objcolle\177ct_try_\320\230\003d\376\"\020\004i\224`""\322 pi!\000\047urr\267\205\001\344\231\003d\336\223\001\215`\365d\254\226\003_\276\206\003raci\303ng\237\206\014\241\206\t\324\226\003!\nen\177dendswi\310\230\001\233um\263\231\002ev\316\212\001\001\001s\370\346\231\001\345\231\005\355\227\005expre\177ssionf_\363\207\001\265f\313\213\007f\205\002f_\220\005n{ex\234\225\004if_m\271\204\001?f_last\013\000\233\227\001\363no\014\000\210\220\002f_re?ported\330`\317\206\003=d\327btagf\005\013\003\tp\301\207\002\205\231\001\360\220\001\206\226\002to_\207\206\010\357find\366\"tar?tsfirs\254\226\0032\003\376\376\207\002or_dept\377hfree_to\037ol_id\275\217\010\315\230\005K\010\334\232\212\003\\\nget\211\227\001ab\377s_path_rweal\004\003and\242 \007se_\227\220\002\260\232\001\003#\267\230\001\334\227\001\314\325\207\007\352\227\001ca\221\212\001\353\003yp-e\016\002ls\257\215\002f\306\000\356\222\001@\221\230\001\024\n\356\211\002\231\230\017\270\230\002\205\223\001_\352B\315s\311\230\001sm\244 \367\211\005to\001_\374\204\004\265\004\251#\330\220\002\366\230\001\250!\271\212\004\347dbg\202\212\004\204\211\007_co\301n\202\207\003\t\017\270g\271\212\004\310\236\006ha\305s\272Cs\006\001\344\206\r\371)in\362\210\235\001b\"\002`\007s_pl\037ugin_\232\237\006D\010\024\004\230\256\232\002\262\212\002\363\235\001nt\226\225\010\265\222\017i\377s_alivei\251s\260\221\010\267\214\003i\363\220\001n\033\000sO_don\036\001\316\210\t_\266\235\004\277is_log\234\213\002i~\312\213\004_daemo\200\212\005{is\314\235\002ked_\220\215\002cis\365\204\013\344\240\003\021\002wi\317!\037emskw\262\211\001\306\205\001\374\233\002`\347\235\001\353\204\020\211\205\005\213\224\003\376\207\002ep\370\226\002\376\201\222\001make_io\377_message?maxmin\273\237\004\277\237\007\337mtime\221\222\001dt\356\266\232\001not\226\216\021bec\357ause\205\235\001fil\357ters\377\224\003ori\366\212@al\315\216\003cmdo\317sos.\237\205\001\241Cpo\377ppy_dbpy\273db\333\214\002ose\351\237\003_\203do\233\240\001\345\237\004\360\240\002\303!\371\240\002m\037onkey\204\241\003\232\236\002""\003\005\037ep_cm\250\240\004\245\240\004\227@\025t:\010d\371\213\002_\206\216\002\307\240\004\350\243\002\177reregis\304\224\001\374\373\241\001\312\221\001requir\203ed\231\205\004\000\014\333\207\010\n\r\273\220\001p\037ingre\311\222\001\240\221\004\325\215\007\347res\212\210\001N\006tur\335n\235\231\003run\365\244\002se\021l\311\237\001\222\206\004\216\223\001l\236\206\010\236\223\001\203\222\004\204[\002\211\242\001_\372\206\001\315\221\003\355\207\001\257\225\001n\377tssetdef\377aultshou\rl\325\221\001op\310\215\001\267\245\006\021\004\332\217\003\357hook&\000w_r\375e\220\001_value\377ssplitex\n\305\226\001r\000\002t\334\243\010\305\002\270\213\002\242\241\0020\363\221\001\367\221\001\025\nm\003un\313\212\010\273\216\004|\311\223\003\316\223\005other\242\217\005~\343\223\005policy\361\223\005\376\217Aestedsy\205s\345\244\010t\371\247\003\212\224\004\336\223\002\004\005n;fo\226\250\003ing\210\233\006\273\244\002\362\343\215\014s\355\246\002\262\246\003upda\003te\000\003\314\245\005\237\211\004\341\204\001\215\243\005\355\204\001\370\252\213\004\245#\314\235\001write\357rPyO\223\236\002 *(~\001\007, int \250\230\004\267kip\310\222\006)\000\025\001(\360\005\026\220\227\001\312\221\010\321\010\000any\374\201\226\005\357e\200\001\330\004(\250\337\001\250\026\250q\007\001*\250\337!\2506\260\021\022\001+\250\3371\250F\260!\035\0014\260\377A\260V\2701\200\001\340\377\004\037\230q\320 0\260\377\013\270;\300k\320QR\377\330\004\023\220:\230X\240\377Q\240a\330\004\007\200|\377\2207\230!\330\010,\250\277A\250]\270.\310Y\000\013\375\210\037\025<\230x\240q\250\375\001,\010.\250a\250\177\270\337n\310A\330\004\035\027=\240\365\010\254\000\021c\010/\250q\320\2770@\300\016\310a\035\030\320\377\023)\250\030\260\021\260!\376\234\0108\270\001\3209R\320\357R`\320`3\005\360\010\000\373\n\033\277\001\021\220\024\220Q\377\330\010\020\220\007\220q\230\357\006\230l\2504\002v\210W\337\220E\230\024\230\027\000\022\220\376\346\000\027\220q\340\010\027\220\177t\320\033-\250W\260\265\000\377""\007\200q\330\010\017\320\017\3777\260t\2701\270G\300\177;\310g\320UV\340\005\013\367a\200\001[\n]\240$\240\337l\260$\260aE(+\250\3717\306\003j\003.\250d\260!\377\2607\270+\300W\310A\364j\002\010\007Qa\013\320\025\047\240\377t\320+C\3004\320G\377Y\320Y]\320]f\320\377fj\320jy\320y}\367\320}~\311\200(,\250G\260\3775\270\003\2704\270x\300\371w\372!\366\005+\2504\250q\377\260\007\260{\300\047\310\021\364\370\002\010\007!~\r)\250\024\320\375-\211\002Z\320Z^\320^\377v\320vz\360\000\000{w\001N\002\004\000N\002R\003\001wR\002r\n\001r\002v\021\001\357v\002D\003 \000D\003H\356\003\001H\003R\n\001R\003V\356\021\001V\003a\030\001a\003e\336\037\001e\003B\004J\000B\004\335F\003\001F\004\\\n\001\\\004\335`\021\001`\004|\030\001|\004\273@\005m\000@\005_\003\001_\273\005c\n\001c\005z\021\001z{\005~\030\001~\005]\006\220\000w]\006a\003\001a\006x\n\001\367x\006|\021\001|\006U\007\356\254\000U\007Y\003\001Y\007f\356\n\001f\007j\021\001j\007k\375\007\231\203(.\250g\260U\270\377#\270T\320AX\320X\377_\320_d\320dg\320\273gk\213 l\001K\212!K\272\206%W\230!W\002Z\237!Z\273\002^\246!^\002k\255!k\272\242%w\273!w\002z\302!z\273\002~\311!~\002G\264!G\273\003N\273!N\003S\302!S\272\260%Z\320!Z\003d\327!d\273\003k\336!k\003p\345!p\273\003s\354!s\003w\363!w\273\003L\320!L\004S\327!S\273\004X\336!X\004[\345![\273\004_\354!_\004y\363!y\346\323%A\005\232\207\001\225\205\003-\250T\377\260\021\260\047\270\033\300G\363\3101\225\205\002\010\007A\200\001\360\377\n\000\005\020\320\017\037\320\377\0375\260Q\330\004\t\320\377\t\031\230\021\230+\240Y\366\232 W\270\032\004\023\220\047\230\376\376\206\002t\2107\220)\2301\177\230A\330\010\017\210|\006\000\277M\250\021\330\010\035\235\206\001\026\333\220aH\003\027\220\225\207\001\320\013\377\034\230A\230]\250&\260\377\001\200\001\360\014\000\005\006\377\330\004\031\230\031\240&\250\376\014\001\034\000\005\r\320\014 }\240\212\210\002v\210S\220\001M\001\177q\340\004\025\320\0252\227\206\001\273\260q\334\210\001\177\220g\370\206\001\013\377\210>\230\034\240S\250\005""\377\250Q\360\006\000\r\024\220\2771\360\022\000\005\014^\002\330\277\004\022\220&\230\004\217\000\004\377\016\210f\220D\230\001\360\377\030\000\005\026\220\\\240\021^\027\001,\230a\330Q\001(\277\210\003\337\025\220^\2401/\001.\240\257\005\240Q\3409\000/\"\003+\371\230W\001\242\000\010&\320&C\337\3001\300A\340\006\001O\310\367q\320P$\001\320\022\047\320\337\047B\300!\300:\001\320\022\1773\3203N\310a\310\256\000\377\014\210A\330\004\026\220e\337\320\033/\250q\233\000\005\034\377\2304\320\0370\3200K\357\3101\310D:\000\330\004\005\377\330\010\024\220O\2401\240\377A\340\010\013\2106\220\023\377\220A\330\014\017\210~\230\377[\250\003\2501\330\020\030\377\230\t\240\021\240/\260\022\367\2601\340\n\000\001\330\014\023\377\2205\230\010\240\003\240:\277\250^\2705\300\t\321\206\001\024\377\220E\230\036\240q\250\007\375\250\243 \007\200z\220\027\230\376\261 \026\320\026*\250!\330\375\010\005\000-\250Q\330\010%?\240Q\240l\260!\310\"\211\001\277\010\320\007\030\320\030\270\210\002\360\377\010\000\t\014\2104\320\017\377 \320 2\260!\260:\357\270^\3101\204\001v\220S\376H\000\020\023\220>\240\033\250\377C\250q\330\024\034\230I\377\240Q\240o\260R\260q\365\340\n\000A\207\0071\340\014\032\377\320\0321\260\021\330\014)\277\250\021\250,\260a\251\0011\317\340\004\007\200\277D\250A\033\240\377C\240q\330\014\024\220I?\230Q\230o\250R\260\000\n\000~\257bu\220H\230C\230\346@\377\022\320\0220\260\005\3205\377H\310\001\310\027\320P^\277\320^r\320rsE\001u\274\317 \313\003^\2701\330\257 >\371\230`\014\202`\t\027\320\026-\376\212b\005\031\230\005\230\\\250\377\024\250Q\250n\270A\330\377\004\"\240%\320\047N\310\377d\320RS\320Sa\320{ab\336\204\001\010\200q\340\241!\2473\2601\245%\260\001q\221!!\377\240\001\340\010\014\320\014\035\177\230V\240;\250f\260\231A\377\320\017\037\230s\240!\330}\020\316 \320&9\270\0219\002\237*\250$\250a\236 \353!/\334\202C\250\002\031\230\025\344`\010\033\377\230>\320):\270!\270\3511\344A\327\"u\350@\020-\250\377^\320;V\320VW\330\377\020\036\320\036>\270g\300\367S\310\001""\000\t\340\014\047\240\327~\3205\317`\330\333!8\270\237\007\270s\300!\000\t\023\002:\377\270)\3003\300a\340\004\355!\254`,\250\273\215\006\036\000\005_\025\320\024(\250\304\205\006\005\317@\375\005\261\215\001\017\210q\340\004#\377\320#6\260a\260v\270mQ\257\217\001~\220\300\205\001\t\020\026\001\377\005\330\010\021\220\031\230(\357\240$\240a\256@\010\013\210\3377\220#\220Q\316B\330\010\370\346@\205\220\001%\007\013\320\013\037\230\377q\240\007\320\0478\3208\367H\310\006\347\215\002\200A\330\010\367\014\210G\254\204\002\004\240I\250\375Y\217a\017\210v\220W\230\377E\240\024\240T\250\027\260\337\005\260T\270\025\363\000Q\330\356\342`7\230#\345 4\240w\273\250c\303`\024\033\230\340@\020\323\220\001B\002\200AQK\001K\220\377|\2401\360\016\000\t\033\037\320\0325\260Q`\001\310\000h\000\357\r\026\220a\266\205\003T\240\021\377\240$\240j\260\003\2604\373\260q\326 \230d\240!\240\2774\240z\260\021\200\215\216\001\210\177q\220\001\220\026\220q\001\t\177}\240A\320\000\030\230\211\217\001\377\005\014\210?\230!\320\000\377\032\320\032-\320-E\300\375Q\236\210\001\010\200w\210i\220\377q\230\007\230~\250S\260\356\222`\t\360\010\225\210\020\t\340\004\277\007\320\007\031\230\023\202\211\001\034\333\230A\272`\210E\304 *\240\376\322\206\002w\220a\220s\320\032\3730\260\340@\021\330\014\r\330\353\020\"\227\0001\371\000\320\023#\377\2403\240a\340\024\025\330\337\023\024\330\020\021\201\207\001\177\320\375\036\310\217\001\"\260C\260\177\300\327m\320S\241c$H\000\020\021\357\340\004\026\220\353@\005\330\010\377\r\320\r)\250\023\250E\377\3201T\320TW\320W\357\\\320\\]\350\207\001$\2405\353\250\001\304\204\002\330\373`7\240\047\376\353 \002\260\047\270\027\300\001\374\377\220\002\245a-\250w\260g\270\247X\300Q\244\221\002\010\007\\\247\217\001\013\377\2101\330\014\037\230w\240\333g\250\363A\320\023\275\207\001m\260\3777\270\047\300\034\310Q\340{\014\023\006\t\030\310\021\330\004\013\336 \001\004\021\220\025\356\212\001\007\200\373t\210\252\206\0025\220\001\330\014\377\031\230\021\340\014*\250%\177""\250q\330\014\020\320\020\270\211\002\375\047=\000\020\023\2201\330\024\277!\240\021\330\024\025\262\207\001{\372\355a\340\266\004\032\2602\260Wo\270G\3001\256\014[\310\277\r\267W\300A\226\207\0014\210\357\211\001\r\235\024\254\t\027\310\001\330\017\256\207\001\020\213\320\017\206\047[\022\021\223,`\002\017x*\t\000\017\302!\004\013\210;\362@\310\332b\351@\305cq\350\212\001\247\215\003G\240\367>\260\023\323\207\001\023\220;\230\345a\352 n\010\002\341)\033\310A@\311/\336,\325\001\203K\000\017\262@\330\241Q\277\220=\240\001\240\027\251`\010\035\t\336\207\002,\250A\305\212\002\374\227\001\325\224\001\275\014\312\216\0013\230a\330\363`\010\377\023\2209\230A\320\000(\353\250\001\302\006\026\201\216\0054\210w\337\220i\230q\240\240\214\002<\230\347q\240\r\265a\314A\014\032\230s!\340U\007\245\216\001\033\320\032\332\230\004\005\330Y\005\340X\006"; + PyObject *data = __Pyx_DecompressString_LZSS(cstring, 5616, 8890); + #define __Pyx_DecompressString_UNUSED if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error) const char* const bytes = __Pyx_PyBytes_AsString(data); #if !CYTHON_ASSUME_SAFE_MACROS if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) } #endif - #else /* compression: none (8818 bytes) */ -const char* const bytes = "1\n Helper class to remove a dummy thread from threading._active on __del__.\n [^#]*#.*@IgnoreExceptionNoneNot the same exceptionNote that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the 'annotation_typing' directive to False.Optional[bool]Stop inside ipython call != .?add_notedisableenablegcisenabled.pyc_pydev_execfile.pypydevd.py_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyxpydevd_traceproperty.pypython-functionpython-lineALLAny_CodeLineInfo_CodeLineInfo.__reduce_cython___CodeLineInfo.__setstate_cython__CodeTypeDEBUGGER_IDDEBUG_STARTDEBUG_START_PY3KDISABLE_DeleteDummyThreadOnDel_DeleteDummyThreadOnDel.__del___DeleteDummyThreadOnDel.__init__Dict_DummyThreadEXCEPTION_TYPE_HANDLEDEXCEPTION_TYPE_USER_UNHANDLEDForkSafeLockFrameTypeFuncCodeInfoFuncCodeInfo.__reduce_cython__FuncCodeInfo.__setstate_cython__FuncCodeInfo.get_line_of_offsetGlobalDebuggerHolderIGNORE_EXCEPTION_TAGIS_PY313_OR_GREATERJUMPLINENORM_PATHS_AND_BASE_CONTAINERNoneOptionalPYDEVD_IPYTHON_CONTEXTPYTHON_SUSPENDPY_RESUMEPY_RETURNPY_STARTPY_UNWIND__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc..wrap__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval..wrap__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset..wrap__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset..wrap__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line..wrap__Pyx_PyDict_NextRefRAISERETURN_VALUES_DICTTRACE_PROPERTYThreadThreadInfoThreadInfo.__reduce_cython__ThreadInfo.__setstate_cython___TryExceptContainerObj_TryExceptContainerObj.__reduce_cython___TryExceptContainerObj.__setstate_cython__Tuple_active_active_limbo_locka""dd_commandadditional_infoall_threadsapply_files_filterargargsasyncio.coroutinesbasename__bootstrap_bootstrap__bootstrap_inner_bootstrap_innerbreak_on_caught_exceptionsbreak_on_uncaught_exceptionsbreak_on_user_uncaught_exceptionsbreakpoints__call__callcfunc.to_pychildren_variants__class____class_getitem__cline_in_tracebackcmd_factorycmd_step_intocmd_step_overco_filenameco_linesco_namecodecode_obj_code_to_func_code_info_cachecollect_try_except_infocollectionscompilecurrent_threaddebug__del____dict___dictdisdisable_code_tracing_do_wait_suspenddo_wait_suspend__doc__dummy_thread_dummy_threadenable_code_tracingendendswith_ensure_monitoring__enter__enumerateeventeventsexcexception_execexecfile__exit__expressionf_backf_bootstrapf_codef_disable_next_line_if_matchf_lastif_linenof_localsf_unhandled_excf_unhandled_framefile_to_line_to_breakpointsfindlinestartsfirst_lineframeframe_or_depthfree_tool_idfrom_offset__func__function_breakpoint_name_to_breakpointgetget_abs_path_real_path_and_base_from_fileget_abs_path_real_path_and_base_from_frameget_breakpointget_cache_file_typeget_clsname_for_codeget_file_type_get_func_code_info_get_identget_identget_line_of_offsetget_local_eventsget_smart_step_into_variant_from_frame_offsetget_tool_getframe__getstate__global_dbg_global_notify_skipped_step_in_global_notify_skipped_step_in_lock_handlehandle_breakpoint_conditionhandle_breakpoint_expressionhandle_exceptionhas_breakshas_caught_exception_breakpoint_in_pydbhas_conditionhas_plugin_exception_breakshas_plugin_line_breaksident__init__instructioninstruction_offsetis_aliveis_bootstrap_frame_internal_is_coroutineis_doneis_files_filter_enabledis_logpointis_pydev_daemon_thread_is_stoppedis_tracked_frameis_unhandled_exceptionis_unwinditemskwargslast_linelineline_to_breakpointsline_to_offsetlineseplocalmain__main__make_io_messagemax__metaclass__min__module__monitormonitoringmtime__name__namedtuple__new__notify_skipped_step_in_because_of_filtersoffsetoriginal_step_cmdosos.path_os_thread_handlepluginp""op__prepare__py_dbpydb_disposed_pydev_bundle_pydev_bundle._pydev_saved_modulespydev_do_not_tracepydev_logpydev_monkeypydev_statepydev_step_cmdpydevd_pydevd_bundle_pydevd_bundle.pydevd_breakpoints_pydevd_bundle.pydevd_bytecode_utils_pydevd_bundle.pydevd_constants_pydevd_bundle.pydevd_trace_dispatch_pydevd_bundle.pydevd_utilspydevd_dont_tracepydevd_file_utilspydevd_runpy_pydevd_sys_monitoring_cython__pyx_checksum__pyx_result__pyx_state__pyx_type__pyx_unpickle_FuncCodeInfo__pyx_unpickle_ThreadInfo__pyx_unpickle__CodeLineInfo__pyx_unpickle__TryExceptContainerObj__pyx_vtable____qualname__re__reduce____reduce_cython____reduce_ex___refregister_callbackrequired_eventsrequired_events_breakpointrequired_events_steppingreset_thread_local_inforestart_eventsreturnretvalrun_runrunpyselfset_eventsset_local_events__set_name__set_suspendset_trace_for_frame_and_parentssetdefault__setstate____setstate_cython__should_stop_on_exceptionshould_trace_hookshow_return_valuessplitextstartstart_monitoringstartswithstatestopstop_monitoringstop_on_unhandled_exceptionsuspendsuspend_other_threadssuspend_policysuspend_requestedsyssys_monitort__test__thread_thread_activethread_identthread_info_thread_local_infothreading_tidentto_offsettrace__traceback___track_dummy_thread_reftry_except_infostypestypingupdateupdate_monitor_eventsuse_setstateuse_tool_id_user_uncaught_exc_infovalueswrapwriterPyObject *(PyObject *, int __pyx_skip_dispatch)\000int (int __pyx_skip_dispatch)\000set_additional_thread_info\000any_thread_stepping\200\001\330\004+\2501\250F\260!\200\001\330\0044\260A\260V\2701\200\001\360\n\000\005\020\320\017\037\320\0375\260Q\330\004\t\320\t\031\230\021\230+\240Y\250g\260W\270A\200\001\330\004*\250!\2506\260\021\200A\330\010\014\210G\2205\230\010\240\004\240I\250Y\260a\330\014\017\210v\220W\230E\240\024\240T\250\027\260\005\260T\270\025\270g\300Q\330\020\023\2207\230#\230V\2404\240w\250c\260\021\330\024\033\2301\330\010\020\220\001\200A\330\010\014\320\014\035\230Q\330\010\014\210K\220|\2401""\360\016\000\t\033\320\0325\260Q\200A\330\r\026\220a\330\014\017\210~\230T\240\021\240$\240j\260\003\2604\260q\330\020\036\230d\240!\2404\240z\260\021\200A\330\010\017\210q\200A\340\010\017\210q\220\001\220\026\220}\240A\200A\340\010\017\210q\220\001\220\026\220q\320\000\032\320\032-\320-E\300Q\360\014\000\005\010\200w\210i\220q\230\007\230~\250S\260\001\340\010\t\360\010\000\005\r\320\014 \240\001\330\004\007\200v\210S\220\001\330\010\t\340\004\007\320\007\031\230\023\230A\330\010\034\230A\340\010\014\210E\220\031\230*\240A\330\014\017\210w\220a\220s\320\0320\260\001\330\020\021\330\014\r\330\020\"\240!\2401\330\020\023\320\023#\2403\240a\340\024\025\330\023\024\330\020\021\330\014\017\210\177\320\036.\250d\260\"\260C\260\177\300m\320SV\320VW\330\020$\240A\330\020\021\340\004\026\220a\340\004\005\330\010\r\320\r)\250\023\250E\3201T\320TW\320W\\\320\\]\360\006\000\005$\2405\250\001\340\004\007\200q\330\010\033\2307\240'\250\027\260\002\260'\270\027\300\001\340\010\017\320\017!\240\021\240-\250w\260g\270X\300Q\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\340\010\013\2101\330\014\037\230w\240g\250Q\330\014\023\320\023%\240Q\240m\2607\270'\300\034\310Q\340\014\023\320\023%\240Q\240m\2607\270'\300\030\310\021\330\014\023\320\023%\240Q\240m\2607\270'\300\034\310Q\340\004\021\220\025\220a\330\004\007\200t\2101\330\010\013\2105\220\001\330\014\031\230\021\340\014*\250%\250q\330\014\020\320\020'\320'B\300'\310\021\330\020\023\2201\330\024!\240\021\330\024\025\340\004\007\200{\220#\220Q\340\010\033\2307\240'\250\032\2602\260W\270G\3001\340\010\017\320\017!\240\021\240-\250w\260g\270[\310\001\340\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330\010\013\2104\210q\360\006\000\r\024\320\023%\240Q\240m\2607\270'\300\027\310\001\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\360\006\000\t\020\320\017!\240\021\240-\250w\260g\270[\310\001\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\330\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330""\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\340\004\013\210;\220a\220}\240A\200\001\360\010\000\005\016\210T\320\021#\2404\320'?\270t\320CU\320UY\320Yb\320bf\320fu\320uy\320yz\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033,\250G\2605\270\003\2704\270x\300w\310a\330\004\007\200q\330\010\017\320\017+\2504\250q\260\007\260{\300'\310\021\340\010\017\320\017+\2504\250q\260\007\260{\300!\200\001\360\010\000\005\016\210T\220\021\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033-\250W\260A\330\004\007\200q\330\010\017\320\0177\260t\2701\270G\300;\310g\320UV\340\010\017\320\0177\260t\2701\270G\300;\310a\200\001\360\010\000\005\016\210T\320\021%\240T\320)?\270t\320CV\320VZ\320Zr\320rv\360\000\000w\001J\002\360\000\000J\002N\002\360\000\000N\002n\002\360\000\000n\002r\002\360\000\000r\002@\003\360\000\000@\003D\003\360\000\000D\003N\003\360\000\000N\003R\003\360\000\000R\003]\003\360\000\000]\003a\003\360\000\000a\003~\003\360\000\000~\003B\004\360\000\000B\004X\004\360\000\000X\004\\\004\360\000\000\\\004x\004\360\000\000x\004|\004\360\000\000|\004[\005\360\000\000[\005_\005\360\000\000_\005v\005\360\000\000v\005z\005\360\000\000z\005Y\006\360\000\000Y\006]\006\360\000\000]\006t\006\360\000\000t\006x\006\360\000\000x\006Q\007\360\000\000Q\007U\007\360\000\000U\007b\007\360\000\000b\007f\007\360\000\000f\007g\007\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033.\250g\260U\270#\270T\320AX\320X_\320_d\320dg\320gk\360\000\000l\001K\002\360\000\000K\002R\002\360\000\000R\002W\002\360\000\000W\002Z\002\360\000\000Z\002^\002\360\000\000^\002k\002\360\000\000k\002r\002\360\000\000r\002w\002\360\000\000w\002z\002\360\000\000z\002~\002\360\000\000~\002G\003\360""\000\000G\003N\003\360\000\000N\003S\003\360\000\000S\003V\003\360\000\000V\003Z\003\360\000\000Z\003d\003\360\000\000d\003k\003\360\000\000k\003p\003\360\000\000p\003s\003\360\000\000s\003w\003\360\000\000w\003L\004\360\000\000L\004S\004\360\000\000S\004X\004\360\000\000X\004[\004\360\000\000[\004_\004\360\000\000_\004y\004\360\000\000y\004@\005\360\000\000@\005A\005\330\004\007\200q\330\010\017\320\017-\250T\260\021\260'\270\033\300G\3101\340\010\017\320\017-\250T\260\021\260'\270\033\300A\200\001\360\010\000\005\016\210T\220\035\230d\240,\250d\260!\330\004\014\210G\2201\220F\230,\240a\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033+\2507\260!\330\004\007\200q\330\010\017\320\017.\250d\260!\2607\270+\300W\310A\340\010\017\320\017.\250d\260!\2607\270+\300Q\200\001\360\014\000\005\006\330\004\031\230\031\240&\250\001\320\000\030\230\001\360\010\000\005\014\210?\230!\200\001\360\n\000\005\027\220a\330\004\013\320\013\034\230A\230]\250&\260\001\200\001\330\004(\250\001\250\026\250q\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023)\250\030\260\021\260!\330\004\007\200|\2207\230!\330\0108\270\001\3209R\320R`\320`a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220=\240\010\250\001\250\021\330\004\007\200|\2207\230!\330\010/\250q\3200@\300\016\310a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220:\230X\240Q\240a\330\004\007\200|\2207\230!\330\010,\250A\250]\270.\310\001\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a\250\177\270n\310A\330\004\013\2101\320\000\"\240!\360\014\000\005\010\200q\340\010\013\2107\220)\2301\230G\240>\260\023\260A\330\014\023\220;\230a\230w\240n\260A\330\014\023\320\023%\240Q\240m\2607\270'\300\033\310A\330\014\023\320\023%\240Q\240m\2607\270'\300\034\310Q\330\014\023\320\023%\240Q\240m\2607\270'""\300\027\310\001\330\014\023\320\023%\240Q\240m\2607\270'\300\027\310\001\330\014\023\320\023%\240Q\240m\2607\270'\300\034\310Q\330\014\023\320\023%\240Q\240m\2607\270'\300\030\310\021\330\014\023\220=\240\001\240\027\250\001\340\010\t\330\014\032\320\032,\250A\340\014\032\320\032*\250!\2507\260!\330\014\017\210|\2303\230a\330\020\021\340\010\023\2209\230A\320\000(\250\001\360\014\000\005\010\200q\340\010\026\220g\230Q\330\010\013\2104\210w\220i\230q\240\001\330\014\023\220<\230q\240\r\250Q\330\014!\240\021\330\014\032\230!\340\010\t\330\014\032\320\032,\250A\360\006\000\r\033\320\032*\250!\2506\260\021\330\014\017\210|\2303\230a\340\020\021\340\010\023\2209\230A\200\001\360\n\000\005\023\220'\230\021\330\004\007\200t\2107\220)\2301\230A\330\010\017\210|\2301\230M\250\021\330\010\035\230Q\330\010\026\220a\200\001\360\036\000\005\025\320\024(\250\001\330\004\007\200v\210S\220\005\220S\230\005\230Q\330\010\017\210q\340\004#\320#6\260a\260v\270Q\330\004\007\200~\220Q\360\006\000\t\020\210q\340\004\005\330\010\021\220\031\230(\240$\240a\240q\330\010\013\2107\220#\220Q\330\014\023\2201\330\010\032\320\0324\260A\260Q\360\006\000\t\020\210q\340\004\013\320\013\037\230q\240\007\320'8\3208H\310\006\310g\320UV\200\001\360\034\000\005\r\320\014 \240\001\330\004\007\200v\210S\220\001\330\010\017\210q\340\004\025\320\0252\260$\260a\260q\330\004\007\200\177\220g\230Q\330\010\013\210>\230\034\240S\250\005\250Q\360\006\000\r\024\2201\360\022\000\005\014\320\013\034\230A\330\004\022\220&\230\004\230A\330\004\016\210f\220D\230\001\360\030\000\005\026\220\\\240\021\330\004\022\220,\230a\330\004\025\320\025(\250\001\250\021\330\004\025\220^\2401\330\004\022\220.\240\005\240Q\340\004\022\220/\240\021\330\004\022\220+\230Q\360\006\000\005\006\330\010&\320&C\3001\300A\340\010&\320&O\310q\320PQ\340\004\022\320\022'\320'B\300!\3001\330\004\022\320\0223\3203N\310a\310q\340\004\014\210A\330\004\026\220e\320\033/\250q\360\006\000\005\034\2304\320\0370\3200K\3101\310D\320PQ\330\004\005\330\010""\024\220O\2401\240A\340\010\013\2106\220\023\220A\330\014\017\210~\230[\250\003\2501\330\020\030\230\t\240\021\240/\260\022\2601\340\020\030\230\001\330\014\023\2205\230\010\240\003\240:\250^\2705\300\t\310\021\340\010\024\220E\230\036\240q\250\007\250q\340\004\007\200z\220\027\230\001\330\010\026\320\026*\250!\330\010\026\320\026-\250Q\330\010%\240Q\240l\260!\330\010\017\210q\360\006\000\005\010\320\007\030\320\030+\2507\260!\360\010\000\t\014\2104\320\017 \320 2\260!\260:\270^\3101\330\014\017\210v\220S\230\001\330\020\023\220>\240\033\250C\250q\330\024\034\230I\240Q\240o\260R\260q\340\024\034\230A\330\014\023\2205\230\010\240\003\2401\340\014\032\320\0321\260\021\330\014)\250\021\250,\260a\330\014\023\2201\340\004\007\200v\210S\220\001\330\010\013\210>\230\033\240C\240q\330\014\024\220I\230Q\230o\250R\250q\340\014\024\220A\330\010\017\210u\220H\230C\230q\340\004\022\320\0220\260\005\3205H\310\001\310\027\320P^\320^r\320rs\340\004\007\200u\210A\330\010\026\320\026-\250^\2701\330\010\013\210>\230\021\330\014)\250\021\250,\260a\330\014\023\2201\360\006\000\t\027\320\026-\250Q\360\006\000\005\031\230\005\230\\\250\024\250Q\250n\270A\330\004\"\240%\320'N\310d\320RS\320Sa\320ab\360\n\000\005\010\200q\340\010\026\320\0263\2601\330\010\026\320\026-\250Q\340\004\007\200q\360\010\000\t!\240\001\340\010\014\320\014\035\230V\240;\250f\260A\330\014\017\320\017\037\230s\240!\330\020%\240Q\320&9\270\021\340\010\026\320\026*\250$\250a\250q\330\010\026\320\026/\250q\340\004\007\200u\210A\330\010\031\230\025\230a\330\010\033\230>\320):\270!\2701\340\010\013\2101\330\014\017\210u\220A\330\020-\250^\320;V\320VW\330\020\036\320\036>\270g\300S\310\001\330\020\036\320\036>\270g\300S\310\001\340\014'\240~\3205N\310a\330\014\032\320\0328\270\007\270s\300!\330\014\032\320\0328\270\007\270s\300!\330\014\032\320\032:\270)\3003\300a\340\004!\240\021\240,\250a\330\004\013\2101"; + #else /* compression: none (8890 bytes) */ +static const char bytes[] = "\n Helper class to remove a dummy thread from threading._active on __del__.\n != (tree fragment)..pyc1?NoneNot the same exceptionNote that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the \047annotation_typing\047 directive to False.Optional[bool]Stop inside ipython call[^#]*#.*@IgnoreException_pydev_execfile.py_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyxadd_notecfunc.to_pydisableenablegcisenabledpydevd.pypydevd_traceproperty.pypython-functionpython-lineALLAnyCodeTypeDEBUGGER_IDDEBUG_STARTDEBUG_START_PY3KDISABLEDictEXCEPTION_TYPE_HANDLEDEXCEPTION_TYPE_USER_UNHANDLEDForkSafeLockFrameTypeFuncCodeInfoFuncCodeInfo.__reduce_cython__FuncCodeInfo.__setstate_cython__FuncCodeInfo.get_line_of_offsetGlobalDebuggerHolderIGNORE_EXCEPTION_TAGIS_PY313_OR_GREATERJUMPLINENORM_PATHS_AND_BASE_CONTAINERNoneOptionalPYDEVD_IPYTHON_CONTEXTPYTHON_SUSPENDPY_RESUMEPY_RETURNPY_STARTPY_UNWINDRAISERETURN_VALUES_DICTTRACE_PROPERTYThreadThreadInfoThreadInfo.__reduce_cython__ThreadInfo.__setstate_cython__Tuple_CodeLineInfo_CodeLineInfo.__reduce_cython___CodeLineInfo.__setstate_cython___DeleteDummyThreadOnDel_DeleteDummyThreadOnDel.__del___DeleteDummyThreadOnDel.__init___DummyThread_TryExceptContainerObj_TryExceptContainerObj.__reduce_cython___TryExceptContainerObj.__setstate_cython____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc..wrap__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval..wrap__Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset..wrap__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset..wrap__Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line..wrap__Pyx_PyDict_NextRef__annota""te____bootstrap__bootstrap_inner__call____class____class_getitem____del____dict____doc____enter____exit____func____getstate____init____main____metaclass____module____name____new____prepare____pyx_checksum__pyx_result__pyx_state__pyx_type__pyx_unpickle_FuncCodeInfo__pyx_unpickle_ThreadInfo__pyx_unpickle__CodeLineInfo__pyx_unpickle__TryExceptContainerObj__pyx_vtable____qualname____reduce____reduce_cython____reduce_ex____set_name____setstate____setstate_cython____test____traceback___active_active_limbo_lock_bootstrap_bootstrap_inner_code_to_func_code_info_cache_dict_do_wait_suspend_dummy_thread_ensure_monitoring_exec_get_func_code_info_get_ident_getframe_global_notify_skipped_step_in_global_notify_skipped_step_in_lock_handle_is_coroutine_is_stopped_os_thread_handle_pydev_bundle_pydev_bundle._pydev_saved_modules_pydevd_bundle_pydevd_bundle.pydevd_breakpoints_pydevd_bundle.pydevd_bytecode_utils_pydevd_bundle.pydevd_constants_pydevd_bundle.pydevd_trace_dispatch_pydevd_bundle.pydevd_utils_pydevd_sys_monitoring_cython_ref_run_thread_active_thread_local_info_tident_track_dummy_thread_ref_user_uncaught_exc_infoadd_commandadditional_infoall_threadsapply_files_filterargargsasyncio.coroutinesbasenamebreak_on_caught_exceptionsbreak_on_uncaught_exceptionsbreak_on_user_uncaught_exceptionsbreakpointscallcfunc.to_pychildren_variantscline_in_tracebackcmd_factorycmd_step_intocmd_step_overco_filenameco_linesco_namecodecode_objcollect_try_except_infocollectionscompilecurrent_threaddebugdisdisable_code_tracingdo_wait_suspenddummy_threadenable_code_tracingendendswithenumerateeventeventsexcexceptionexecfileexpressionf_backf_bootstrapf_codef_disable_next_line_if_matchf_lastif_linenof_localsf_reported_unhandled_exc_tagf_unhandled_excf_unhandled_framefile_to_line_to_breakpointsfindlinestartsfirst_lineframeframe_or_depthfree_tool_idfrom_offsetfunction_breakpoint_name_to_breakpointgetget_abs_path_real_path_and_base_from_fileget_abs_path_real_path_and_base_from_frameget_breakpointget_cache_file_t""ypeget_clsname_for_codeget_file_typeget_identget_line_of_offsetget_local_eventsget_smart_step_into_variant_from_frame_offsetget_toolglobal_dbghandle_breakpoint_conditionhandle_breakpoint_expressionhandle_exceptionhas_breakshas_caught_exception_breakpoint_in_pydbhas_conditionhas_plugin_exception_breakshas_plugin_line_breaksidentinstructioninstruction_offsetis_aliveis_bootstrap_frame_internalis_doneis_files_filter_enabledis_logpointis_pydev_daemon_threadis_tracked_frameis_unhandled_exceptionis_unwinditemskwargslast_linelineline_to_breakpointsline_to_offsetlineseplocalmainmake_io_messagemaxminmonitormonitoringmtimenamedtuplenotify_skipped_step_in_because_of_filtersoffsetoriginal_step_cmdosos.pathpluginpoppy_dbpydb_disposedpydev_do_not_tracepydev_logpydev_monkeypydev_statepydev_step_cmdpydevdpydevd_dont_tracepydevd_file_utilspydevd_runpyreregister_callbackrequired_eventsrequired_events_breakpointrequired_events_steppingreset_thread_local_inforestart_eventsreturnretvalrunrunpyselfset_eventsset_local_eventsset_suspendset_trace_for_frame_and_parentssetdefaultshould_stop_on_exceptionshould_trace_hookshow_return_valuessplitextstartstart_monitoringstartswithstatestopstop_monitoringstop_on_unhandled_exceptionsuspendsuspend_other_threadssuspend_policysuspend_requestedsyssys_monitortthreadthread_identthread_infothreadingto_offsettracetry_except_infostypestypingupdateupdate_monitor_eventsuse_setstateuse_tool_idvalueswrapwriterPyObject *(PyObject *, int __pyx_skip_dispatch)\000int (int __pyx_skip_dispatch)\000set_additional_thread_info\000any_thread_stepping\200\001\330\004(\250\001\250\026\250q\200\001\330\004*\250!\2506\260\021\200\001\330\004+\2501\250F\260!\200\001\330\0044\260A\260V\2701\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220:\230X\240Q\240a\330\004\007\200|\2207\230!\330\010,\250A\250]\270.\310\001\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220<\230x\240q\250\001\330\004\007\200|\2207\230!\330\010.\250a""\250\177\270n\310A\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\220=\240\010\250\001\250\021\330\004\007\200|\2207\230!\330\010/\250q\3200@\300\016\310a\330\004\013\2101\200\001\340\004\037\230q\320 0\260\013\270;\300k\320QR\330\004\023\320\023)\250\030\260\021\260!\330\004\007\200|\2207\230!\330\0108\270\001\3209R\320R`\320`a\330\004\013\2101\200\001\360\010\000\n\033\230!\330\010\021\220\024\220Q\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033-\250W\260A\330\004\007\200q\330\010\017\320\0177\260t\2701\270G\300;\310g\320UV\340\010\017\320\0177\260t\2701\270G\300;\310a\200\001\360\010\000\n\033\230!\330\010\021\220\024\220]\240$\240l\260$\260a\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033+\2507\260!\330\004\007\200q\330\010\017\320\017.\250d\260!\2607\270+\300W\310A\340\010\017\320\017.\250d\260!\2607\270+\300Q\200\001\360\010\000\n\033\230!\330\010\021\220\024\320\025\047\240t\320+C\3004\320GY\320Y]\320]f\320fj\320jy\320y}\320}~\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033,\250G\2605\270\003\2704\270x\300w\310a\330\004\007\200q\330\010\017\320\017+\2504\250q\260\007\260{\300\047\310\021\340\010\017\320\017+\2504\250q\260\007\260{\300!\200\001\360\010\000\n\033\230!\330\010\021\220\024\320\025)\250\024\320-C\3004\320GZ\320Z^\320^v\320vz\360\000\000{\001N\002\360\000\000N\002R\002\360\000\000R\002r\002\360\000\000r\002v\002\360\000\000v\002D\003\360\000\000D\003H\003\360\000\000H\003R\003\360\000\000R\003V\003\360\000\000V\003a\003\360\000\000a\003e\003\360\000\000e\003B\004\360\000\000B\004F\004\360\000\000F\004\\\004\360\000\000\\\004`\004\360\000\000`\004|\004\360\000\000|\004@\005\360\000\000@\005_\005\360\000\000_\005c\005\360\000\000c\005z""\005\360\000\000z\005~\005\360\000\000~\005]\006\360\000\000]\006a\006\360\000\000a\006x\006\360\000\000x\006|\006\360\000\000|\006U\007\360\000\000U\007Y\007\360\000\000Y\007f\007\360\000\000f\007j\007\360\000\000j\007k\007\330\010\020\220\007\220q\230\006\230l\250!\330\004\007\200v\210W\220E\230\024\230Q\330\010\022\220!\330\010\027\220q\340\010\027\220t\320\033.\250g\260U\270#\270T\320AX\320X_\320_d\320dg\320gk\360\000\000l\001K\002\360\000\000K\002R\002\360\000\000R\002W\002\360\000\000W\002Z\002\360\000\000Z\002^\002\360\000\000^\002k\002\360\000\000k\002r\002\360\000\000r\002w\002\360\000\000w\002z\002\360\000\000z\002~\002\360\000\000~\002G\003\360\000\000G\003N\003\360\000\000N\003S\003\360\000\000S\003V\003\360\000\000V\003Z\003\360\000\000Z\003d\003\360\000\000d\003k\003\360\000\000k\003p\003\360\000\000p\003s\003\360\000\000s\003w\003\360\000\000w\003L\004\360\000\000L\004S\004\360\000\000S\004X\004\360\000\000X\004[\004\360\000\000[\004_\004\360\000\000_\004y\004\360\000\000y\004@\005\360\000\000@\005A\005\330\004\007\200q\330\010\017\320\017-\250T\260\021\260\047\270\033\300G\3101\340\010\017\320\017-\250T\260\021\260\047\270\033\300A\200\001\360\n\000\005\020\320\017\037\320\0375\260Q\330\004\t\320\t\031\230\021\230+\240Y\250g\260W\270A\200\001\360\n\000\005\023\220\047\230\021\330\004\007\200t\2107\220)\2301\230A\330\010\017\210|\2301\230M\250\021\330\010\035\230Q\330\010\026\220a\200\001\360\n\000\005\027\220a\330\004\013\320\013\034\230A\230]\250&\260\001\200\001\360\014\000\005\006\330\004\031\230\031\240&\250\001\200\001\360\034\000\005\r\320\014 \240\001\330\004\007\200v\210S\220\001\330\010\017\210q\340\004\025\320\0252\260$\260a\260q\330\004\007\200\177\220g\230Q\330\010\013\210>\230\034\240S\250\005\250Q\360\006\000\r\024\2201\360\022\000\005\014\320\013\034\230A\330\004\022\220&\230\004\230A\330\004\016\210f\220D\230\001\360\030\000\005\026\220\\\240\021\330\004\022\220,\230a\330\004\025\320\025(\250\001\250\021\330\004\025\220^\2401\330\004""\022\220.\240\005\240Q\340\004\022\220/\240\021\330\004\022\220+\230Q\360\006\000\005\006\330\010&\320&C\3001\300A\340\010&\320&O\310q\320PQ\340\004\022\320\022\047\320\047B\300!\3001\330\004\022\320\0223\3203N\310a\310q\340\004\014\210A\330\004\026\220e\320\033/\250q\360\006\000\005\034\2304\320\0370\3200K\3101\310D\320PQ\330\004\005\330\010\024\220O\2401\240A\340\010\013\2106\220\023\220A\330\014\017\210~\230[\250\003\2501\330\020\030\230\t\240\021\240/\260\022\2601\340\020\030\230\001\330\014\023\2205\230\010\240\003\240:\250^\2705\300\t\310\021\340\010\024\220E\230\036\240q\250\007\250q\340\004\007\200z\220\027\230\001\330\010\026\320\026*\250!\330\010\026\320\026-\250Q\330\010%\240Q\240l\260!\330\010\017\210q\360\006\000\005\010\320\007\030\320\030+\2507\260!\360\010\000\t\014\2104\320\017 \320 2\260!\260:\270^\3101\330\014\017\210v\220S\230\001\330\020\023\220>\240\033\250C\250q\330\024\034\230I\240Q\240o\260R\260q\340\024\034\230A\330\014\023\2205\230\010\240\003\2401\340\014\032\320\0321\260\021\330\014)\250\021\250,\260a\330\014\023\2201\340\004\007\200v\210S\220\001\330\010\013\210>\230\033\240C\240q\330\014\024\220I\230Q\230o\250R\250q\340\014\024\220A\330\010\017\210u\220H\230C\230q\340\004\022\320\0220\260\005\3205H\310\001\310\027\320P^\320^r\320rs\340\004\007\200u\210A\330\010\026\320\026-\250^\2701\330\010\013\210>\230\021\330\014)\250\021\250,\260a\330\014\023\2201\360\006\000\t\027\320\026-\250Q\360\006\000\005\031\230\005\230\\\250\024\250Q\250n\270A\330\004\"\240%\320\047N\310d\320RS\320Sa\320ab\360\n\000\005\010\200q\340\010\026\320\0263\2601\330\010\026\320\026-\250Q\340\004\007\200q\360\010\000\t!\240\001\340\010\014\320\014\035\230V\240;\250f\260A\330\014\017\320\017\037\230s\240!\330\020%\240Q\320&9\270\021\340\010\026\320\026*\250$\250a\250q\330\010\026\320\026/\250q\340\004\007\200u\210A\330\010\031\230\025\230a\330\010\033\230>\320):\270!\2701\340\010\013\2101\330\014\017\210u\220A\330\020-\250^\320;V\320VW\330\020\036\320\036>\270g\300S""\310\001\330\020\036\320\036>\270g\300S\310\001\340\014\047\240~\3205N\310a\330\014\032\320\0328\270\007\270s\300!\330\014\032\320\0328\270\007\270s\300!\330\014\032\320\032:\270)\3003\300a\340\004!\240\021\240,\250a\330\004\013\2101\200\001\360\036\000\005\025\320\024(\250\001\330\004\007\200v\210S\220\005\220S\230\005\230Q\330\010\017\210q\340\004#\320#6\260a\260v\270Q\330\004\007\200~\220Q\360\006\000\t\020\210q\340\004\005\330\010\021\220\031\230(\240$\240a\240q\330\010\013\2107\220#\220Q\330\014\023\2201\330\010\032\320\0324\260A\260Q\360\006\000\t\020\210q\340\004\013\320\013\037\230q\240\007\320\0478\3208H\310\006\310g\320UV\200A\330\010\014\210G\2205\230\010\240\004\240I\250Y\260a\330\014\017\210v\220W\230E\240\024\240T\250\027\260\005\260T\270\025\270g\300Q\330\020\023\2207\230#\230V\2404\240w\250c\260\021\330\024\033\2301\330\010\020\220\001\200A\330\010\014\320\014\035\230Q\330\010\014\210K\220|\2401\360\016\000\t\033\320\0325\260Q\200A\330\010\017\210q\200A\330\r\026\220a\330\014\017\210~\230T\240\021\240$\240j\260\003\2604\260q\330\020\036\230d\240!\2404\240z\260\021\200A\340\010\017\210q\220\001\220\026\220q\200A\340\010\017\210q\220\001\220\026\220}\240A\320\000\030\230\001\360\010\000\005\014\210?\230!\320\000\032\320\032-\320-E\300Q\360\014\000\005\010\200w\210i\220q\230\007\230~\250S\260\001\340\010\t\360\010\000\005\r\320\014 \240\001\330\004\007\200v\210S\220\001\330\010\t\340\004\007\320\007\031\230\023\230A\330\010\034\230A\340\010\014\210E\220\031\230*\240A\330\014\017\210w\220a\220s\320\0320\260\001\330\020\021\330\014\r\330\020\"\240!\2401\330\020\023\320\023#\2403\240a\340\024\025\330\023\024\330\020\021\330\014\017\210\177\320\036.\250d\260\"\260C\260\177\300m\320SV\320VW\330\020$\240A\330\020\021\340\004\026\220a\340\004\005\330\010\r\320\r)\250\023\250E\3201T\320TW\320W\\\320\\]\360\006\000\005$\2405\250\001\340\004\007\200q\330\010\033\2307\240\047\250\027\260\002\260\047\270\027\300\001\340\010\017\320\017!\240\021\240-\250w\260g\270X""\300Q\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\340\010\013\2101\330\014\037\230w\240g\250Q\330\014\023\320\023%\240Q\240m\2607\270\047\300\034\310Q\340\014\023\320\023%\240Q\240m\2607\270\047\300\030\310\021\330\014\023\320\023%\240Q\240m\2607\270\047\300\034\310Q\340\004\021\220\025\220a\330\004\007\200t\2101\330\010\013\2105\220\001\330\014\031\230\021\340\014*\250%\250q\330\014\020\320\020\047\320\047B\300\047\310\021\330\020\023\2201\330\024!\240\021\330\024\025\340\004\007\200{\220#\220Q\340\010\033\2307\240\047\250\032\2602\260W\270G\3001\340\010\017\320\017!\240\021\240-\250w\260g\270[\310\001\340\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330\010\013\2104\210q\360\006\000\r\024\320\023%\240Q\240m\2607\270\047\300\027\310\001\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\360\006\000\t\020\320\017!\240\021\240-\250w\260g\270[\310\001\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\330\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330\010\017\320\017!\240\021\240-\250w\260g\270W\300A\330\010\017\320\017!\240\021\240-\250w\260g\270\\\310\021\340\004\013\210;\220a\220}\240A\320\000\"\240!\360\014\000\005\010\200q\340\010\013\2107\220)\2301\230G\240>\260\023\260A\330\014\023\220;\230a\230w\240n\260A\330\014\023\320\023%\240Q\240m\2607\270\047\300\033\310A\330\014\023\320\023%\240Q\240m\2607\270\047\300\034\310Q\330\014\023\320\023%\240Q\240m\2607\270\047\300\027\310\001\330\014\023\320\023%\240Q\240m\2607\270\047\300\027\310\001\330\014\023\320\023%\240Q\240m\2607\270\047\300\034\310Q\330\014\023\320\023%\240Q\240m\2607\270\047\300\030\310\021\330\014\023\220=\240\001\240\027\250\001\340\010\t\330\014\032\320\032,\250A\340\014\032\320\032*\250!\2507\260!\330\014\017\210|\2303\230a\330\020\021\340\010\023\2209\230A\320\000(\250\001\360\014\000\005\010\200q\340\010\026\220g\230Q\330\010\013\2104\210w\220i\230q\240\001\330\014\023\220<\230q\240\r\250Q\330\014!\240\021\330\014\032\230!\340\010\t\330\014\032\320\032,""\250A\360\006\000\r\033\320\032*\250!\2506\260\021\330\014\017\210|\2303\230a\340\020\021\340\010\023\2209\230A"; PyObject *data = NULL; - CYTHON_UNUSED_VAR(__Pyx_DecompressString); + #define __Pyx_DecompressString_UNUSED + #define __Pyx_DecompressString_LZSS_UNUSED #endif PyObject **stringtab = __pyx_mstate->__pyx_string_tab; Py_ssize_t pos = 0; - for (int i = 0; i < 331; i++) { - Py_ssize_t bytes_length = index[i].length; + for (int i = 0; i < 334; i++) { + Py_ssize_t bytes_length = str_length_index[i].length; PyObject *string = PyUnicode_DecodeUTF8(bytes + pos, bytes_length, NULL); - if (likely(string) && i >= 27) PyUnicode_InternInPlace(&string); + if (likely(string) && i >= 28) PyUnicode_InternInPlace(&string); if (unlikely(!string)) { Py_XDECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) @@ -33927,8 +37402,8 @@ const char* const bytes = "1\n Helper class to remove a dummy thread from thr stringtab[i] = string; pos += bytes_length; } - for (int i = 331; i < 360; i++) { - Py_ssize_t bytes_length = index[i].length; + for (int i = 334; i < 363; i++) { + Py_ssize_t bytes_length = bytes_length_index[i-334].length; PyObject *string = PyBytes_FromStringAndSize(bytes + pos, bytes_length); stringtab[i] = string; pos += bytes_length; @@ -33938,25 +37413,29 @@ const char* const bytes = "1\n Helper class to remove a dummy thread from thr } } Py_XDECREF(data); - for (Py_ssize_t i = 0; i < 360; i++) { + for (Py_ssize_t i = 0; i < 363; i++) { if (unlikely(PyObject_Hash(stringtab[i]) == -1)) { __PYX_ERR(0, 1, __pyx_L1_error) } } #if CYTHON_IMMORTAL_CONSTANTS { - PyObject **table = stringtab + 331; + PyObject **table = stringtab + 334; for (Py_ssize_t i=0; i<29; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -33977,16 +37456,20 @@ const char* const bytes = "1\n Helper class to remove a dummy thread from thr { PyObject **table = __pyx_mstate->__pyx_number_tab; for (Py_ssize_t i=0; i<17; ++i) { - #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + #if PY_VERSION_HEX >= 0x030F0000 + PyUnstable_SetImmortal(table[i]); + #elif CYTHON_COMPILING_IN_CPYTHON_FREETHREADING + if ((PY_SSIZE_T_MAX <= _Py_IMMORTAL_REFCNT_LOCAL)) break; #if PY_VERSION_HEX < 0x030E0000 if (_Py_IsOwnedByCurrentThread(table[i]) && Py_REFCNT(table[i]) == 1) #else if (PyUnstable_Object_IsUniquelyReferenced(table[i])) #endif { - Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL); + Py_SET_REFCNT(table[i], ((Py_ssize_t)_Py_IMMORTAL_REFCNT_LOCAL + 1)); } #else + if ((PY_SSIZE_T_MAX < _Py_IMMORTAL_INITIAL_REFCNT)) break; Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT); #endif } @@ -33997,6 +37480,9 @@ const char* const bytes = "1\n Helper class to remove a dummy thread from thr return -1; } /* #### Code section: init_codeobjects ### */ +#ifdef __cplusplus +namespace { +#endif typedef struct { unsigned int argcount : 3; unsigned int num_posonly_args : 1; @@ -34005,6 +37491,9 @@ typedef struct { unsigned int flags : 10; unsigned int first_line : 11; } __Pyx_PyCode_New_function_description; +#ifdef __cplusplus +} /* anonymous namespace */ +#endif /* NewCodeObj.proto */ static PyObject* __Pyx_PyCode_New( const __Pyx_PyCode_New_function_description descr, @@ -34020,29 +37509,29 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { PyObject* tuple_dedup_map = PyDict_New(); if (unlikely(!tuple_dedup_map)) return -1; { - const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 67}; + const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 86}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_instruction, __pyx_mstate->__pyx_n_u_exc}; - __pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cfunc_to_py, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 67}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 86}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_instruction_offset}; - __pyx_mstate_global->__pyx_codeobj_tab[1] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[1])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[1] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cfunc_to_py, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[1])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 67}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 86}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_line}; - __pyx_mstate_global->__pyx_codeobj_tab[2] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[2])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[2] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cfunc_to_py, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[2])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 67}; + const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 86}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_from_offset, __pyx_mstate->__pyx_n_u_to_offset}; - __pyx_mstate_global->__pyx_codeobj_tab[3] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[3])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[3] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cfunc_to_py, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[3])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 67}; + const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 86}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_instruction, __pyx_mstate->__pyx_n_u_retval}; - __pyx_mstate_global->__pyx_codeobj_tab[4] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[4])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[4] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_cfunc_to_py, __pyx_mstate->__pyx_n_u_wrap, __pyx_mstate->__pyx_kp_b_iso88591_A_q_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[4])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS), 56}; @@ -34052,127 +37541,127 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[6] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_4_tCUUYYbbffuuyyz_G1F_a_vWE_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[6])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[6] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_t_C4GYY_ffjjyy_q_l_vWE_Q_q_t_G5, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[6])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[7] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[7])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[7] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[7])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 297}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 303}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_dummy_thread}; __pyx_mstate_global->__pyx_codeobj_tab[8] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_init, __pyx_mstate->__pyx_kp_b_iso88591_A_Q_K_1_5Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[8])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 308}; + const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 314}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self}; __pyx_mstate_global->__pyx_codeobj_tab[9] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_del, __pyx_mstate->__pyx_kp_b_iso88591_A_a_T_j_4q_d_4z, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[9])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 439}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 445}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_offset, __pyx_mstate->__pyx_n_u_start, __pyx_mstate->__pyx_n_u_end, __pyx_mstate->__pyx_n_u_line}; __pyx_mstate_global->__pyx_codeobj_tab[10] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_get_line_of_offset, __pyx_mstate->__pyx_kp_b_iso88591_A_G5_IYa_vWE_T_T_gQ_7_V4wc_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[10])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[11] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_T_tCVVZZrrv_w_J_J_N_N_n_n_r_r, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[11])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[11] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_C4GZZ_vvz_N_N_R_R_r_r_v_v_D_D_H, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[11])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[12] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[12])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[12] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_6, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[12])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[13] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_d_d_G1F_a_vWE_Q_q_t_7_q_d_7_W, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[13])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[13] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_l_a_q_l_vWE_Q_q_t_7_q_d_7_WA_d, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[13])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[14] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_1F, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[14])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[14] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_1F, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[14])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 536}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 542}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code_obj, __pyx_mstate->__pyx_n_u_frame_or_depth}; __pyx_mstate_global->__pyx_codeobj_tab[15] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_get_func_code_info, __pyx_mstate->__pyx_kp_b_iso88591_vS_q_2_aq_gQ_S_Q_1_A_A_fD_a_1_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[15])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 730}; + const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 736}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_code}; __pyx_mstate_global->__pyx_codeobj_tab[16] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_disable_code_tracing, __pyx_mstate->__pyx_kp_b_iso88591_a_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[16])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 741}; + const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 747}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_thread_ident, __pyx_mstate->__pyx_n_u_code, __pyx_mstate->__pyx_n_u_frame}; __pyx_mstate_global->__pyx_codeobj_tab[17] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_enable_code_tracing, __pyx_mstate->__pyx_kp_b_iso88591_vS_S_Q_q_6avQ_Q_q_aq_7_Q_1_4AQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[17])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 779}; + const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 785}; PyObject* const varnames[] = {0}; __pyx_mstate_global->__pyx_codeobj_tab[18] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_reset_thread_local_info, __pyx_mstate->__pyx_kp_b_iso88591__6, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[18])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_state, __pyx_mstate->__pyx_n_u_dict_2, __pyx_mstate->__pyx_n_u_use_setstate}; - __pyx_mstate_global->__pyx_codeobj_tab[19] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_T_G1F_a_vWE_Q_q_t_WA_q_7t1G_gUV, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[19])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[19] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q_q_l_vWE_Q_q_t_WA_q_7t1G_gUV_7, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[19])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 16}; + const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 17}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state}; - __pyx_mstate_global->__pyx_codeobj_tab[20] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_4AV1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[20])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[20] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_4AV1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[20])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1775}; + const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1784}; PyObject* const varnames[] = {0}; __pyx_mstate_global->__pyx_codeobj_tab[21] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_ensure_monitoring, __pyx_mstate->__pyx_kp_b_iso88591_t7_1A_1M_Q_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[21])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1789}; + const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1798}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_all_threads}; __pyx_mstate_global->__pyx_codeobj_tab[22] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_start_monitoring, __pyx_mstate->__pyx_kp_b_iso88591_q_gQ_4wiq_q_Q_A_6_3a_9A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[22])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1817}; + const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1826}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_all_threads}; __pyx_mstate_global->__pyx_codeobj_tab[23] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_stop_monitoring, __pyx_mstate->__pyx_kp_b_iso88591_q_7_1G_A_awnA_Qm7_A_Qm7_Q_Qm7_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[23])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 10, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1845}; + const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 10, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1854}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_suspend_requested, __pyx_mstate->__pyx_n_u_py_db, __pyx_mstate->__pyx_n_u_t, __pyx_mstate->__pyx_n_u_additional_info, __pyx_mstate->__pyx_n_u_required_events, __pyx_mstate->__pyx_n_u_has_caught_exception_breakpoint, __pyx_mstate->__pyx_n_u_break_on_uncaught_exceptions, __pyx_mstate->__pyx_n_u_has_breaks, __pyx_mstate->__pyx_n_u_file_to_line_to_breakpoints, __pyx_mstate->__pyx_n_u_line_to_breakpoints}; __pyx_mstate_global->__pyx_codeobj_tab[24] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_update_monitor_events, __pyx_mstate->__pyx_kp_b_iso88591_EQ_wiq_S_vS_A_A_E_A_was_0_1_3a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[24])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1933}; + const __Pyx_PyCode_New_function_description descr = {0, 0, 0, 0, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1942}; PyObject* const varnames[] = {0}; __pyx_mstate_global->__pyx_codeobj_tab[25] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_restart_events, __pyx_mstate->__pyx_kp_b_iso88591__7, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[25])) goto bad; } { - const __Pyx_PyCode_New_function_description descr = {5, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1968}; + const __Pyx_PyCode_New_function_description descr = {5, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1977}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_py_db, __pyx_mstate->__pyx_n_u_thread_info, __pyx_mstate->__pyx_n_u_frame, __pyx_mstate->__pyx_n_u_event, __pyx_mstate->__pyx_n_u_arg}; __pyx_mstate_global->__pyx_codeobj_tab[26] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_pydevd_sys_monitoring__pydevd_s, __pyx_mstate->__pyx_n_u_do_wait_suspend, __pyx_mstate->__pyx_kp_b_iso88591_5Q_YgWA, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[26])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[27] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_ThreadInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_XQa_7_A_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[27])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[27] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_ThreadInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_XQa_7_A_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[27])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[28] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle_FuncCodeInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[28])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[28] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle_FuncCodeInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_xq_7_a_nA_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[28])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[29] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle__CodeLineInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_q0_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[29])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[29] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle__CodeLineInfo, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_q0_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[29])) goto bad; } { const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 4}; PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_pyx_type, __pyx_mstate->__pyx_n_u_pyx_checksum, __pyx_mstate->__pyx_n_u_pyx_state, __pyx_mstate->__pyx_n_u_pyx_result}; - __pyx_mstate_global->__pyx_codeobj_tab[30] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_pyx_unpickle__TryExceptContain, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[30])) goto bad; + __pyx_mstate_global->__pyx_codeobj_tab[30] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_tree_fragment, __pyx_mstate->__pyx_n_u_pyx_unpickle__TryExceptContain, __pyx_mstate->__pyx_kp_b_iso88591_q_0_kQR_7_8_9RR_a_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[30])) goto bad; } Py_DECREF(tuple_dedup_map); return 0; @@ -34183,8 +37672,11 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) { /* #### Code section: init_globals ### */ static int __Pyx_InitGlobals(void) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; /* PythonCompatibility.init */ - if (likely(__Pyx_init_co_variables() == 0)); else + if (likely(__Pyx_init_co_variables() == 0 && __Pyx_init_tpflags_variables() == 0)); else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) @@ -34207,8 +37699,25 @@ static int __Pyx_InitGlobals(void) { if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) - /* CythonFunctionShared.init */ - if (likely(__pyx_CyFunction_init(__pyx_m) == 0)); else + /* PyFrozenDict.init */ + #if CYTHON_COMPILING_IN_LIMITED_API + { + PyObject *builtins = PyEval_GetBuiltins(); // borrowed + if (likely(builtins)) { + PyObject *type_name = PyUnicode_FromStringAndSize("frozendict", sizeof("frozendict")-1); + if (likely(type_name)) { + PyObject *frozendict_type = PyObject_GetItem(builtins, type_name); + Py_DECREF(type_name); + if (!frozendict_type && PyErr_ExceptionMatches(PyExc_KeyError)) { + PyErr_Clear(); + frozendict_type = (PyObject*) &PyDict_Type; + Py_INCREF(frozendict_type); + } + __pyx_mstate_global->__Pyx_PyFrozenDictType = frozendict_type; + } + } + } // error handling follows + #endif if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) @@ -34221,6 +37730,21 @@ static int __Pyx_InitGlobals(void) { __pyx_L1_error:; return -1; } +/* #### Code section: init_after_shared_utility ### */ + +static int __Pyx_InitAfterSharedUtility(void) { + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + /* CythonFunctionPerModule.init */ + if (likely(__pyx_CyFunction_init(__pyx_m) == 0)); else + + if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) + + return 0; + __pyx_L1_error:; + return -1; +} /* #### Code section: cleanup_globals ### */ /* #### Code section: cleanup_module ### */ /* #### Code section: main_method ### */ @@ -34256,48 +37780,50 @@ static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) { } #endif -/* PyErrExceptionMatches (used by PyObjectGetAttrStrNoError) */ -#if CYTHON_FAST_THREAD_STATE -static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(tuple); - for (i=0; itp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) + return 1; + } + return 0; } - return 0; + return __Pyx_InBases(a, b); } -static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) { - int result; - PyObject *exc_type; -#if PY_VERSION_HEX >= 0x030C00A6 - PyObject *current_exception = tstate->current_exception; - if (unlikely(!current_exception)) return 0; - exc_type = (PyObject*) Py_TYPE(current_exception); - if (exc_type == err) return 1; -#else - exc_type = tstate->curexc_type; - if (exc_type == err) return 1; - if (unlikely(!exc_type)) return 0; -#endif - #if CYTHON_AVOID_BORROWED_REFS - Py_INCREF(exc_type); - #endif - if (unlikely(PyTuple_Check(err))) { - result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); - } else { - result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { + PyObject *mro; + if (cls == a || cls == b) return 1; + mro = cls->tp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + PyObject *base = PyTuple_GET_ITEM(mro, i); + if (base == (PyObject *)a || base == (PyObject *)b) + return 1; + } + return 0; } - #if CYTHON_AVOID_BORROWED_REFS - Py_DECREF(exc_type); - #endif - return result; + return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); } #endif -/* PyErrFetchRestore (used by PyObjectGetAttrStrNoError) */ +/* PyErrFetchRestore (used by GivenExceptionMatches) */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { #if PY_VERSION_HEX >= 0x030C00A6 @@ -34356,6 +37882,95 @@ static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject } #endif +/* GivenExceptionMatches (used by PyErrExceptionMatches) */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { + if (exc_type1) { + return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); + } else { + return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); + } +} +static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { + Py_ssize_t i, n; + assert(PyExceptionClass_Check(exc_type)); + n = PyTuple_GET_SIZE(tuple); + for (i=0; i= 0x030C00A6 + PyObject *current_exception = tstate->current_exception; + if (unlikely(!current_exception)) return 0; + exc_type = (PyObject*) Py_TYPE(current_exception); + if (exc_type == err) return 1; +#else + exc_type = tstate->curexc_type; + if (exc_type == err) return 1; + if (unlikely(!exc_type)) return 0; +#endif + #if CYTHON_AVOID_BORROWED_REFS + Py_INCREF(exc_type); + #endif + if (unlikely(PyTuple_Check(err))) { + result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); + } else { + result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); + } + #if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(exc_type); + #endif + return result; +} +#endif + /* PyObjectGetAttrStr (used by PyObjectGetAttrStrNoError) */ #if CYTHON_USE_TYPE_SLOTS static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { @@ -34405,28 +38020,8 @@ static PyObject *__Pyx_GetBuiltinName(PyObject *name) { return result; } -/* TupleAndListFromArray (used by fastcall) */ -#if !CYTHON_COMPILING_IN_CPYTHON && CYTHON_METH_FASTCALL -static CYTHON_INLINE PyObject * -__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; - Py_ssize_t i; - if (n <= 0) { - return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); - } - res = PyTuple_New(n); - if (unlikely(res == NULL)) return NULL; - for (i = 0; i < n; i++) { - if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) { - Py_DECREF(res); - return NULL; - } - Py_INCREF(src[i]); - } - return res; -} -#elif CYTHON_COMPILING_IN_CPYTHON +/* CopyObjectArray (used by TupleOrListFromArrayImpl) */ +#if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) { PyObject *v; Py_ssize_t i; @@ -34435,156 +38030,84 @@ static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRI Py_INCREF(v); } } -static CYTHON_INLINE PyObject * -__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; +#endif + +/* TupleOrListFromArrayImpl (used by TupleFromArray) */ +#if !(PY_VERSION_HEX >= 0x030F0000 && !CYTHON_COMPILING_IN_LIMITED_API) +CYTHON_UNUSED static PyObject * +__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) { if (n <= 0) { return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple); } - res = PyTuple_New(n); + PyObject *res = PyTuple_New(n); if (unlikely(res == NULL)) return NULL; + #if CYTHON_COMPILING_IN_CPYTHON __Pyx_copy_object_array(src, ((PyTupleObject*)res)->ob_item, n); - return res; -} -static CYTHON_INLINE PyObject * -__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) -{ - PyObject *res; - if (n <= 0) { - return PyList_New(0); + #else + Py_ssize_t i; + for (i = 0; i < n; i++) { + Py_INCREF(src[i]); + if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) { + Py_DECREF(res); + return NULL; + } } - res = PyList_New(n); - if (unlikely(res == NULL)) return NULL; - __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); + #endif return res; } #endif -/* BytesEquals (used by UnicodeEquals) */ -static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) { -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL ||\ - !(CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS) - return PyObject_RichCompareBool(s1, s2, equals); -#else - if (s1 == s2) { - return (equals == Py_EQ); - } else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) { - const char *ps1, *ps2; - Py_ssize_t length = PyBytes_GET_SIZE(s1); - if (length != PyBytes_GET_SIZE(s2)) - return (equals == Py_NE); - ps1 = PyBytes_AS_STRING(s1); - ps2 = PyBytes_AS_STRING(s2); - if (ps1[0] != ps2[0]) { - return (equals == Py_NE); - } else if (length == 1) { - return (equals == Py_EQ); - } else { - int result; -#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) - Py_hash_t hash1, hash2; - hash1 = ((PyBytesObject*)s1)->ob_shash; - hash2 = ((PyBytesObject*)s2)->ob_shash; - if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { - return (equals == Py_NE); - } +/* PyObjectCompare (used by UnicodeEquals) */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} #endif - result = memcmp(ps1, ps2, (size_t)length); - return (equals == Py_EQ) ? (result == 0) : (result != 0); - } - } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) { - return (equals == Py_NE); - } else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) { - return (equals == Py_NE); - } else { - int result; - PyObject* py_result = PyObject_RichCompare(s1, s2, equals); - if (!py_result) - return -1; - result = __Pyx_PyObject_IsTrue(py_result); - Py_DECREF(py_result); - return result; +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_str_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + if (op2 == Py_None) goto __pyx_return_true; else goto __pyx_return_false; } -#endif -} - -/* UnicodeEquals (used by fastcall) */ -static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) { -#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL - return PyObject_RichCompareBool(s1, s2, equals); -#else - int s1_is_unicode, s2_is_unicode; - if (s1 == s2) { - goto return_eq; + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_return_false; } - s1_is_unicode = PyUnicode_CheckExact(s1); - s2_is_unicode = PyUnicode_CheckExact(s2); - if (s1_is_unicode & s2_is_unicode) { - Py_ssize_t length, length2; - int kind; - void *data1, *data2; - #if !CYTHON_COMPILING_IN_LIMITED_API - if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0)) - return -1; - #endif - length = __Pyx_PyUnicode_GET_LENGTH(s1); - #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely(length < 0)) return -1; - #endif - length2 = __Pyx_PyUnicode_GET_LENGTH(s2); - #if !CYTHON_ASSUME_SAFE_SIZE - if (unlikely(length2 < 0)) return -1; - #endif - if (length != length2) { - goto return_ne; - } -#if CYTHON_USE_UNICODE_INTERNALS - { - Py_hash_t hash1, hash2; - hash1 = ((PyASCIIObject*)s1)->hash; - hash2 = ((PyASCIIObject*)s2)->hash; - if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { - goto return_ne; - } - } -#endif - kind = __Pyx_PyUnicode_KIND(s1); - if (kind != __Pyx_PyUnicode_KIND(s2)) { - goto return_ne; - } - data1 = __Pyx_PyUnicode_DATA(s1); - data2 = __Pyx_PyUnicode_DATA(s2); - if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) { - goto return_ne; - } else if (length == 1) { - goto return_eq; - } else { - int result = memcmp(data1, data2, (size_t)(length * kind)); - return (equals == Py_EQ) ? (result == 0) : (result != 0); + + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); } - } else if ((s1 == Py_None) & s2_is_unicode) { - goto return_ne; - } else if ((s2 == Py_None) & s1_is_unicode) { - goto return_ne; - } else { - int result; - PyObject* py_result = PyObject_RichCompare(s1, s2, equals); - if (!py_result) - return -1; - result = __Pyx_PyObject_IsTrue(py_result); - Py_DECREF(py_result); - return result; + goto __pyx_richcmp; } -return_eq: - return (equals == Py_EQ); -return_ne: - return (equals == Py_NE); -#endif + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; } /* fastcall */ -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s) { Py_ssize_t i, n = __Pyx_PyTuple_GET_SIZE(kwnames); @@ -34605,7 +38128,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO #if !CYTHON_ASSUME_SAFE_MACROS if (unlikely(!namei)) return NULL; #endif - int eq = __Pyx_PyUnicode_Equals(s, namei, Py_EQ); + int eq = __Pyx_PyUnicode_Equals(s, namei); if (unlikely(eq != 0)) { if (unlikely(eq < 0)) return NULL; return kwvalues[i]; @@ -34613,7 +38136,7 @@ static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyO } return NULL; } -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { Py_ssize_t i, nkwargs; PyObject *dict; @@ -34685,7 +38208,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject #endif /* PyObjectFastCall (used by PyObjectCallOneArg) */ -#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs) { PyObject *argstuple; PyObject *result = 0; @@ -34702,10 +38225,8 @@ static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * con return result; } #endif -#if CYTHON_VECTORCALL && !CYTHON_COMPILING_IN_LIMITED_API - #if PY_VERSION_HEX < 0x03090000 - #define __Pyx_PyVectorcall_Function(callable) _PyVectorcall_Function(callable) - #elif CYTHON_COMPILING_IN_CPYTHON +#if CYTHON_VECTORCALL && !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY) + #if CYTHON_COMPILING_IN_CPYTHON static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callable) { PyTypeObject *tp = Py_TYPE(callable); #if defined(__Pyx_CyFunction_USED) @@ -34727,8 +38248,8 @@ static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callab #define __Pyx_PyVectorcall_Function(callable) PyVectorcall_Function(callable) #endif #endif -static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t _nargs, PyObject *kwargs) { - Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs); +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwargs) { + Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(nargsf); #if CYTHON_COMPILING_IN_CPYTHON if (nargs == 0 && kwargs == NULL) { if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS)) @@ -34741,12 +38262,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj #endif if (kwargs == NULL) { #if CYTHON_VECTORCALL - #if CYTHON_COMPILING_IN_LIMITED_API - return PyObject_Vectorcall(func, args, _nargs, NULL); + #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY + return PyObject_Vectorcall(func, args, nargsf, NULL); #else vectorcallfunc f = __Pyx_PyVectorcall_Function(func); if (f) { - return f(func, args, _nargs, NULL); + return f(func, args, nargsf, NULL); } #endif #endif @@ -34754,10 +38275,12 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObj if (nargs == 0) { return __Pyx_PyObject_Call(func, __pyx_mstate_global->__pyx_empty_tuple, kwargs); } - #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API - return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs); - #else + #if CYTHON_COMPILING_IN_LIMITED_API return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs); + #elif CYTHON_COMPILING_IN_PYPY + return PyObject_VectorcallDict(func, args, (size_t) nargs, kwargs); + #else + return PyObject_VectorcallDict(func, args, nargsf, kwargs); #endif } @@ -34767,7 +38290,16 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObjec return __Pyx_PyObject_FastCall(func, args+1, 1 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); } -/* UnpackUnboundCMethod (used by CallUnboundCMethod0) */ +/* IgnoreException (used by UnpackUnboundCMethod_impl) */ +static CYTHON_INLINE int __Pyx_IgnoreGivenException(PyObject *given_exception, PyObject *ignorable_exception) { + if (PyErr_GivenExceptionMatches(given_exception ? given_exception : PyErr_Occurred(), ignorable_exception)) { + PyErr_Clear(); + return 1; + } + return 0; +} + +/* UnpackUnboundCMethod_impl (used by UnpackUnboundCMethod) */ #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030C0000 static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) { PyObject *result; @@ -34777,20 +38309,9 @@ static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject * Py_DECREF(selfless_args); return result; } -#elif CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x03090000 -static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) { - return _PyObject_Vectorcall - (method, args ? args+1 : NULL, nargs ? nargs-1 : 0, kwnames); -} #else static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) { - return -#if PY_VERSION_HEX < 0x03090000 - _PyObject_Vectorcall -#else - PyObject_Vectorcall -#endif - (method, args ? args+1 : NULL, nargs ? (size_t) nargs-1 : 0, kwnames); + return PyObject_Vectorcall(method, args ? args+1 : NULL, nargs ? (size_t) nargs-1 : 0, kwnames); } #endif static PyMethodDef __Pyx_UnboundCMethod_Def = { @@ -34814,7 +38335,7 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { { PyMethodDescrObject *descr = (PyMethodDescrObject*) method; target->func = descr->d_method->ml_meth; - target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS); + target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST); } else #endif #if CYTHON_COMPILING_IN_PYPY @@ -34826,8 +38347,8 @@ static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) { int self_found; #if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY self = PyObject_GetAttrString(method, "__self__"); - if (!self) { - PyErr_Clear(); + if (!self && !__Pyx_IgnoreException(PyExc_AttributeError)) { + return -1; } #else self = PyCFunction_GET_SELF(method); @@ -35184,13 +38705,13 @@ static void __Pyx_RejectUnknownKeyword( #endif PyObject *key = NULL; __Pyx_BEGIN_CRITICAL_SECTION(kwds); - while ( - #if CYTHON_AVOID_BORROWED_REFS - __Pyx_PyDict_NextRef(kwds, &pos, &key, NULL) - #else - PyDict_Next(kwds, &pos, &key, NULL) - #endif - ) { + #if CYTHON_AVOID_BORROWED_REFS + while (__Pyx_PyDict_NextRef(kwds, &pos, &key, NULL)) + #else + (void) &__Pyx_PyDict_NextRef; + while (PyDict_Next(kwds, &pos, &key, NULL)) + #endif + { PyObject** const *name = first_kw_arg; while (*name && (**name != key)) name++; if (!*name) { @@ -35400,7 +38921,7 @@ static int __Pyx_ParseKeywords( const char* function_name, int ignore_unknown_kwargs) { - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kwds))) return __Pyx_ParseKeywordsTuple(kwds, kwvalues, argnames, kwds2, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs); else if (kwds2) return __Pyx_ParseKeywordDictToDict(kwds, argnames, kwds2, values, num_pos_args, function_name); @@ -35452,167 +38973,8 @@ static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *ke return value; } -/* LimitedApiGetTypeDict (used by SetItemOnTypeDict) */ -#if CYTHON_COMPILING_IN_LIMITED_API -static Py_ssize_t __Pyx_GetTypeDictOffset(void) { - PyObject *tp_dictoffset_o; - Py_ssize_t tp_dictoffset; - tp_dictoffset_o = PyObject_GetAttrString((PyObject*)(&PyType_Type), "__dictoffset__"); - if (unlikely(!tp_dictoffset_o)) return -1; - tp_dictoffset = PyLong_AsSsize_t(tp_dictoffset_o); - Py_DECREF(tp_dictoffset_o); - if (unlikely(tp_dictoffset == 0)) { - PyErr_SetString( - PyExc_TypeError, - "'type' doesn't have a dictoffset"); - return -1; - } else if (unlikely(tp_dictoffset < 0)) { - PyErr_SetString( - PyExc_TypeError, - "'type' has an unexpected negative dictoffset. " - "Please report this as Cython bug"); - return -1; - } - return tp_dictoffset; -} -static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) { - static Py_ssize_t tp_dictoffset = 0; - if (unlikely(tp_dictoffset == 0)) { - tp_dictoffset = __Pyx_GetTypeDictOffset(); - if (unlikely(tp_dictoffset == -1 && PyErr_Occurred())) { - tp_dictoffset = 0; // try again next time? - return NULL; - } - } - return *(PyObject**)((char*)tp + tp_dictoffset); -} -#endif - -/* SetItemOnTypeDict (used by FixUpExtensionType) */ -static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) { - int result; - PyObject *tp_dict; -#if CYTHON_COMPILING_IN_LIMITED_API - tp_dict = __Pyx_GetTypeDict(tp); - if (unlikely(!tp_dict)) return -1; -#else - tp_dict = tp->tp_dict; -#endif - result = PyDict_SetItem(tp_dict, k, v); - if (likely(!result)) { - PyType_Modified(tp); - if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name))) { - PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name, (PyObject *) tp, k, NULL); - if (!setNameResult) return -1; - Py_DECREF(setNameResult); - } - } - return result; -} - -/* FixUpExtensionType (used by FetchCommonType) */ -static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type) { -#if __PYX_LIMITED_VERSION_HEX > 0x030900B1 - CYTHON_UNUSED_VAR(spec); - CYTHON_UNUSED_VAR(type); - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); -#else - const PyType_Slot *slot = spec->slots; - int changed = 0; -#if !CYTHON_COMPILING_IN_LIMITED_API - while (slot && slot->slot && slot->slot != Py_tp_members) - slot++; - if (slot && slot->slot == Py_tp_members) { -#if !CYTHON_COMPILING_IN_CPYTHON - const -#endif // !CYTHON_COMPILING_IN_CPYTHON) - PyMemberDef *memb = (PyMemberDef*) slot->pfunc; - while (memb && memb->name) { - if (memb->name[0] == '_' && memb->name[1] == '_') { - if (strcmp(memb->name, "__weaklistoffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_weaklistoffset = memb->offset; - changed = 1; - } - else if (strcmp(memb->name, "__dictoffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_dictoffset = memb->offset; - changed = 1; - } -#if CYTHON_METH_FASTCALL - else if (strcmp(memb->name, "__vectorcalloffset__") == 0) { - assert(memb->type == T_PYSSIZET); - assert(memb->flags == READONLY); - type->tp_vectorcall_offset = memb->offset; - changed = 1; - } -#endif // CYTHON_METH_FASTCALL -#if !CYTHON_COMPILING_IN_PYPY - else if (strcmp(memb->name, "__module__") == 0) { - PyObject *descr; - assert(memb->type == T_OBJECT); - assert(memb->flags == 0 || memb->flags == READONLY); - descr = PyDescr_NewMember(type, memb); - if (unlikely(!descr)) - return -1; - int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); - Py_DECREF(descr); - if (unlikely(set_item_result < 0)) { - return -1; - } - changed = 1; - } -#endif // !CYTHON_COMPILING_IN_PYPY - } - memb++; - } - } -#endif // !CYTHON_COMPILING_IN_LIMITED_API -#if !CYTHON_COMPILING_IN_PYPY - slot = spec->slots; - while (slot && slot->slot && slot->slot != Py_tp_getset) - slot++; - if (slot && slot->slot == Py_tp_getset) { - PyGetSetDef *getset = (PyGetSetDef*) slot->pfunc; - while (getset && getset->name) { - if (getset->name[0] == '_' && getset->name[1] == '_' && strcmp(getset->name, "__module__") == 0) { - PyObject *descr = PyDescr_NewGetSet(type, getset); - if (unlikely(!descr)) - return -1; - #if CYTHON_COMPILING_IN_LIMITED_API - PyObject *pyname = PyUnicode_FromString(getset->name); - if (unlikely(!pyname)) { - Py_DECREF(descr); - return -1; - } - int set_item_result = __Pyx_SetItemOnTypeDict(type, pyname, descr); - Py_DECREF(pyname); - #else - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); - int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr); - #endif - Py_DECREF(descr); - if (unlikely(set_item_result < 0)) { - return -1; - } - changed = 1; - } - ++getset; - } - } -#else - CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict); -#endif // !CYTHON_COMPILING_IN_PYPY - if (changed) - PyType_Modified(type); -#endif // PY_VERSION_HEX > 0x030900B1 - return 0; -} - /* AddModuleRef (used by FetchSharedCythonModule) */ -#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING +#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && PY_VERSION_HEX < 0x030F00a3 static PyObject *__Pyx_PyImport_AddModuleObjectRef(PyObject *name) { PyObject *module_dict = PyImport_GetModuleDict(); PyObject *m; @@ -35640,15 +39002,16 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject } } static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { + if ((PY_VERSION_HEX >= 0x030E0000) && Py_Version >= 0x030E0100) { + return PyImport_AddModuleRef(name); + } PyObject *py_name = PyUnicode_FromString(name); if (!py_name) return NULL; PyObject *module = __Pyx_PyImport_AddModuleObjectRef(py_name); Py_DECREF(py_name); return module; } -#elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000 - #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name) -#else +#elif __PYX_LIMITED_VERSION_HEX < 0x030d0000 static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { PyObject *module = PyImport_AddModule(name); Py_XINCREF(module); @@ -35661,25 +39024,7 @@ static PyObject *__Pyx_FetchSharedCythonABIModule(void) { return __Pyx_PyImport_AddModuleRef(__PYX_ABI_MODULE_NAME); } -/* FetchCommonType (used by CommonTypesMetaclass) */ -#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 -static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { - PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases); - if (result && metaclass) { - PyObject *old_tp = (PyObject*)Py_TYPE(result); - Py_INCREF((PyObject*)metaclass); -#if __PYX_LIMITED_VERSION_HEX >= 0x03090000 - Py_SET_TYPE(result, metaclass); -#else - result->ob_type = metaclass; -#endif - Py_DECREF(old_tp); - } - return result; -} -#else -#define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b) -#endif +/* VerifyCachedType (used by FetchCommonType) */ static int __Pyx_VerifyCachedType(PyObject *cached_type, const char *name, Py_ssize_t expected_basicsize) { @@ -35692,18 +39037,27 @@ static int __Pyx_VerifyCachedType(PyObject *cached_type, if (expected_basicsize == 0) { return 0; // size is inherited, nothing useful to check } -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_basicsize; - py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); - if (unlikely(!py_basicsize)) return -1; - basicsize = PyLong_AsSsize_t(py_basicsize); - Py_DECREF(py_basicsize); - py_basicsize = NULL; - if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1; -#else - basicsize = ((PyTypeObject*) cached_type)->tp_basicsize; +#if CYTHON_COMPILING_IN_LIMITED_API && CYTHON_OPAQUE_OBJECTS + if (expected_basicsize < 0) { + basicsize = PyType_GetTypeDataSize((PyTypeObject*)cached_type); + } else #endif - if (basicsize != expected_basicsize) { + { + #if CYTHON_COMPILING_IN_LIMITED_API + PyObject *py_basicsize; + py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); + if (unlikely(!py_basicsize)) return -1; + basicsize = PyLong_AsSsize_t(py_basicsize); + Py_DECREF(py_basicsize); + py_basicsize = NULL; + if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1; + #else + basicsize = ((PyTypeObject*) cached_type)->tp_basicsize; + #endif + } + if ((expected_basicsize >= 0) ? + (basicsize != expected_basicsize) : + (basicsize < -expected_basicsize)) { PyErr_Format(PyExc_TypeError, "Shared Cython type %.200s has the wrong size, try recompiling", name); @@ -35711,6 +39065,23 @@ static int __Pyx_VerifyCachedType(PyObject *cached_type, } return 0; } + +/* FetchCommonType (used by CommonTypesMetaclass) */ +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 +static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { + PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases); + if (result && metaclass) { + PyObject *old_tp = (PyObject*)Py_TYPE(result); + Py_INCREF((PyObject*)metaclass); + Py_SET_TYPE(result, metaclass); + Py_DECREF(old_tp); + PyType_Modified((PyTypeObject*)result); + } + return result; +} +#else +#define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b) +#endif static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) { PyObject *abi_module = NULL, *cached_type = NULL, *abi_module_dict, *new_cached_type, *py_object_name; int get_item_ref_result; @@ -35739,7 +39110,6 @@ static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyOb CYTHON_USE_MODULE_STATE ? module : abi_module, spec, bases); if (unlikely(!cached_type)) goto bad; - if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad; new_cached_type = __Pyx_PyDict_SetDefault(abi_module_dict, py_object_name, cached_type); if (unlikely(new_cached_type != cached_type)) { if (unlikely(!new_cached_type)) goto bad; @@ -35816,13 +39186,91 @@ static int __pyx_CommonTypesMetaclass_init(PyObject *module) { return 0; } +/* CythonFunctionPerModule (used by CythonFunctionShared) */ +#if CYTHON_OPAQUE_SHARED_TYPES && CYTHON_USE_MODULE_STATE +static __pyx_CyFunctionObject *__Pyx_as_CyFunctionObject_safe(PyObject *o) { + PyTypeObject *cyfunctype = Py_TYPE(o); + while (1) { + PyTypeObject *base = (PyTypeObject *)PyType_GetSlot(cyfunctype, Py_tp_base); + if (base == &PyBaseObject_Type || base == NULL) { + break; + } + cyfunctype = base; + } + return (__pyx_CyFunctionObject *)PyObject_GetTypeData((o), cyfunctype); +} +#else +#define __Pyx_as_CyFunctionObject_safe __Pyx_as_CyFunctionObject +#endif +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) { + if (__Pyx_CyFunction_Check(func)) { + return __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_meth == (PyCFunction) cfunc; + } else if (PyCFunction_Check(func)) { + return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; + } + return 0; +} +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { + if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) { + int result; + PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func); + if (unlikely(!newFunc)) { + PyErr_Clear(); // It's only an optimization, so don't throw an error + return 0; + } + result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc); + Py_DECREF(newFunc); + return result; + } + return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc); +} +#else +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { + if (PyMethod_Check(func)) { + func = PyMethod_GET_FUNCTION(func); + } + return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; +} +#endif +static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + __Pyx_Py_XDECREF_SET( + __Pyx_CyFunction_ClassObj(f), + ((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#else + __Pyx_Py_XDECREF_SET( + ((PyCMethodObject *) (f))->mm_class, + (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#endif +} +static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type); + if (unlikely(!m->defaults)) + return NULL; + return m->defaults; +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults_tuple = tuple; + Py_INCREF(tuple); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->defaults_kwdict = dict; + Py_INCREF(dict); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(func); + m->func_annotations = dict; + Py_INCREF(dict); +} + /* CallTypeTraverse (used by CythonFunctionShared) */ -#if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000) +#if !CYTHON_USE_TYPE_SPECS #else static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg) { - #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x03090000 - if (__Pyx_get_runtime_version() < 0x03090000) return 0; - #endif if (!always_call) { PyTypeObject *base = __Pyx_PyObject_GetSlot(o, tp_base, PyTypeObject*); unsigned long flags = PyType_GetFlags(base); @@ -35862,7 +39310,7 @@ static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *ty #endif /* PyVectorcallFastCallDict (used by CythonFunctionShared) */ -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL +#if CYTHON_VECTORCALL static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) { PyObject *res = NULL; @@ -35952,87 +39400,43 @@ static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, _ #endif /* CythonFunctionShared (used by CythonFunction) */ -#if CYTHON_COMPILING_IN_LIMITED_API -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) { - if (__Pyx_CyFunction_Check(func)) { - return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc; - } else if (PyCFunction_Check(func)) { - return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; - } - return 0; -} -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { - if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) { - int result; - PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func); - if (unlikely(!newFunc)) { - PyErr_Clear(); // It's only an optimization, so don't throw an error - return 0; - } - result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc); - Py_DECREF(newFunc); - return result; - } - return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc); -} -#else -static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) { - if (PyMethod_Check(func)) { - func = PyMethod_GET_FUNCTION(func); - } - return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; -} -#endif -static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - __Pyx_Py_XDECREF_SET( - __Pyx_CyFunction_GetClassObj(f), - ((classobj) ? __Pyx_NewRef(classobj) : NULL)); -#else - __Pyx_Py_XDECREF_SET( - ((PyCMethodObject *) (f))->mm_class, - (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); -#endif -} static PyObject * __Pyx_CyFunction_get_doc_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_doc == NULL)) { -#if CYTHON_COMPILING_IN_LIMITED_API - op->func_doc = PyObject_GetAttrString(op->func, "__doc__"); - if (unlikely(!op->func_doc)) return NULL; -#else - if (((PyCFunctionObject*)op)->m_ml->ml_doc) { - op->func_doc = PyUnicode_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc); + const char *doc = __Pyx_CyFunction_MethodDef(op)->ml_doc; + if (doc) { + op->func_doc = PyUnicode_FromString(doc); if (unlikely(op->func_doc == NULL)) return NULL; } else { Py_INCREF(Py_None); return Py_None; } -#endif } Py_INCREF(op->func_doc); return op->func_doc; } static PyObject * -__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, void *closure) { +__Pyx_CyFunction_get_doc(PyObject *op_in, void *closure) { PyObject *result; + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(closure); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); result = __Pyx_CyFunction_get_doc_locked(op); __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_doc(PyObject *op_in, PyObject *value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (value == NULL) { value = Py_None; } Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_doc, value); __Pyx_END_CRITICAL_SECTION(); return 0; @@ -36041,11 +39445,8 @@ static PyObject * __Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op) { if (unlikely(op->func_name == NULL)) { -#if CYTHON_COMPILING_IN_LIMITED_API - op->func_name = PyObject_GetAttrString(op->func, "__name__"); -#else - op->func_name = PyUnicode_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name); -#endif + const char *name = __Pyx_CyFunction_MethodDef(op)->ml_name; + op->func_name = PyUnicode_InternFromString(name); if (unlikely(op->func_name == NULL)) return NULL; } @@ -36053,17 +39454,17 @@ __Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op) return op->func_name; } static PyObject * -__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_name(PyObject *op, void *context) { PyObject *result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); - result = __Pyx_CyFunction_get_name_locked(op); + result = __Pyx_CyFunction_get_name_locked(__Pyx_as_CyFunctionObject(op)); __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_name(PyObject *op_in, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { @@ -36071,25 +39472,27 @@ __Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *con "__name__ must be set to a string object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_name, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_qualname(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *result; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); Py_INCREF(op->func_qualname); result = op->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static int -__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void *context) +__Pyx_CyFunction_set_qualname(PyObject *op_in, PyObject *value, void *context) { CYTHON_UNUSED_VAR(context); if (unlikely(value == NULL || !PyUnicode_Check(value))) { @@ -36097,8 +39500,9 @@ __Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void "__qualname__ must be set to a string object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_qualname, value); __Pyx_END_CRITICAL_SECTION(); return 0; @@ -36118,14 +39522,15 @@ __Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op, void *context) } #endif static PyObject * -__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_globals(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_INCREF(op->func_globals); return op->func_globals; } static PyObject * -__Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_closure(PyObject *op, void *context) { CYTHON_UNUSED_VAR(op); CYTHON_UNUSED_VAR(context); @@ -36133,17 +39538,18 @@ __Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) return Py_None; } static PyObject * -__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, void *context) +__Pyx_CyFunction_get_code(PyObject *op_in, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = (op->func_code) ? op->func_code : Py_None; CYTHON_UNUSED_VAR(context); Py_INCREF(result); return result; } static int -__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op, PyObject *op_obj) { int result = 0; - PyObject *res = op->defaults_getter((PyObject *) op); + PyObject *res = op->defaults_getter(op_obj); if (unlikely(!res)) return -1; #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS @@ -36163,7 +39569,8 @@ __Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { return result; } static int -__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_defaults(PyObject *op_in, PyObject* value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; @@ -36175,17 +39582,18 @@ __Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__defaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->defaults_tuple, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_get_defaults_locked(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = op->defaults_tuple; if (unlikely(!result)) { if (op->defaults_getter) { - if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + if (unlikely(__Pyx_CyFunction_init_defaults(op, op_in) < 0)) return NULL; result = op->defaults_tuple; } else { result = Py_None; @@ -36195,7 +39603,7 @@ __Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_defaults(PyObject *op, void *context) { PyObject* result = NULL; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); @@ -36204,7 +39612,8 @@ __Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { return result; } static int -__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_kwdefaults(PyObject *op_in, PyObject* value, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); if (!value) { value = Py_None; @@ -36216,17 +39625,18 @@ __Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, voi PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__kwdefaults__ will not " "currently affect the values used in function calls", 1); Py_INCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->defaults_kwdict, value); __Pyx_END_CRITICAL_SECTION(); return 0; } static PyObject * -__Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) { +__Pyx_CyFunction_get_kwdefaults_locked(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject* result = op->defaults_kwdict; if (unlikely(!result)) { if (op->defaults_getter) { - if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + if (unlikely(__Pyx_CyFunction_init_defaults(op, op_in) < 0)) return NULL; result = op->defaults_kwdict; } else { result = Py_None; @@ -36236,7 +39646,7 @@ __Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_kwdefaults(PyObject *op, void *context) { PyObject* result; CYTHON_UNUSED_VAR(context); __Pyx_BEGIN_CRITICAL_SECTION(op); @@ -36244,8 +39654,9 @@ __Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { __Pyx_END_CRITICAL_SECTION(); return result; } +static int __Pyx_CyFunction_set_annotate_in_dict_if_exists(PyObject *op_in, PyObject *value); static int -__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_annotations(PyObject *op_in, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); if (!value || value == Py_None) { value = NULL; @@ -36254,12 +39665,71 @@ __Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, vo "__annotations__ must be set to a dict object"); return -1; } + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); Py_XINCREF(value); - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); __Pyx_Py_XDECREF_SET(op->func_annotations, value); __Pyx_END_CRITICAL_SECTION(); + if (unlikely(__Pyx_CyFunction_set_annotate_in_dict_if_exists(op_in, Py_None) < 0)) return -1; return 0; } +static int +__Pyx_CyFunction_get_dict_if_exists(PyObject *op_in, PyObject **dict) { + /* Return 1 if the function dict exists, 0 otherwise. This cannot fail: + * _PyObject_GetDictPtr() may clear errors internally, but never reports them. */ +#if CYTHON_COMPILING_IN_PYPY + *dict = PyObject_GenericGetDict(op_in, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX < 0x030C0000 + *dict = __Pyx_as_CyFunctionObject(op_in)->func_dict; +#else + PyObject **dictptr = _PyObject_GetDictPtr(op_in); + *dict = likely(dictptr) ? *dictptr : NULL; +#endif + return *dict ? 1 : 0; +} +static int +__Pyx_CyFunction_get_annotate_from_dict_if_exists(PyObject *op_in, PyObject **annotate) { + PyObject *dict; + int dict_found; + *annotate = NULL; + dict_found = __Pyx_CyFunction_get_dict_if_exists(op_in, &dict); + if (!dict_found) return 0; + return __Pyx_PyDict_GetItemRef(dict, __pyx_mstate_global->__pyx_n_u_annotate, annotate); +} +static int +__Pyx_CyFunction_set_annotate_in_dict_if_exists(PyObject *op_in, PyObject *value) { + PyObject *dict; + int dict_found; + dict_found = __Pyx_CyFunction_get_dict_if_exists(op_in, &dict); + if (!dict_found) return 0; + if (value) { + return PyDict_SetItem(dict, __pyx_mstate_global->__pyx_n_u_annotate, value); + } else { +#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d0000 + return PyDict_Pop(dict, __pyx_mstate_global->__pyx_n_u_annotate, NULL); +#else + int result = PyDict_Contains(dict, __pyx_mstate_global->__pyx_n_u_annotate); + if (result == 1) { + result = PyDict_DelItem(dict, __pyx_mstate_global->__pyx_n_u_annotate); + } + return result; +#endif + } +} +static int +__Pyx_CyFunction_set_annotate_in_dict(PyObject *op_in, PyObject *value) { + PyObject *dict; + int result; +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + dict = __Pyx_CyFunction_get_dict(__Pyx_as_CyFunctionObject(op_in), NULL); +#else + dict = PyObject_GenericGetDict(op_in, NULL); +#endif + if (unlikely(!dict)) return -1; + result = PyDict_SetItem(dict, __pyx_mstate_global->__pyx_n_u_annotate, value); + Py_DECREF(dict); + return result; +} static PyObject * __Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) { PyObject* result = op->func_annotations; @@ -36272,14 +39742,93 @@ __Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) { return result; } static PyObject * -__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op, void *context) { - PyObject *result; +__Pyx_CyFunction_get_annotations(PyObject *op_in, void *context) { + PyObject *annotate = NULL; + PyObject *result = NULL; + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); CYTHON_UNUSED_VAR(context); - __Pyx_BEGIN_CRITICAL_SECTION(op); - result = __Pyx_CyFunction_get_annotations_locked(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + result = __Pyx_XNewRef(op->func_annotations); + __Pyx_END_CRITICAL_SECTION(); + if (result) return result; + if (unlikely(__Pyx_CyFunction_get_annotate_from_dict_if_exists(op_in, &annotate) < 0)) return NULL; + if (!annotate || annotate == Py_None) { + Py_XDECREF(annotate); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + result = __Pyx_CyFunction_get_annotations_locked(op); + __Pyx_END_CRITICAL_SECTION(); + return result; + } + PyObject *format = PyLong_FromLong(1L); // annotationlib.Format.VALUE + if (likely(format)) { + if (!Py_EnterRecursiveCall(" cyfunction __annotations__.__get__")) { + result = __Pyx_PyObject_CallOneArg(annotate, format); + Py_LeaveRecursiveCall(); + Py_DECREF(format); + } + } + Py_DECREF(annotate); + if (unlikely(!result)) return NULL; + if (unlikely(!PyDict_Check(result))) { + PyErr_SetString(PyExc_TypeError, "__annotate__ must return a dict"); + Py_DECREF(result); + return NULL; + } + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + __Pyx_Py_XDECREF_SET(op->func_annotations, __Pyx_NewRef(result)); __Pyx_END_CRITICAL_SECTION(); return result; } +static PyObject *__Pyx_CyFunction_annotate_impl(PyObject *self, PyObject *arg) { + CYTHON_UNUSED_VAR(arg); + if (unlikely(!self)) { + PyErr_SetString(PyExc_SystemError, "cython __annotate__ called without 'self' argument"); + return NULL; + } + PyObject *result; + if (Py_EnterRecursiveCall(" in cyfunction annotate")) { + return NULL; + } + result = __Pyx_CyFunction_get_annotations(self, NULL); + Py_LeaveRecursiveCall(); + return result; +} +static PyObject * +__Pyx_CyFunction_get_annotate(PyObject *op_in, void *context); +static int +__Pyx_CyFunction_set_annotate(PyObject *op_in, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + if (value == NULL) { + PyErr_SetString(PyExc_TypeError, "__annotate__ cannot be deleted"); + return -1; + } + if (unlikely(value != Py_None && !PyCallable_Check(value))) { + PyErr_SetString(PyExc_TypeError, "__annotate__ must be callable or None"); + return -1; + } + if (unlikely(__Pyx_TypeCheck(value, &PyCFunction_Type))) { +#if !CYTHON_ASSUME_SAFE_MACROS && !CYTHON_COMPILING_IN_PYPY + PyCFunction cfunction = PyCFunction_GetFunction(value); + if (unlikely(!cfunction)) return -1; + PyObject *value_self = PyCFunction_GetSelf(value); + if (unlikely(!value_self && PyErr_Occurred())) return -1; +#else + PyCFunction cfunction = PyCFunction_GET_FUNCTION(value); + PyObject *value_self = PyCFunction_GET_SELF(value); +#endif + if (cfunction == __Pyx_CyFunction_annotate_impl && value_self == op_in) { + return __Pyx_CyFunction_set_annotate_in_dict_if_exists(op_in, NULL); + } + } + if (value != Py_None) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); + Py_CLEAR(op->func_annotations); + __Pyx_END_CRITICAL_SECTION(); + } + return __Pyx_CyFunction_set_annotate_in_dict(op_in, value); +} +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 static PyObject * __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { int is_coroutine = op->flags & __Pyx_CYFUNCTION_COROUTINE; @@ -36292,26 +39841,30 @@ __Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) { PyList_SET_ITEM(fromlist, 0, marker); #else if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) { - Py_DECREF(marker); Py_DECREF(fromlist); return NULL; } #endif module = PyImport_ImportModuleLevelObject(__pyx_mstate_global->__pyx_n_u_asyncio_coroutines, NULL, NULL, fromlist, 0); Py_DECREF(fromlist); - if (unlikely(!module)) goto ignore; + if (unlikely(!module)) { + goto ignore_or_error; + } is_coroutine_value = __Pyx_PyObject_GetAttrStr(module, marker); Py_DECREF(module); if (likely(is_coroutine_value)) { return is_coroutine_value; } -ignore: - PyErr_Clear(); +ignore_or_error: + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; + } } return __Pyx_PyBool_FromLong(is_coroutine); } static PyObject * -__Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_is_coroutine(PyObject *op_in, void *context) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *result; CYTHON_UNUSED_VAR(context); if (op->func_is_coroutine) { @@ -36320,7 +39873,7 @@ __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { result = __Pyx_CyFunction_get_is_coroutine_value(op); if (unlikely(!result)) return NULL; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); if (op->func_is_coroutine) { Py_DECREF(result); result = __Pyx_NewRef(op->func_is_coroutine); @@ -36330,46 +39883,39 @@ __Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { __Pyx_END_CRITICAL_SECTION(); return result; } -static void __Pyx_CyFunction_raise_argument_count_error(__pyx_CyFunctionObject *func, const char* message, Py_ssize_t size) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); - if (!py_name) return; - PyErr_Format(PyExc_TypeError, - "%.200S() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", - py_name, message, size); - Py_DECREF(py_name); -#else - const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; +#endif +static void __Pyx_CyFunction_raise_argument_count_error(PyObject *func, const char* message, Py_ssize_t size) { + const char* name = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s (%" CYTHON_FORMAT_SSIZE_T "d given)", name, message, size); -#endif } -static void __Pyx_CyFunction_raise_type_error(__pyx_CyFunctionObject *func, const char* message) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL); - if (!py_name) return; - PyErr_Format(PyExc_TypeError, - "%.200S() %s", - py_name, message); - Py_DECREF(py_name); -#else - const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name; +static void __Pyx_CyFunction_raise_type_error(PyObject *func, const char* message) { + const char* name = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func))->ml_name; PyErr_Format(PyExc_TypeError, "%.200s() %s", name, message); -#endif } -#if CYTHON_COMPILING_IN_LIMITED_API +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL static PyObject * -__Pyx_CyFunction_get_module(__pyx_CyFunctionObject *op, void *context) { +__Pyx_CyFunction_get_module(PyObject *op_in, void *context) { CYTHON_UNUSED_VAR(context); - return PyObject_GetAttrString(op->func, "__module__"); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + Py_INCREF(op->func_module); + return op->func_module; } static int -__Pyx_CyFunction_set_module(__pyx_CyFunctionObject *op, PyObject* value, void *context) { +__Pyx_CyFunction_set_module(PyObject *op_in, PyObject* value, void *context) { CYTHON_UNUSED_VAR(context); - return PyObject_SetAttrString(op->func, "__module__", value); + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); + if (value == NULL) { + value = Py_None; + } + Py_INCREF(value); + PyObject *old = op->func_module; + op->func_module = value; + Py_DECREF(old); + return 0; } #endif static PyGetSetDef __pyx_CyFunction_getsets[] = { @@ -36395,27 +39941,33 @@ static PyGetSetDef __pyx_CyFunction_getsets[] = { {"__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, {"__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0}, {"__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0}, + {"__annotate__", (getter)__Pyx_CyFunction_get_annotate, (setter)__Pyx_CyFunction_set_annotate, 0, 0}, +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 {"_is_coroutine", (getter)__Pyx_CyFunction_get_is_coroutine, 0, 0, 0}, -#if CYTHON_COMPILING_IN_LIMITED_API +#endif +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL {"__module__", (getter)__Pyx_CyFunction_get_module, (setter)__Pyx_CyFunction_set_module, 0, 0}, #endif {0, 0, 0, 0, 0} }; static PyMemberDef __pyx_CyFunction_members[] = { -#if !CYTHON_COMPILING_IN_LIMITED_API +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) {"__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), 0, 0}, #endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API - {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), READONLY, 0}, + {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #endif -#if CYTHON_METH_FASTCALL -#if CYTHON_COMPILING_IN_LIMITED_API - {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), READONLY, 0}, +#if CYTHON_VECTORCALL +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL + {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #else {"__vectorcalloffset__", T_PYSSIZET, offsetof(PyCFunctionObject, vectorcall), READONLY, 0}, #endif -#if CYTHON_COMPILING_IN_LIMITED_API - {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), READONLY, 0}, +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL + {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), + __PYX_SHARED_RELATIVE_OFFSET | READONLY, 0}, #else {"__weaklistoffset__", T_PYSSIZET, offsetof(PyCFunctionObject, m_weakreflist), READONLY, 0}, #endif @@ -36423,48 +39975,59 @@ static PyMemberDef __pyx_CyFunction_members[] = { {0, 0, 0, 0, 0} }; static PyObject * -__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, PyObject *args) +__Pyx_CyFunction_reduce(PyObject *m_in, PyObject *args) { PyObject *result = NULL; + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject(m_in); CYTHON_UNUSED_VAR(args); - __Pyx_BEGIN_CRITICAL_SECTION(m); + __Pyx_BEGIN_CRITICAL_SECTION(m_in); Py_INCREF(m->func_qualname); result = m->func_qualname; __Pyx_END_CRITICAL_SECTION(); return result; } static PyMethodDef __pyx_CyFunction_methods[] = { - {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0}, + {"__annotate_cython__", __Pyx_CyFunction_annotate_impl, METH_O, + "Placeholder __annotate__ function to allow 'functools.wraps' to work " + "on Cython functions."}, + {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_NOARGS, 0}, {0, 0, 0, 0} }; -#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject * +__Pyx_CyFunction_get_annotate(PyObject *op_in, void *context) { + PyObject *annotate = NULL; + CYTHON_UNUSED_VAR(context); + if (unlikely(__Pyx_CyFunction_get_annotate_from_dict_if_exists(op_in, &annotate) < 0)) return NULL; + if (annotate) return annotate; + PyObject *method = PyCFunction_New( + &__pyx_CyFunction_methods[0], + op_in); + return method; +} +#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL #define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist) #else #define __Pyx_CyFunction_weakreflist(cyfunc) (((PyCFunctionObject*)cyfunc)->m_weakreflist) #endif -static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef *ml, int flags, PyObject* qualname, +static PyObject *__Pyx_CyFunction_Init(PyObject *op_in, + PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { -#if !CYTHON_COMPILING_IN_LIMITED_API + __pyx_CyFunctionObject* op = __Pyx_as_CyFunctionObject(op_in); +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) PyCFunctionObject *cf = (PyCFunctionObject*) op; #endif if (unlikely(op == NULL)) return NULL; -#if CYTHON_COMPILING_IN_LIMITED_API - op->func = PyCFunction_NewEx(ml, (PyObject*)op, module); - if (unlikely(!op->func)) return NULL; -#endif + __Pyx_CyFunction_MethodDef(op) = ml; + Py_XINCREF(module); + __Pyx_CyFunction_Module(op) = module; op->flags = flags; __Pyx_CyFunction_weakreflist(op) = NULL; -#if !CYTHON_COMPILING_IN_LIMITED_API - cf->m_ml = ml; +#if !(CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) cf->m_self = (PyObject *) op; #endif Py_XINCREF(closure); op->func_closure = closure; -#if !CYTHON_COMPILING_IN_LIMITED_API - Py_XINCREF(module); - cf->m_module = module; -#endif #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API op->func_dict = NULL; #endif @@ -36472,11 +40035,7 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * Py_INCREF(qualname); op->func_qualname = qualname; op->func_doc = NULL; -#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API - op->func_classobj = NULL; -#else - ((PyCMethodObject*)op)->mm_class = NULL; -#endif + __Pyx_CyFunction_ClassObj(op) = NULL; op->func_globals = globals; Py_INCREF(op->func_globals); Py_XINCREF(code); @@ -36486,8 +40045,10 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * op->defaults_kwdict = NULL; op->defaults_getter = NULL; op->func_annotations = NULL; +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 op->func_is_coroutine = NULL; -#if CYTHON_METH_FASTCALL +#endif +#if CYTHON_VECTORCALL switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS | METH_METHOD)) { case METH_NOARGS: __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_NOARGS; @@ -36506,21 +40067,16 @@ static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef * break; default: PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); - Py_DECREF(op); + Py_DECREF(op_in); return NULL; } #endif - return (PyObject *) op; + return op_in; } -static int -__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) +static int __Pyx__CyFunction_clear(__pyx_CyFunctionObject *m) { Py_CLEAR(m->func_closure); -#if CYTHON_COMPILING_IN_LIMITED_API - Py_CLEAR(m->func); -#else - Py_CLEAR(((PyCFunctionObject*)m)->m_module); -#endif + Py_CLEAR(__Pyx_CyFunction_Module(m)); #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API Py_CLEAR(m->func_dict); #elif PY_VERSION_HEX < 0x030d0000 @@ -36533,48 +40089,43 @@ __Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) Py_CLEAR(m->func_doc); Py_CLEAR(m->func_globals); Py_CLEAR(m->func_code); -#if !CYTHON_COMPILING_IN_LIMITED_API -#if PY_VERSION_HEX < 0x030900B1 - Py_CLEAR(__Pyx_CyFunction_GetClassObj(m)); -#else - { - PyObject *cls = (PyObject*) ((PyCMethodObject *) (m))->mm_class; - ((PyCMethodObject *) (m))->mm_class = NULL; - Py_XDECREF(cls); - } -#endif -#endif + Py_CLEAR(__Pyx_CyFunction_ClassObj(m)); Py_CLEAR(m->defaults_tuple); Py_CLEAR(m->defaults_kwdict); Py_CLEAR(m->func_annotations); +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 Py_CLEAR(m->func_is_coroutine); +#endif Py_CLEAR(m->defaults); return 0; } -static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m) +static int +__Pyx_CyFunction_clear(PyObject *m) { - if (__Pyx_CyFunction_weakreflist(m) != NULL) - PyObject_ClearWeakRefs((PyObject *) m); - __Pyx_CyFunction_clear(m); + return __Pyx__CyFunction_clear(__Pyx_as_CyFunctionObject_safe(m)); +} +static void __Pyx__CyFunction_dealloc(PyObject *m) +{ + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject_safe(m); + if (__Pyx_CyFunction_weakreflist(cyfunc) != NULL) + PyObject_ClearWeakRefs(m); + __Pyx__CyFunction_clear(cyfunc); __Pyx_PyHeapTypeObject_GC_Del(m); } -static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m) +static void __Pyx_CyFunction_dealloc(PyObject *m) { PyObject_GC_UnTrack(m); __Pyx__CyFunction_dealloc(m); } -static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg) +static int __Pyx_CyFunction_traverse(PyObject *m_in, visitproc visit, void *arg) { + __pyx_CyFunctionObject *m = __Pyx_as_CyFunctionObject_safe(m_in); { - int e = __Pyx_call_type_traverse((PyObject*)m, 1, visit, arg); + int e = __Pyx_call_type_traverse(m_in, 1, visit, arg); if (e) return e; } Py_VISIT(m->func_closure); -#if CYTHON_COMPILING_IN_LIMITED_API - Py_VISIT(m->func); -#else - Py_VISIT(((PyCFunctionObject*)m)->m_module); -#endif + Py_VISIT(__Pyx_CyFunction_Module(m)); #if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API Py_VISIT(m->func_dict); #else @@ -36594,39 +40145,31 @@ static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, Py_VISIT(m->func_doc); Py_VISIT(m->func_globals); __Pyx_VISIT_CONST(m->func_code); -#if !CYTHON_COMPILING_IN_LIMITED_API - Py_VISIT(__Pyx_CyFunction_GetClassObj(m)); -#endif + Py_VISIT(__Pyx_CyFunction_ClassObj(m)); Py_VISIT(m->defaults_tuple); Py_VISIT(m->defaults_kwdict); + Py_VISIT(m->func_annotations); +#if __PYX_LIMITED_VERSION_HEX < 0x030B0000 Py_VISIT(m->func_is_coroutine); +#endif Py_VISIT(m->defaults); return 0; } static PyObject* -__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op) +__Pyx_CyFunction_repr(PyObject *op_in) { + __pyx_CyFunctionObject *op = __Pyx_as_CyFunctionObject(op_in); PyObject *repr; - __Pyx_BEGIN_CRITICAL_SECTION(op); + __Pyx_BEGIN_CRITICAL_SECTION(op_in); repr = PyUnicode_FromFormat("", op->func_qualname, (void *)op); __Pyx_END_CRITICAL_SECTION(); return repr; } static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) { -#if CYTHON_COMPILING_IN_LIMITED_API - PyObject *f = ((__pyx_CyFunctionObject*)func)->func; - PyCFunction meth; - int flags; - meth = PyCFunction_GetFunction(f); - if (unlikely(!meth)) return NULL; - flags = PyCFunction_GetFlags(f); - if (unlikely(flags < 0)) return NULL; -#else - PyCFunctionObject* f = (PyCFunctionObject*)func; - PyCFunction meth = f->m_ml->ml_meth; - int flags = f->m_ml->ml_flags; -#endif + PyMethodDef *methoddef = __Pyx_CyFunction_MethodDef(__Pyx_as_CyFunctionObject(func)); + PyCFunction meth = methoddef->ml_meth; + int flags = methoddef->ml_flags; Py_ssize_t size; switch (flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) { case METH_VARARGS: @@ -36646,7 +40189,7 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py if (likely(size == 0)) return (*meth)(self, NULL); __Pyx_CyFunction_raise_argument_count_error( - (__pyx_CyFunctionObject*)func, + func, "takes no arguments", size); return NULL; } @@ -36673,7 +40216,7 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py return result; } __Pyx_CyFunction_raise_argument_count_error( - (__pyx_CyFunctionObject*)func, + func, "takes exactly one argument", size); return NULL; } @@ -36683,24 +40226,18 @@ static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, Py return NULL; } __Pyx_CyFunction_raise_type_error( - (__pyx_CyFunctionObject*)func, "takes no keyword arguments"); + func, "takes no keyword arguments"); return NULL; } static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { - PyObject *self, *result; -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)func)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)func)->m_self; -#endif - result = __Pyx_CyFunction_CallMethod(func, self, arg, kw); + PyObject *result; + result = __Pyx_CyFunction_CallMethod(func, func, arg, kw); return result; } static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) { PyObject *result; - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func; -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); +#if CYTHON_VECTORCALL __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc); if (vc) { #if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE @@ -36739,119 +40276,89 @@ static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, P } return result; } -#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL -static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(__pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) +#if CYTHON_VECTORCALL +static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(PyObject *func, __pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) { int ret = 0; if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { if (unlikely(nargs < 1)) { __Pyx_CyFunction_raise_type_error( - cyfunc, "needs an argument"); + func, "needs an argument"); return -1; } ret = 1; } if (unlikely(kwnames) && unlikely(__Pyx_PyTuple_GET_SIZE(kwnames))) { __Pyx_CyFunction_raise_type_error( - cyfunc, "takes no keyword arguments"); + func, "takes no keyword arguments"); return -1; } return ret; } static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; } if (unlikely(nargs != 0)) { __Pyx_CyFunction_raise_argument_count_error( - cyfunc, "takes no arguments", nargs); + func, "takes no arguments", nargs); return NULL; } return meth(self, NULL); } static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, kwnames)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; } if (unlikely(nargs != 1)) { __Pyx_CyFunction_raise_argument_count_error( - cyfunc, "takes exactly one argument", nargs); + func, "takes exactly one argument", nargs); return NULL; } return meth(self, args[0]); } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; @@ -36860,29 +40367,19 @@ static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, } static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) { - __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; - PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_GetClassObj(cyfunc); + __pyx_CyFunctionObject *cyfunc = __Pyx_as_CyFunctionObject(func); + PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_ClassObj(cyfunc); Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); PyObject *self; -#if CYTHON_COMPILING_IN_LIMITED_API - PyCFunction meth = PyCFunction_GetFunction(cyfunc->func); - if (unlikely(!meth)) return NULL; -#else - PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth; -#endif - switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + PyCFunction meth = __Pyx_CyFunction_MethodDef(cyfunc)->ml_meth; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(func, cyfunc, nargs, NULL)) { case 1: self = args[0]; args += 1; nargs -= 1; break; case 0: -#if CYTHON_COMPILING_IN_LIMITED_API - self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func); - if (unlikely(!self) && PyErr_Occurred()) return NULL; -#else - self = ((PyCFunctionObject*)cyfunc)->m_self; -#endif + self = func; break; default: return NULL; @@ -36909,18 +40406,18 @@ static PyType_Slot __pyx_CyFunctionType_slots[] = { }; static PyType_Spec __pyx_CyFunctionType_spec = { __PYX_TYPE_MODULE_PREFIX "cython_function_or_method", - sizeof(__pyx_CyFunctionObject), + __PYX_SHARED_SIZEOF(__pyx_CyFunctionObject), 0, #ifdef Py_TPFLAGS_METHOD_DESCRIPTOR Py_TPFLAGS_METHOD_DESCRIPTOR | #endif -#if CYTHON_METH_FASTCALL +#if CYTHON_VECTORCALL #if defined(Py_TPFLAGS_HAVE_VECTORCALL) Py_TPFLAGS_HAVE_VECTORCALL | #elif defined(_Py_TPFLAGS_HAVE_VECTORCALL) _Py_TPFLAGS_HAVE_VECTORCALL | #endif -#endif // CYTHON_METH_FASTCALL +#endif // CYTHON_VECTORCALL #if PY_VERSION_HEX >= 0x030C0000 && !CYTHON_COMPILING_IN_LIMITED_API Py_TPFLAGS_MANAGED_DICT | #endif @@ -36930,6 +40427,9 @@ static PyType_Spec __pyx_CyFunctionType_spec = { }; static int __pyx_CyFunction_init(PyObject *module) { __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module); + if (mstate->__pyx_CyFunctionType != NULL) { + return 0; + } mstate->__pyx_CyFunctionType = __Pyx_FetchCommonTypeFromSpec( mstate->__pyx_CommonTypesMetaclassType, module, &__pyx_CyFunctionType_spec, NULL); if (unlikely(mstate->__pyx_CyFunctionType == NULL)) { @@ -36937,34 +40437,13 @@ static int __pyx_CyFunction_init(PyObject *module) { } return 0; } -static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type); - if (unlikely(!m->defaults)) - return NULL; - return m->defaults; -} -static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults_tuple = tuple; - Py_INCREF(tuple); -} -static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->defaults_kwdict = dict; - Py_INCREF(dict); -} -static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { - __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; - m->func_annotations = dict; - Py_INCREF(dict); -} /* CythonFunction */ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { + (void)&__Pyx_Get_CyFunction_Type; PyObject *op = __Pyx_CyFunction_Init( - PyObject_GC_New(__pyx_CyFunctionObject, __pyx_mstate_global->__pyx_CyFunctionType), + PyObject_GC_New(PyObject, __pyx_mstate_global->__pyx_CyFunctionType), ml, flags, qualname, closure, module, globals, code ); if (likely(op)) { @@ -36972,43 +40451,19 @@ static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qual } return op; } +static PyTypeObject *__Pyx_Get_CyFunction_Type(void) { + PyTypeObject *tp = __pyx_mstate_global->__pyx_CyFunctionType; + Py_INCREF((PyObject*)tp); + return tp; +} /* KeywordStringCheck */ -static int __Pyx_CheckKeywordStrings( - const char* function_name, - PyObject *kw) -{ -#if CYTHON_COMPILING_IN_PYPY && !defined(PyArg_ValidateKeywordArguments) - CYTHON_UNUSED_VAR(function_name); +static int __Pyx_CheckKeywordStrings(PyObject *kw) { +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x030C0000 && !defined(PyArg_ValidateKeywordArguments) CYTHON_UNUSED_VAR(kw); return 0; #else - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kw))) { -#if PY_VERSION_HEX >= 0x03090000 - CYTHON_UNUSED_VAR(function_name); -#else - Py_ssize_t kwsize; - #if CYTHON_ASSUME_SAFE_SIZE - kwsize = PyTuple_GET_SIZE(kw); - #else - kwsize = PyTuple_Size(kw); - if (unlikely(kwsize < 0)) return -1; - #endif - for (Py_ssize_t pos = 0; pos < kwsize; pos++) { - PyObject* key = NULL; - #if CYTHON_ASSUME_SAFE_MACROS - key = PyTuple_GET_ITEM(kw, pos); - #else - key = PyTuple_GetItem(kw, pos); - if (unlikely(!key)) return -1; - #endif - if (unlikely(!PyUnicode_Check(key))) { - PyErr_Format(PyExc_TypeError, - "%.200s() keywords must be strings", function_name); - return -1; - } - } -#endif + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kw))) { } else { if (unlikely(!PyArg_ValidateKeywordArguments(kw))) return -1; } @@ -37060,9 +40515,15 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) if (likely(result)) { return result; } - PyErr_Clear(); + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; // BaseException + } #elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS - if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) PyErr_Clear(); + if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) { + if (!__Pyx_IgnoreException(PyExc_Exception)) { + return NULL; // BaseException + } + } __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version) if (likely(result)) { return result; @@ -37073,7 +40534,10 @@ static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) if (likely(result)) { return __Pyx_NewRef(result); } - PyErr_Clear(); + PyObject *exc = PyErr_Occurred(); + if (unlikely(exc) && !__Pyx_IgnoreGivenException(exc, PyExc_Exception)) { + return NULL; // BaseException + } #endif return __Pyx_GetBuiltinName(name); } @@ -37099,9 +40563,21 @@ static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyOb #endif /* PyObjectFastCallMethod */ -#if !CYTHON_VECTORCALL || PY_VERSION_HEX < 0x03090000 +#if !CYTHON_VECTORCALL static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf) { PyObject *result; + switch (__Pyx_PyVectorcall_NARGS(nargsf)) { + case 1: + return PyObject_CallMethodObjArgs(args[0], name, NULL); + case 2: + return PyObject_CallMethodObjArgs(args[0], name, args[1], NULL); + case 3: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], NULL); + case 4: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], args[3], NULL); + case 5: + return PyObject_CallMethodObjArgs(args[0], name, args[1], args[2], args[3], args[4], NULL); + } PyObject *attr = PyObject_GetAttr(args[0], name); if (unlikely(!attr)) return NULL; @@ -37214,12 +40690,12 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) tstate->curexc_value = 0; tstate->curexc_traceback = 0; #endif -#elif __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#elif __PYX_LIMITED_VERSION_HEX >= 0x030C0000 local_value = PyErr_GetRaisedException(); #else PyErr_Fetch(&local_type, &local_value, &local_tb); #endif -#if __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#if __PYX_LIMITED_VERSION_HEX >= 0x030C0000 if (likely(local_value)) { local_type = (PyObject*) Py_TYPE(local_value); Py_INCREF(local_type); @@ -37237,7 +40713,7 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0)) goto bad; } -#endif // __PYX_LIMITED_VERSION_HEX > 0x030C0000 +#endif // __PYX_LIMITED_VERSION_HEX >= 0x030C0000 Py_XINCREF(local_tb); Py_XINCREF(local_type); Py_XINCREF(local_value); @@ -37284,7 +40760,7 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) PyErr_SetExcInfo(local_type, local_value, local_tb); #endif return 0; -#if __PYX_LIMITED_VERSION_HEX <= 0x030C0000 +#if __PYX_LIMITED_VERSION_HEX < 0x030C0000 bad: *type = 0; *value = 0; @@ -37296,6 +40772,31 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) #endif } +/* PyFrozenDict (used by GetItemInt) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE PyObject* __Pyx__PyFrozenDict_New(PyObject* frozendict_type, PyObject* it) { + return PyObject_CallFunctionObjArgs(frozendict_type, it, NULL); +} +#endif + +/* GettItemInt_wraparound (used by GetItemInt) */ +#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY +static int __Pyx_GetItemInt_wraparound(PyObject *o, PySequenceMethods *sm, Py_ssize_t *i) { + assert(*i < 0); + if (likely(sm->sq_length)) { + Py_ssize_t l = sm->sq_length(o); + if (likely(l >= 0)) { + *i += l; + } else { + if (!PyErr_ExceptionMatches(PyExc_OverflowError)) + return -1; + PyErr_Clear(); + } + } + return 0; +} +#endif + /* GetItemInt */ static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { PyObject *r; @@ -37304,21 +40805,33 @@ static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { Py_DECREF(j); return r; } +static PyObject *__Pyx_GetItemInt_Generic_size(PyObject *o, Py_ssize_t i) { + return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); +} static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_SIZE +#if CYTHON_AVOID_BORROWED_REFS + CYTHON_UNUSED_VAR(boundscheck); Py_ssize_t wrapped_i = i; if (wraparound & unlikely(i < 0)) { - wrapped_i += PyList_GET_SIZE(o); + Py_ssize_t size = __Pyx_PyList_GET_SIZE(o); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(size < 0)) return NULL; + #endif + wrapped_i += size; } - if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS)) { - return __Pyx_PyList_GetItemRefFast(o, wrapped_i, unsafe_shared); - } else - if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) { - return __Pyx_NewRef(PyList_GET_ITEM(o, wrapped_i)); + return __Pyx_PyList_GetItemRef(o, wrapped_i); +#elif CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + Py_ssize_t wrapped_i = i; + Py_ssize_t size = (wraparound | boundscheck) ? PyList_GET_SIZE(o) : -1; + if (wraparound & unlikely(i < 0)) { + wrapped_i += size; } - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, size))) { + return __Pyx_PyList_GET_ITEM_REF(o, wrapped_i, unsafe_shared); + } + return __Pyx_GetItemInt_Generic_size(o, i); #else (void)wraparound; (void)boundscheck; @@ -37328,75 +40841,156 @@ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_ static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS +#if CYTHON_AVOID_BORROWED_REFS + CYTHON_UNUSED_VAR(boundscheck); Py_ssize_t wrapped_i = i; if (wraparound & unlikely(i < 0)) { - wrapped_i += PyTuple_GET_SIZE(o); + Py_ssize_t size = __Pyx_PyTuple_GET_SIZE(o); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(size < 0)) return NULL; + #endif + wrapped_i += size; } - if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyTuple_GET_SIZE(o)))) { - return __Pyx_NewRef(PyTuple_GET_ITEM(o, wrapped_i)); + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_COMPILING_IN_LIMITED_API + return PySequence_ITEM(o, wrapped_i); + #else + if (unlikely(wrapped_i < 0)) { + PyErr_SetString(PyExc_IndexError, "tuple index out of range"); + return NULL; } - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + return PySequence_GetItem(o, wrapped_i); + #endif +#elif CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + Py_ssize_t wrapped_i = i; + Py_ssize_t size = (wraparound | boundscheck) ? PyTuple_GET_SIZE(o) : -1; + if (wraparound & unlikely(i < 0)) { + wrapped_i += size; + } + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, size))) { + return __Pyx_NewRef(__Pyx_PyTuple_GET_ITEM(o, wrapped_i)); + } + return __Pyx_GetItemInt_Generic_size(o, i); #else (void)wraparound; (void)boundscheck; return PySequence_GetItem(o, i); #endif } -static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list, +#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast_mapping(PyObject *o, binaryfunc getitem, Py_ssize_t i) { + PyObject *r, *key = PyLong_FromSsize_t(i); + if (unlikely(!key)) return NULL; + r = getitem(o, key); + Py_DECREF(key); + return r; +} +#endif +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int wraparound, int boundscheck, int unsafe_shared) { CYTHON_MAYBE_UNUSED_VAR(unsafe_shared); -#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE - if (is_list || PyList_CheckExact(o)) { - Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); - if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS)) { - return __Pyx_PyList_GetItemRefFast(o, n, unsafe_shared); - } else if ((!boundscheck) || (likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o))))) { - return __Pyx_NewRef(PyList_GET_ITEM(o, n)); - } +#if CYTHON_ASSUME_SAFE_SIZE + if (PyList_CheckExact(o)) { + return __Pyx_GetItemInt_List_Fast(o, i, wraparound, boundscheck, unsafe_shared); } else - #if !CYTHON_AVOID_BORROWED_REFS + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (PyTuple_CheckExact(o)) { - Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); - if ((!boundscheck) || likely(__Pyx_is_valid_index(n, PyTuple_GET_SIZE(o)))) { - return __Pyx_NewRef(PyTuple_GET_ITEM(o, n)); - } + return __Pyx_GetItemInt_Tuple_Fast(o, i, wraparound, boundscheck, unsafe_shared); } else #endif +#else + if ((!wraparound || i >= 0) & PyList_CheckExact(o)) { + return boundscheck ? __Pyx_PyList_GetItemRef(o, i) : __Pyx_PyList_GET_ITEM_REF(o, i, unsafe_shared); + } else #endif #if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY + if (PyDict_CheckExact(o)) { + return __Pyx_GetItemInt_Fast_mapping(o, PyDict_Type.tp_as_mapping->mp_subscript, i); + #if defined(PyFrozenDict_CheckExact) + } else if (PyFrozenDict_CheckExact(o)) { + return __Pyx_GetItemInt_Fast_mapping(o, PyFrozenDict_Type.tp_as_mapping->mp_subscript, i); + #endif + } else { - PyMappingMethods *mm = Py_TYPE(o)->tp_as_mapping; - PySequenceMethods *sm = Py_TYPE(o)->tp_as_sequence; - if (!is_list && mm && mm->mp_subscript) { - PyObject *r, *key = PyLong_FromSsize_t(i); - if (unlikely(!key)) return NULL; - r = mm->mp_subscript(o, key); - Py_DECREF(key); - return r; - } - if (is_list || likely(sm && sm->sq_item)) { - if (wraparound && unlikely(i < 0) && likely(sm->sq_length)) { - Py_ssize_t l = sm->sq_length(o); - if (likely(l >= 0)) { - i += l; - } else { - if (!PyErr_ExceptionMatches(PyExc_OverflowError)) - return NULL; - PyErr_Clear(); - } - } + PyTypeObject *obj_type = Py_TYPE(o); + int seq_or_mapping = __Pyx_PyType_GetFlags(obj_type) & (Py_TPFLAGS_SEQUENCE|Py_TPFLAGS_MAPPING); + if (seq_or_mapping != Py_TPFLAGS_SEQUENCE) { + PyMappingMethods *mm = obj_type->tp_as_mapping; + if (mm && mm->mp_subscript) + return __Pyx_GetItemInt_Fast_mapping(o, mm->mp_subscript, i); + } + PySequenceMethods *sm = obj_type->tp_as_sequence; + if (likely(sm && sm->sq_item)) { + if (wraparound && (i < 0) && unlikely(__Pyx_GetItemInt_wraparound(o, sm, &i) == -1)) + return NULL; return sm->sq_item(o, i); } + if (seq_or_mapping == Py_TPFLAGS_SEQUENCE) { + PyMappingMethods *mm = obj_type->tp_as_mapping; + if (likely(mm && mm->mp_subscript)) + return __Pyx_GetItemInt_Fast_mapping(o, mm->mp_subscript, i); + } } #else - if (is_list || !PyMapping_Check(o)) { + if (!PyMapping_Check(o)) { return PySequence_GetItem(o, i); } #endif (void)wraparound; (void)boundscheck; - return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i)); + return __Pyx_GetItemInt_Generic_size(o, i); +} + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (PyFloat_CheckExact(op1)) { + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + goto __pyx_richcmp; + } + + if (likely(PyUnicode_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; } /* PyObjectSetAttrStr */ @@ -37517,8 +41111,8 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject return; } -/* ArgTypeTestFunc (used by ArgTypeTest) */ -static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) +/* ArgTypeTestError (used by ArgTypeTest) */ +static void __Pyx_ArgTypeError(PyObject *obj, PyTypeObject *type, const char *name, int exact) { __Pyx_TypeName type_name; __Pyx_TypeName obj_type_name; @@ -37526,10 +41120,7 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam int from_annotation_subclass = 0; if (unlikely(!type)) { PyErr_SetString(PyExc_SystemError, "Missing type object"); - return 0; - } - else if (!exact) { - if (likely(__Pyx_TypeCheck(obj, type))) return 1; + return; } else if (exact == 2) { if (__Pyx_TypeCheck(obj, type)) { from_annotation_subclass = 1; @@ -37537,10 +41128,15 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam } } type_name = __Pyx_PyType_GetFullyQualifiedName(type); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!obj_type_name)) goto obj_type_name_failed; + #endif PyErr_Format(PyExc_TypeError, - "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME - ", got " __Pyx_FMT_TYPENAME ")" + "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME ", got " __Pyx_FMT_TYPENAME ")" #if __PYX_LIMITED_VERSION_HEX < 0x030C0000 "%s%U" #endif @@ -37560,8 +41156,21 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam PyErr_SetRaisedException(vargs[0]); } #endif - __Pyx_DECREF_TypeName(type_name); __Pyx_DECREF_TypeName(obj_type_name); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +obj_type_name_failed: +#endif + __Pyx_DECREF_TypeName(type_name); + return; +} + +/* ArgTypeTest */ +static CYTHON_INLINE int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, const char *name, int exact) { + if (likely(Py_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) + return 1; + if (!exact && likely(type) && likely(__Pyx_TypeCheck(obj, type))) + return 1; + __Pyx_ArgTypeError(obj, type, name, exact); return 0; } @@ -37587,7 +41196,7 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { /* RejectKeywords */ static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds) { PyObject *key = NULL; - if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) { + if (CYTHON_VECTORCALL && likely(PyTuple_Check(kwds))) { key = __Pyx_PySequence_ITEM(kwds, 0); } else { #if CYTHON_AVOID_BORROWED_REFS @@ -37643,14 +41252,60 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject #endif } -/* RaiseUnexpectedTypeError */ -static int -__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) +/* FormatTypeName (used by RaiseErrorWithObjectType1) */ +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +static __Pyx_TypeName +__Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp) { - __Pyx_TypeName obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME, - expected, obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); + PyObject *module = NULL, *name = NULL, *result = NULL; + #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 + name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, + __pyx_mstate_global->__pyx_n_u_qualname); + #else + name = PyType_GetQualName(tp); + #endif + if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad; + module = __Pyx_PyObject_GetAttrStr((PyObject *)tp, + __pyx_mstate_global->__pyx_n_u_module); + if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad; + if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) { + result = name; + name = NULL; + goto done; + } + result = PyUnicode_FromFormat("%U.%U", module, name); + if (unlikely(result == NULL)) goto bad; + done: + Py_XDECREF(name); + Py_XDECREF(module); + return result; + bad: + PyErr_Clear(); + if (name) { + result = name; + name = NULL; + } else { + result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u_); + } + goto done; +} +#endif + +/* RaiseErrorWithObjectType1 (used by RaiseUnexpectedTypeError) */ +static void __Pyx_RaiseErrorWithType1(PyObject* exc_type, const char* message, const char *arg, PyTypeObject *type_obj) { + __Pyx_TypeName type_name = __Pyx_PyType_GetFullyQualifiedName(type_obj); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif + PyErr_Format(exc_type, message, arg, type_name); + __Pyx_DECREF_TypeName(type_name); +} + +/* RaiseUnexpectedTypeError */ +static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) { + __Pyx_RaiseTypeErrorWithObjectType1( + "Expected %.42s, got " __Pyx_FMT_TYPENAME, + expected, obj); return 0; } @@ -37677,41 +41332,34 @@ static PyObject* __Pyx_Unpacked___Pyx_PyLong_AddObjC(PyObject *op1, PyObject *op a = (long) digits[0]; if (!is_positive) a *= -1; } else { - switch (size) { - case 2: - if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { - a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 3: - if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { - a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - case 4: - if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { - a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - if (!is_positive) a *= -1; - goto calculate_long; - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - if (!is_positive) lla *= -1; - goto calculate_long_long; - } - break; - } + if (size == 2 && 8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 2 && 8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 3 && 8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 3 && 8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + if (size == 4 && 8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if (!is_positive) a *= -1; + goto calculate_long; + } else if (size == 4 && 8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + if (!is_positive) lla *= -1; + goto calculate_long_long; + } else + {} return PyLong_Type.tp_as_number->nb_add(op1, op2); } calculate_long: @@ -37791,6 +41439,822 @@ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { return __Pyx_IterFinish(); } +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolGe +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolGe +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolGe(PyObject* s1, PyObject* s2) { + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result >= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolGe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolGe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyBytesBoolGe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyBytes_GET_SIZE(s1); + length2 = __Pyx_PyBytes_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length1) == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp >= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolGe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolGe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyByteArrayBoolGe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyBytes_GET_SIZE(s1); + length2 = __Pyx_PyByteArray_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length1) == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp >= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolGe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolGe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyBytesBoolGe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); + length2 = __Pyx_PyBytes_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length1 == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp >= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolGe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolGe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolGe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); + length2 = __Pyx_PyByteArray_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length1 == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_false; else goto __pyx_return_true; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp >= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolGe +static int __Pyx_PyObject_CompareFloatIntBoolGe(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 >= ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 >= 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_true; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign2 > 0) goto __pyx_return_false; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 >= 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 >= ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_true; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolGe +static int __Pyx_PyObject_CompareIntFloatBoolGe(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) >= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 >= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_false; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } else { + if (sign1 > 0) goto __pyx_return_true; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 >= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) >= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_true; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static int __Pyx_PyObject_CompareIntIntBoolGe(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return (cmp >= 0); +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntGe(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolGe(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolGe +static int __Pyx_PyObject_CompareIntIntBoolGe(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 >= iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 >= overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolGe_object_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (PyFloat_CheckExact(op1)) { + if (PyFloat_CheckExact(op2)) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + if (float_op1 >= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareFloatIntBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntIntBoolGe(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + + if (PyUnicode_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyUnicode_CheckExact(op2)) { + return __Pyx_PyObject_CompareStrStrBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyBytes_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyBytesBoolGe(op1, op2); + } + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyByteArrayBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyByteArray_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolGe(op1, op2); + } + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyBytesBoolGe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_GE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolLe +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolLe +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolLe(PyObject* s1, PyObject* s2) { + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result <= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolLe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolLe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyBytesBoolLe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyBytes_GET_SIZE(s1); + length2 = __Pyx_PyBytes_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length1) == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp <= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolLe +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolLe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyByteArrayBoolLe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyBytes_GET_SIZE(s1); + length2 = __Pyx_PyByteArray_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length1) == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp <= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolLe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolLe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyBytesBoolLe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); + length2 = __Pyx_PyBytes_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length1 == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp <= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolLe +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolLe +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolLe(PyObject* s1, PyObject* s2) { + Py_ssize_t cmp; + Py_ssize_t length1, length2, short_length; + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); + length2 = __Pyx_PyByteArray_GET_SIZE(s2); + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length1 = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length1 == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + short_length = (length1 < length2) ? length1 : length2; + if (short_length == 0) { + if (length1 == 0) goto __pyx_return_true; else goto __pyx_return_false; + } + #endif + cmp = (Py_ssize_t) ((const unsigned char*) ps1)[0] - (Py_ssize_t) ((const unsigned char*) ps2)[0]; + if (cmp == 0 && short_length > 1) { + cmp = memcmp(ps1, ps2, (size_t)short_length); + } + if (cmp == 0) cmp = (length1 - length2); + if (cmp <= 0) goto __pyx_return_true; else goto __pyx_return_false; +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolLe +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolLe +static int __Pyx_PyObject_CompareFloatIntBoolLe(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 <= ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 <= 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_false; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } else { + if (sign2 > 0) goto __pyx_return_true; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 <= 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 <= ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_true; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_LE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolLe +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolLe +static int __Pyx_PyObject_CompareIntFloatBoolLe(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) <= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 <= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_true; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign1 > 0) goto __pyx_return_false; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 <= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) <= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_true; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_LE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +static int __Pyx_PyObject_CompareIntIntBoolLe(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return (cmp <= 0); +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntLe(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolLe(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolLe +static int __Pyx_PyObject_CompareIntIntBoolLe(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 <= iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 <= overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_LE); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolLe_object_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (PyFloat_CheckExact(op1)) { + if (PyFloat_CheckExact(op2)) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + if (float_op1 <= float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareFloatIntBoolLe(op1, op2); + } + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntIntBoolLe(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolLe(op1, op2); + } + goto __pyx_richcmp; + } + + if (PyUnicode_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyUnicode_CheckExact(op2)) { + return __Pyx_PyObject_CompareStrStrBoolLe(op1, op2); + } + goto __pyx_richcmp; + } + + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyBytes_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyBytesBoolLe(op1, op2); + } + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyByteArrayBoolLe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyByteArray_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolLe(op1, op2); + } + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyBytesBoolLe(op1, op2); + } + goto __pyx_richcmp; + } + #endif + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_LE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* RaiseErrorWithObjectType (used by ObjectGetItem) */ +static void __Pyx_RaiseErrorWithType(PyObject* exc_type, const char* message, PyTypeObject *type_obj) { + __Pyx_TypeName type_name = __Pyx_PyType_GetFullyQualifiedName(type_obj); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name)) return; + #endif + PyErr_Format(exc_type, message, type_name); + __Pyx_DECREF_TypeName(type_name); +} + /* ObjectGetItem */ #if CYTHON_USE_TYPE_SLOTS static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject *index) { @@ -37798,33 +42262,35 @@ static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject *index) { Py_ssize_t key_value; key_value = __Pyx_PyIndex_AsSsize_t(index); if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) { - return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1, 1); + return __Pyx_GetItemInt_Fast(obj, key_value, 1, 1, 1); } if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) { - __Pyx_TypeName index_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(index)); PyErr_Clear(); - PyErr_Format(PyExc_IndexError, - "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", index_type_name); - __Pyx_DECREF_TypeName(index_type_name); + __Pyx_RaiseErrorWithObjectType( + PyExc_IndexError, + "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", + index); } return NULL; } static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) { - __Pyx_TypeName obj_type_name; if (likely(PyType_Check(obj))) { + if ((PyTypeObject*)obj == &PyType_Type) { + return Py_GenericAlias(obj, key); + } PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_mstate_global->__pyx_n_u_class_getitem); if (!meth) { - PyErr_Clear(); + if (PyErr_Occurred()) { + return NULL; + } } else { PyObject *result = __Pyx_PyObject_CallOneArg(meth, key); Py_DECREF(meth); return result; } } - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); + __Pyx_RaiseTypeErrorWithObjectType( + "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj); return NULL; } static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) { @@ -37841,23 +42307,171 @@ static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) { } #endif +/* RaiseErrorWithObjectTypes (used by ExtTypeTest) */ +static void __Pyx_RaiseErrorWithTypes1(PyObject* exc_type, const char *message, const char *arg, PyTypeObject *type_obj1, PyTypeObject *type_obj2) { + __Pyx_TypeName type_name1 = __Pyx_PyType_GetFullyQualifiedName(type_obj1); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name1)) return; + #endif + __Pyx_TypeName type_name2 = __Pyx_PyType_GetFullyQualifiedName(type_obj2); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!type_name2)) goto type2_failed; + #endif + PyErr_Format(exc_type, message, arg, type_name1, type_name2); + __Pyx_DECREF_TypeName(type_name2); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 +type2_failed: +#endif + __Pyx_DECREF_TypeName(type_name1); +} + /* ExtTypeTest */ static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) { - __Pyx_TypeName obj_type_name; - __Pyx_TypeName type_name; if (unlikely(!type)) { PyErr_SetString(PyExc_SystemError, "Missing type object"); return 0; } if (likely(__Pyx_TypeCheck(obj, type))) return 1; - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - type_name = __Pyx_PyType_GetFullyQualifiedName(type); - PyErr_Format(PyExc_TypeError, - "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME, - obj_type_name, type_name); - __Pyx_DECREF_TypeName(obj_type_name); - __Pyx_DECREF_TypeName(type_name); + __Pyx_RaiseTypeErrorWithTypes( + "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME, + Py_TYPE(obj), type); + return 0; +} + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +static int __Pyx_PyObject_CompareIntFloatBoolEq(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_false; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign1 > 0) goto __pyx_return_false; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_int_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + if (op2 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_true; + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_true; + if (likely(PyLong_CheckExact(op2))) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: return 0; } @@ -37895,18 +42509,19 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObj } /* JoinPyUnicode */ -static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, - Py_UCS4 max_char) { -#if CYTHON_USE_UNICODE_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS +static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength, int kind) { +#if __Pyx_PyUnicode_Join_CAN_USE_KIND_AND_LENGTH && CYTHON_USE_UNICODE_INTERNALS PyObject *result_uval; int result_ukind, kind_shift; Py_ssize_t i, char_pos; void *result_udata; - if (max_char > 1114111) max_char = 1114111; - result_uval = PyUnicode_New(result_ulength, max_char); + static const Py_UCS4 max_char[5] = {0x7fU, 0xffU, 0xffffU, 0xffffU, 0x10ffffU}; + assert (kind >= 0); + if (kind > PyUnicode_4BYTE_KIND) kind = PyUnicode_4BYTE_KIND; + result_uval = PyUnicode_New(result_ulength, max_char[kind]); if (unlikely(!result_uval)) return NULL; - result_ukind = (max_char <= 255) ? PyUnicode_1BYTE_KIND : (max_char <= 65535) ? PyUnicode_2BYTE_KIND : PyUnicode_4BYTE_KIND; - kind_shift = (result_ukind == PyUnicode_4BYTE_KIND) ? 2 : result_ukind - 1; + kind_shift = kind >> 1; // 0, 1, 2 + result_ukind = 1 << kind_shift; // 1, 2, 4 result_udata = PyUnicode_DATA(result_uval); assert(kind_shift == 2 || kind_shift == 1 || kind_shift == 0); if (unlikely((PY_SSIZE_T_MAX >> kind_shift) - result_ulength < 0)) @@ -37917,10 +42532,8 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t ulength; void *udata; PyObject *uval = values[i]; - #if !CYTHON_COMPILING_IN_LIMITED_API if (__Pyx_PyUnicode_READY(uval) == (-1)) goto bad; - #endif ulength = __Pyx_PyUnicode_GET_LENGTH(uval); #if !CYTHON_ASSUME_SAFE_SIZE if (unlikely(ulength < 0)) goto bad; @@ -37959,11 +42572,11 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, PyObject *result = NULL; PyObject *value_tuple = PyTuple_New(value_count); if (unlikely(!value_tuple)) return NULL; - CYTHON_UNUSED_VAR(max_char); + CYTHON_UNUSED_VAR(kind); CYTHON_UNUSED_VAR(result_ulength); for (i=0; i__pyx_empty_unicode, value_tuple); bad: @@ -37972,124 +42585,14 @@ static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, #endif } -/* PyObjectCallNoArg (used by PyObjectCallMethod0) */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) { - PyObject *arg[2] = {NULL, NULL}; - return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); -} - -/* PyObjectGetMethod (used by PyObjectCallMethod0) */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) { - PyObject *attr; -#if CYTHON_UNPACK_METHODS && CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_PYTYPE_LOOKUP - __Pyx_TypeName type_name; - PyTypeObject *tp = Py_TYPE(obj); - PyObject *descr; - descrgetfunc f = NULL; - PyObject **dictptr, *dict; - int meth_found = 0; - assert (*method == NULL); - if (unlikely(tp->tp_getattro != PyObject_GenericGetAttr)) { - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; - } - if (unlikely(tp->tp_dict == NULL) && unlikely(PyType_Ready(tp) < 0)) { - return 0; - } - descr = _PyType_Lookup(tp, name); - if (likely(descr != NULL)) { - Py_INCREF(descr); -#if defined(Py_TPFLAGS_METHOD_DESCRIPTOR) && Py_TPFLAGS_METHOD_DESCRIPTOR - if (__Pyx_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) -#else - #ifdef __Pyx_CyFunction_USED - if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr))) - #else - if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type))) - #endif -#endif - { - meth_found = 1; - } else { - f = Py_TYPE(descr)->tp_descr_get; - if (f != NULL && PyDescr_IsData(descr)) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - } - } - dictptr = _PyObject_GetDictPtr(obj); - if (dictptr != NULL && (dict = *dictptr) != NULL) { - Py_INCREF(dict); - attr = __Pyx_PyDict_GetItemStr(dict, name); - if (attr != NULL) { - Py_INCREF(attr); - Py_DECREF(dict); - Py_XDECREF(descr); - goto try_unpack; - } - Py_DECREF(dict); - } - if (meth_found) { - *method = descr; - return 1; - } - if (f != NULL) { - attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); - Py_DECREF(descr); - goto try_unpack; - } - if (likely(descr != NULL)) { - *method = descr; - return 0; - } - type_name = __Pyx_PyType_GetFullyQualifiedName(tp); - PyErr_Format(PyExc_AttributeError, - "'" __Pyx_FMT_TYPENAME "' object has no attribute '%U'", - type_name, name); - __Pyx_DECREF_TypeName(type_name); - return 0; +/* PyObjectCallMethod0 (used by dict_iter_common) */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) { +#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || !CYTHON_COMPILING_IN_LIMITED_API) + return PyObject_VectorcallMethod(method_name, &obj, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API + return PyObject_CallMethodObjArgs(obj, method_name, NULL); #else - attr = __Pyx_PyObject_GetAttrStr(obj, name); - goto try_unpack; -#endif -try_unpack: -#if CYTHON_UNPACK_METHODS - if (likely(attr) && PyMethod_Check(attr) && likely(PyMethod_GET_SELF(attr) == obj)) { - PyObject *function = PyMethod_GET_FUNCTION(attr); - Py_INCREF(function); - Py_DECREF(attr); - *method = function; - return 1; - } -#endif - *method = attr; - return 0; -} -#endif - -/* PyObjectCallMethod0 (used by dict_iter) */ -static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) { -#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)) - PyObject *args[1] = {obj}; - (void) __Pyx_PyObject_CallOneArg; - (void) __Pyx_PyObject_CallNoArg; - return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); -#else - PyObject *method = NULL, *result = NULL; - int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); - if (likely(is_method)) { - result = __Pyx_PyObject_CallOneArg(method, obj); - Py_DECREF(method); - return result; - } - if (unlikely(!method)) goto bad; - result = __Pyx_PyObject_CallNoArg(method); - Py_DECREF(method); -bad: - return result; + return PyObject_CallMethodNoArgs(obj, method_name); #endif } @@ -38115,7 +42618,7 @@ static void __Pyx_UnpackTupleError(PyObject *t, Py_ssize_t index) { } } -/* UnpackTuple2 (used by dict_iter) */ +/* UnpackTuple2 (used by dict_iter_common) */ static CYTHON_INLINE int __Pyx_unpack_tuple2( PyObject* tuple, PyObject** value1, PyObject** value2, int is_tuple, int has_known_size, int decref_tuple) { if (likely(is_tuple || PyTuple_Check(tuple))) { @@ -38186,53 +42689,19 @@ static int __Pyx_unpack_tuple2_generic(PyObject* tuple, PyObject** pvalue1, PyOb return -1; } -/* dict_iter */ -#if CYTHON_COMPILING_IN_PYPY -#include -#endif -static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name, - Py_ssize_t* p_orig_length, int* p_source_is_dict) { - is_dict = is_dict || likely(PyDict_CheckExact(iterable)); - *p_source_is_dict = is_dict; - if (is_dict) { -#if !CYTHON_COMPILING_IN_PYPY - *p_orig_length = PyDict_Size(iterable); - Py_INCREF(iterable); +/* dict_iter_common (used by dict_iter) */ +static PyObject *__Pyx_dict_call_to_get_iterable(PyObject* iterable, PyObject* method_name) { + PyObject* iter; + iterable = __Pyx_PyObject_CallMethod0(iterable, method_name); + if (!iterable) + return NULL; +#if !CYTHON_AVOID_BORROWED_REFS + if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable)) return iterable; -#else - static PyObject *py_items = NULL, *py_keys = NULL, *py_values = NULL; - PyObject **pp = NULL; - if (method_name) { - const char *name = PyUnicode_AsUTF8(method_name); - if (strcmp(name, "iteritems") == 0) pp = &py_items; - else if (strcmp(name, "iterkeys") == 0) pp = &py_keys; - else if (strcmp(name, "itervalues") == 0) pp = &py_values; - if (pp) { - if (!*pp) { - *pp = PyUnicode_FromString(name + 4); - if (!*pp) - return NULL; - } - method_name = *pp; - } - } #endif - } - *p_orig_length = 0; - if (method_name) { - PyObject* iter; - iterable = __Pyx_PyObject_CallMethod0(iterable, method_name); - if (!iterable) - return NULL; -#if !CYTHON_COMPILING_IN_PYPY - if (PyTuple_CheckExact(iterable) || PyList_CheckExact(iterable)) - return iterable; -#endif - iter = PyObject_GetIter(iterable); - Py_DECREF(iterable); - return iter; - } - return PyObject_GetIter(iterable); + iter = PyObject_GetIter(iterable); + Py_DECREF(iterable); + return iter; } #if !CYTHON_AVOID_BORROWED_REFS static CYTHON_INLINE int __Pyx_dict_iter_next_source_is_dict( @@ -38319,7 +42788,7 @@ static CYTHON_INLINE int __Pyx_dict_iter_next( #endif if (unlikely(pos >= list_size)) return 0; *ppos = pos + 1; - next_item = __Pyx_PyList_GetItemRef(iter_obj, pos); + next_item = __Pyx_PyList_GET_ITEM_REF(iter_obj, pos, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!next_item)) return -1; } else #endif @@ -38342,6 +42811,91 @@ static CYTHON_INLINE int __Pyx_dict_iter_next( return 1; } +/* dict_iter */ +static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* iterable, int is_dict, PyObject* method_name, + Py_ssize_t* p_orig_length, int* p_source_is_dict) { + is_dict = is_dict || likely(__Pyx_PyAnyDict_CheckExact(iterable)); + *p_source_is_dict = is_dict; +#if !CYTHON_AVOID_BORROWED_REFS + if (is_dict) { + *p_orig_length = PyDict_Size(iterable); + Py_INCREF(iterable); + return iterable; + } +#endif + *p_orig_length = 0; + if (method_name) { + return __Pyx_dict_call_to_get_iterable(iterable, method_name); + } else { + return PyObject_GetIter(iterable); + } +} + +/* PyNumberBinop */ +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL || CYTHON_COMPILING_IN_LIMITED_API) +#if CYTHON_USE_TYPE_SLOTS || __PYX_LIMITED_VERSION_HEX >= 0x030A0000 +#ifndef __Pyx_DEFINED_BinopTypeError +#define __Pyx_DEFINED_BinopTypeError +static void __Pyx_BinopTypeError(PyObject *op1, PyObject *op2, const char* op, int inplace) { + char opname[4] = {op[0], op[1], 0, 0}; + if (inplace) { + opname[op[1] ? 2 : 1] = '='; + } + __Pyx_RaiseErrorWithObjectTypes1( + PyExc_TypeError, + "unsupported operand type(s) for %.3s: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", + opname, op1, op2); +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyNumber_Or_xint_object +#define __Pyx_DEFINED_PyNumber_Or_xint_object +static PyObject* __Pyx_PyNumber_Or_xint_object(PyObject *op1, PyObject *op2, int inplace) { + #if CYTHON_USE_TYPE_SLOTS || __PYX_LIMITED_VERSION_HEX >= 0x030A0000 + { + PyTypeObject *type_op2 = Py_TYPE(op2); + binaryfunc slot_func = __Pyx_PyType_GetSubSlot(type_op2, tp_as_number, nb_or, binaryfunc); + if (likely(slot_func)) { + PyObject *result = slot_func(op1, op2); + if (likely(result != Py_NotImplemented)) { + return result; + } + Py_DECREF(result); + } + __Pyx_BinopTypeError(op1, op2, "|", inplace); + return NULL; + } + #else + return (inplace) ? PyNumber_InPlaceOr(op1, op2) : PyNumber_Or(op1, op2); + #endif +} +#endif +static CYTHON_INLINE PyObject* __Pyx__PyNumber_Or_object_object(PyObject *op1, PyObject *op2, int inplace) { + if (PyLong_CheckExact(op1)) { + if (PyLong_CheckExact(op2)) { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t int_op1 = __Pyx_PyLong_CompactValue(op1); + if (int_op1 == 0) return __Pyx_NewRef(op2); + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t int_op2 = __Pyx_PyLong_CompactValue(op2); + if (int_op2 == 0) return __Pyx_NewRef(op1); + return PyLong_FromSsize_t(int_op1 | int_op2); + } + } + else if (__Pyx_PyLong_IsZero(op2)) return __Pyx_NewRef(op1); + #endif + binaryfunc slot_func = __Pyx_PyType_GetSubSlot(&PyLong_Type, tp_as_number, nb_or, binaryfunc); + if (likely(slot_func)) { + return slot_func(op1, op2); + } + } + return __Pyx_PyNumber_Or_xint_object(op1, op2, inplace); + } + return (inplace) ? PyNumber_InPlaceOr(op1, op2) : PyNumber_Or(op1, op2); +} +#endif + /* PyLongCompare */ static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace) { CYTHON_MAYBE_UNUSED_VAR(intval); @@ -38399,39 +42953,41 @@ static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, l double a = __Pyx_PyFloat_AS_DOUBLE(op1); return ((double)a == (double)b); } - return __Pyx_PyObject_IsTrueAndDecref( - PyObject_RichCompare(op1, op2, Py_EQ)); + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); } -/* PyObjectVectorCallKwBuilder */ +/* PyObjectVectorcallKwds */ #if CYTHON_VECTORCALL -static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - (void)__Pyx_PyObject_FastCallDict; - if (__Pyx_PyTuple_SET_ITEM(builder, n, key) != (0)) return -1; - Py_INCREF(key); - args[n] = value; - return 0; -} -CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - (void)__Pyx_VectorcallBuilder_AddArgStr; +CYTHON_UNUSED static int __Pyx_CheckVectorcallKwarg(PyObject *kwnames, Py_ssize_t i) { + PyObject *key = __Pyx_PyTuple_GET_ITEM(kwnames, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!key)) return -1; +#endif if (unlikely(!PyUnicode_Check(key))) { PyErr_SetString(PyExc_TypeError, "keywords must be strings"); return -1; } - return __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n); + return 0; } -static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n) { - PyObject *pyKey = PyUnicode_FromString(key); - if (!pyKey) return -1; - return __Pyx_VectorcallBuilder_AddArg(pyKey, value, builder, args, n); +#else +CYTHON_UNUSED static PyObject *__Pyx_MakeKwargDict(PyObject **keys, PyObject **values, Py_ssize_t n) { + PyObject *out = PyDict_New(); + if (unlikely(!out)) return NULL; + for (Py_ssize_t i=0; i= 0.) { + if (sign1 < 0) goto __pyx_return_true; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } else { + if (sign1 > 0) goto __pyx_return_true; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_true; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) != float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_true; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_true; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static int __Pyx_PyObject_CompareIntIntBoolNe(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 0; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 1; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntNe(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolNe(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolNe +static int __Pyx_PyObject_CompareIntIntBoolNe(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 != iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 != overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_int_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op1 == Py_None)) { + if (op2 == Py_None) goto __pyx_return_false; else goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_false; + if (likely(op1 != Py_None)) { + if (op1 == op2) goto __pyx_return_false; + if (likely(PyLong_CheckExact(op2))) { + return __Pyx_PyObject_CompareIntIntBoolNe(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolEq +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyBytesBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyBytesBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; +#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) + Py_hash_t hash1 = ((PyBytesObject*)s1)->ob_shash; + Py_hash_t hash2 = ((PyBytesObject*)s2)->ob_shash; + if (hash1 != hash2 && hash1 != -1 && hash2 != -1) goto __pyx_return_false; +#endif + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyBytesPyByteArrayBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyBytesPyByteArrayBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + if (unlikely(PyBytes_AsStringAndSize(s1, &ps1, &length) == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyBytesBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyBytesBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + if (unlikely(PyBytes_AsStringAndSize(s2, &ps2, &length2) == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (length == 0) goto __pyx_return_true; + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) +#ifndef __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolEq +#define __Pyx_DEFINED_PyObject_ComparePyByteArrayPyByteArrayBoolEq +static CYTHON_INLINE int __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolEq(PyObject* s1, PyObject* s2) { + #if CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS + const char *ps1, *ps2; + Py_ssize_t length = PyByteArray_GET_SIZE(s1); + if (length != PyByteArray_GET_SIZE(s2)) goto __pyx_return_false; + ps1 = PyByteArray_AS_STRING(s1); + ps2 = PyByteArray_AS_STRING(s2); + #else + char *ps1, *ps2; + Py_ssize_t length, length2; + ps1 = __Pyx_PyByteArray_AsString(s1); if (unlikely(!ps1)) return -1; + length = __Pyx_PyByteArray_GET_SIZE(s1); if (unlikely(length == -1)) return -1; + ps2 = __Pyx_PyByteArray_AsString(s2); if (unlikely(!ps2)) return -1; + length2 = __Pyx_PyByteArray_GET_SIZE(s2); if (unlikely(length2 == -1)) return -1; + if (length != length2) goto __pyx_return_false; + #endif + if (length == 0) goto __pyx_return_true; + if (ps1[0] != ps2[0]) goto __pyx_return_false; + if (length == 1) goto __pyx_return_true; + { + int cmp; + cmp = memcmp(ps1, ps2, (size_t)length); + if (cmp == 0) goto __pyx_return_true; else goto __pyx_return_false; + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +static int __Pyx_PyObject_CompareFloatIntBoolEq(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 == ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_false; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign2 > 0) goto __pyx_return_false; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 == ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntFloatBoolEq +static int __Pyx_PyObject_CompareIntFloatBoolEq(PyObject *op1, PyObject *op2) { + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t iop1 = __Pyx_PyLong_CompactValue(op1); + if (((double)iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign1 = __Pyx_PyLong_Sign(op1); + if (float_op2 >= 0.) { + if (sign1 < 0) goto __pyx_return_false; + if (float_op2 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign1 > 0) goto __pyx_return_false; + if (float_op2 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op2))) { + if (0.0 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow1; + long iop1 = PyLong_AsLongAndOverflow(op1, &overflow1); + if (likely(!overflow1)) { + if ((long long) iop1 >= (1LL << 53)) { + overflow1 = 1; + } else if ((long long) iop1 <= - (1LL << 53)) { + overflow1 = -1; + } else { + if (((double) iop1) == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow1 < 0) { + if (float_op2 > ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op2 < - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_object(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (PyFloat_CheckExact(op1)) { + if (PyFloat_CheckExact(op2)) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + double float_op2 = __Pyx_PyFloat_AS_DOUBLE(op2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op2 == -1. && PyErr_Occurred())) return -1; + #endif + if (float_op1 == float_op2) goto __pyx_return_true; else goto __pyx_return_false; + } + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareFloatIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyLong_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + if (PyFloat_CheckExact(op2)) { + return __Pyx_PyObject_CompareIntFloatBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + if (PyUnicode_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyUnicode_CheckExact(op2)) { + return __Pyx_PyObject_CompareStrStrBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyBytes_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyBytesBoolEq(op1, op2); + } + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyBytesPyByteArrayBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + #endif + #if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL) + if (PyByteArray_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + if (PyByteArray_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyByteArrayBoolEq(op1, op2); + } + if (PyBytes_CheckExact(op2)) { + return __Pyx_PyObject_ComparePyByteArrayPyBytesBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + #endif + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* PyObjectVectorcallMethodKwds */ +#if !CYTHON_VECTORCALL +static PyObject *__Pyx_Object_VectorcallMethodKwds(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames) { PyObject *result; PyObject *obj = PyObject_GetAttr(args[0], name); if (unlikely(!obj)) return NULL; - result = __Pyx_Object_Vectorcall_CallFromBuilder(obj, args+1, nargsf-1, kwnames); + result = __Pyx_Object_VectorcallKwds(obj, args+1, nargsf-1, kwnames); Py_DECREF(obj); return result; } #endif +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrEq +#define __Pyx_DEFINED_PyObject_CompareStrStrEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareStrStrEq(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return NULL; + #endif + if (result == 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return NULL; + if (result == 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + Py_RETURN_TRUE; +__pyx_return_false: + Py_RETURN_FALSE; +} +#endif +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareEq_object_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (PyFloat_CheckExact(op1)) { + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_true; + goto __pyx_richcmp; + } + + if (likely(PyUnicode_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrEq(op1, op2); + } + goto __pyx_richcmp; + } + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return PyObject_RichCompare(op1, op2, Py_EQ); +__pyx_return_true: + Py_RETURN_TRUE; +__pyx_return_false: + Py_RETURN_FALSE; +} + /* PyObjectCall2Args (used by CallUnboundCMethod1) */ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) { PyObject *args[3] = {NULL, arg1, arg2}; @@ -38608,10 +43743,11 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(PyObject* obj, Py_ssize_t cstart, Py_ssize_t cstop, PyObject** _py_start, PyObject** _py_stop, PyObject** _py_slice, int has_cstart, int has_cstop, CYTHON_UNUSED int wraparound) { - __Pyx_TypeName obj_type_name; #if CYTHON_USE_TYPE_SLOTS PyMappingMethods* mp = Py_TYPE(obj)->tp_as_mapping; if (likely(mp && mp->mp_subscript)) +#else + if ((1)) #endif { PyObject* result; @@ -38656,15 +43792,256 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(PyObject* obj, Py_DECREF(py_slice); } return result; + } else { + __Pyx_RaiseTypeErrorWithObjectType( + "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj); } - obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); bad: return NULL; } +/* UnicodeEqualsUCS4 (used by UnicodeEquals_uchar) */ +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL) +static CYTHON_INLINE int __Pyx__PyUnicode_EqualsUCS4(PyObject* s1, Py_UCS4 ch2, int equals) { + Py_ssize_t length; + Py_UCS4 ch1; + int kind; + if (unlikely(__Pyx_PyUnicode_READY(s1) < 0)) goto bad; + length = __Pyx_PyUnicode_GET_LENGTH(s1); + #if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(length < 0)) goto bad; + #endif + if (length != 1) goto return_ne; + kind = PyUnicode_KIND(s1); + if (ch2 < 256) { + if (likely(kind == PyUnicode_1BYTE_KIND)) { + ch1 = PyUnicode_1BYTE_DATA(s1)[0]; + } else if (kind == PyUnicode_2BYTE_KIND) { + ch1 = PyUnicode_2BYTE_DATA(s1)[0]; + } else { + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } + } else if (ch2 < 65536) { + if (kind == PyUnicode_2BYTE_KIND) { + ch1 = PyUnicode_2BYTE_DATA(s1)[0]; + } else if (kind == PyUnicode_4BYTE_KIND) { + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } else { + goto return_ne; + } + } else { + if (kind == PyUnicode_4BYTE_KIND){ + ch1 = PyUnicode_4BYTE_DATA(s1)[0]; + } else { + goto return_ne; + } + } + if (ch1 == ch2) { + goto return_eq; + } else { + goto return_ne; + } +return_eq: + return (equals == Py_EQ); +return_ne: + return (equals == Py_NE); +bad: + return -1; +} +#endif + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareFloatIntBoolEq +static int __Pyx_PyObject_CompareFloatIntBoolEq(PyObject *op1, PyObject *op2) { + double float_op1 = __Pyx_PyFloat_AS_DOUBLE(op1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(float_op1 == -1. && PyErr_Occurred())) return -1; + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t iop2 = __Pyx_PyLong_CompactValue(op2); + if (float_op1 == ((double)iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int sign2 = __Pyx_PyLong_Sign(op2); + if (float_op1 >= 0.) { + if (sign2 < 0) goto __pyx_return_false; + if (float_op1 < (double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } else { + if (sign2 > 0) goto __pyx_return_false; + if (float_op1 > -(double) (1L << PyLong_SHIFT)) goto __pyx_return_false; + } + } + #else + if (unlikely(!__Pyx_isfinite(float_op1))) { + if (float_op1 == 0.0) goto __pyx_return_true; else goto __pyx_return_false; + } else { + int overflow2; + long iop2 = PyLong_AsLongAndOverflow(op2, &overflow2); + if (likely(!overflow2)) { + if ((long long) iop2 >= (1LL << 53)) { + overflow2 = 1; + } else if ((long long) iop2 <= - (1LL << 53)) { + overflow2 = -1; + } else { + if (float_op1 == ((double) iop2)) goto __pyx_return_true; else goto __pyx_return_false; + } + } + if (overflow2 > 0) { + if (float_op1 < ((double) (1LL << 53))) goto __pyx_return_false; + } else { + if (float_op1 > - ((double) (1LL << 53))) goto __pyx_return_false; + } + } + #endif + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#if CYTHON_USE_PYLONG_INTERNALS +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + Py_ssize_t cmp = __Pyx_PyLong_CompareSignAndSize(op1, op2); + if (cmp == 0) { + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + if (size > 0) { + const digit* digits1 = __Pyx_PyLong_Digits(op1); + const digit* digits2 = __Pyx_PyLong_Digits(op2); + if (size == 1) { + cmp = (Py_ssize_t) digits1[0] - (Py_ssize_t) digits2[0]; + } else if ((size == 2) && (8 * sizeof(Py_ssize_t) >= 2 * PyLong_SHIFT)) { + cmp = (Py_ssize_t) (((((size_t)digits1[1]) << PyLong_SHIFT) | (size_t)digits1[0])) - (Py_ssize_t) (((((size_t)digits2[1]) << PyLong_SHIFT) | (size_t)digits2[0])); + } else { + for (Py_ssize_t i=size-1; i >= 0 && !cmp; --i) { + cmp = (Py_ssize_t) digits1[i] - (Py_ssize_t) digits2[i]; + } + } + } + if (cmp == 0) return 1; + if (__Pyx_PyLong_IsNeg(op1)) cmp = -cmp; + } + return 0; +} +#endif +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static CYTHON_INLINE PyObject* __Pyx_PyObject_CompareIntIntEq(PyObject *op1, PyObject *op2) { + int result = __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + if (unlikely(result == -1)) return NULL; + return __Pyx_NewRef(result ? Py_True : Py_False); +} +#endif +#else +#ifndef __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +#define __Pyx_DEFINED_PyObject_CompareIntIntBoolEq +static int __Pyx_PyObject_CompareIntIntBoolEq(PyObject *op1, PyObject *op2) { + int overflow1, overflow2; + long long iop1 = PyLong_AsLongLongAndOverflow(op1, &overflow1); + long long iop2 = PyLong_AsLongLongAndOverflow(op2, &overflow2); + if (likely(!(overflow1 | overflow2))) { + if (iop1 == iop2) goto __pyx_return_true; else goto __pyx_return_false; + } else if (overflow1 != overflow2) { + if (overflow1 == overflow2) goto __pyx_return_true; else goto __pyx_return_false; + } else { + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); + } +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolEq_object_int(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_true; else goto __pyx_richcmp; + } + if (op1 == op2) goto __pyx_return_true; + if (PyFloat_CheckExact(op1)) { + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareFloatIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if (likely(PyLong_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_true; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareIntIntBoolEq(op1, op2); + } + goto __pyx_richcmp; + } + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_EQ); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + +/* PyObjectCompare */ +#ifndef __Pyx_DEFINED_PyObject_CompareStrStrBoolNe +#define __Pyx_DEFINED_PyObject_CompareStrStrBoolNe +static CYTHON_INLINE int __Pyx_PyObject_CompareStrStrBoolNe(PyObject* s1, PyObject* s2) { + #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000 + int result = PyUnicode_Equal(s1, s2); + #if !CYTHON_COMPILING_IN_CPYTHON + if (unlikely(result == -1)) return -1; + #endif + if (result != 0) goto __pyx_return_false; else goto __pyx_return_true; + #else + int result = PyUnicode_Compare(s1, s2); + if (unlikely((result == -1) && PyErr_Occurred())) return -1; + if (result != 0) goto __pyx_return_true; else goto __pyx_return_false; + #endif +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} +#endif +static CYTHON_INLINE int __Pyx_PyObject_CompareBoolNe_object_str(PyObject *op1, PyObject *op2, int pyop) { + CYTHON_UNUSED_VAR(pyop); + if (unlikely(op2 == Py_None)) { + if (op1 == Py_None) goto __pyx_return_false; else goto __pyx_richcmp; + } + if (PyFloat_CheckExact(op1)) { + goto __pyx_richcmp; + } + if (PyLong_CheckExact(op1)) { + if (op1 == op2) goto __pyx_return_false; + goto __pyx_richcmp; + } + + if (likely(PyUnicode_CheckExact(op1))) { + if (op1 == op2) goto __pyx_return_false; + if (likely(op2 != Py_None)) { + return __Pyx_PyObject_CompareStrStrBoolNe(op1, op2); + } + goto __pyx_richcmp; + } + + if ((0)) goto __pyx_richcmp; + if ((0)) goto __pyx_return_true; + if ((0)) goto __pyx_return_false; +__pyx_richcmp: + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); +__pyx_return_true: + return 1; +__pyx_return_false: + return 0; +} + /* PyLongCompare */ static CYTHON_INLINE int __Pyx_PyLong_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace) { CYTHON_MAYBE_UNUSED_VAR(intval); @@ -38722,10 +44099,74 @@ static CYTHON_INLINE int __Pyx_PyLong_BoolNeObjC(PyObject *op1, PyObject *op2, l double a = __Pyx_PyFloat_AS_DOUBLE(op1); return ((double)a != (double)b); } - return __Pyx_PyObject_IsTrueAndDecref( - PyObject_RichCompare(op1, op2, Py_NE)); + return __Pyx_PyObject_RichCompareBool(op1, op2, Py_NE); } +/* PyNumberBinop */ +#if !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_GRAAL || CYTHON_COMPILING_IN_LIMITED_API) +#if CYTHON_USE_TYPE_SLOTS || __PYX_LIMITED_VERSION_HEX >= 0x030A0000 +#ifndef __Pyx_DEFINED_BinopTypeError +#define __Pyx_DEFINED_BinopTypeError +static void __Pyx_BinopTypeError(PyObject *op1, PyObject *op2, const char* op, int inplace) { + char opname[4] = {op[0], op[1], 0, 0}; + if (inplace) { + opname[op[1] ? 2 : 1] = '='; + } + __Pyx_RaiseErrorWithObjectTypes1( + PyExc_TypeError, + "unsupported operand type(s) for %.3s: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", + opname, op1, op2); +} +#endif +#endif +#ifndef __Pyx_DEFINED_PyNumber_Or_xint_object +#define __Pyx_DEFINED_PyNumber_Or_xint_object +static PyObject* __Pyx_PyNumber_Or_xint_object(PyObject *op1, PyObject *op2, int inplace) { + #if CYTHON_USE_TYPE_SLOTS || __PYX_LIMITED_VERSION_HEX >= 0x030A0000 + { + PyTypeObject *type_op2 = Py_TYPE(op2); + binaryfunc slot_func = __Pyx_PyType_GetSubSlot(type_op2, tp_as_number, nb_or, binaryfunc); + if (likely(slot_func)) { + PyObject *result = slot_func(op1, op2); + if (likely(result != Py_NotImplemented)) { + return result; + } + Py_DECREF(result); + } + __Pyx_BinopTypeError(op1, op2, "|", inplace); + return NULL; + } + #else + return (inplace) ? PyNumber_InPlaceOr(op1, op2) : PyNumber_Or(op1, op2); + #endif +} +#endif +static CYTHON_INLINE PyObject* __Pyx__PyNumber_Or_int_object(PyObject *op1, PyObject *op2, int inplace) { + if (likely(op1 != Py_None)) { + if (likely(PyLong_CheckExact(op2))) { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(op1)) { + Py_ssize_t int_op1 = __Pyx_PyLong_CompactValue(op1); + if (int_op1 == 0) return __Pyx_NewRef(op2); + if (__Pyx_PyLong_IsCompact(op2)) { + Py_ssize_t int_op2 = __Pyx_PyLong_CompactValue(op2); + if (int_op2 == 0) return __Pyx_NewRef(op1); + return PyLong_FromSsize_t(int_op1 | int_op2); + } + } + else if (__Pyx_PyLong_IsZero(op2)) return __Pyx_NewRef(op1); + #endif + binaryfunc slot_func = __Pyx_PyType_GetSubSlot(&PyLong_Type, tp_as_number, nb_or, binaryfunc); + if (likely(slot_func)) { + return slot_func(op1, op2); + } + } + return __Pyx_PyNumber_Or_xint_object(op1, op2, inplace); + } + return (inplace) ? PyNumber_InPlaceOr(op1, op2) : PyNumber_Or(op1, op2); +} +#endif + /* AllocateExtensionType */ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final) { if (is_final || likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) { @@ -38748,9 +44189,247 @@ static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final) { } } +/* CallSlotAsVectorcallUnpackDict (used by CallSlotAsVectorcall) */ +static CYTHON_INLINE int __Pyx_CallSlotAsVectorcallUnpackDict(Py_ssize_t args_size, PyObject *keys_dict, PyObject **args, PyObject *kwnames) { + Py_ssize_t pos = 0, i = 0; + PyObject *key, *value; + while (PyDict_Next(keys_dict, &pos, &key, &value)) { + Py_INCREF(value); + args[args_size+i] = value; + Py_INCREF(key); + if (unlikely(__Pyx_PyTuple_SET_ITEM(kwnames, i, key) == -1)) { + return -1; + } + ++i; + } + return 0; +} + +/* CallSlotAsVectorcall */ +#if CYTHON_VECTORCALL_TPNEW +static PyObject * __Pyx_CallTpnewAsVectorcall(__Pyx_tpnewvectorcallfunc f, PyTypeObject* o, PyObject *a, PyObject *k) { + Py_ssize_t k_size = k ? __Pyx_PyDict_GET_SIZE(k) : 0; +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(k_size < 0)) return NULL; +#endif + Py_ssize_t a_size = __Pyx_PyTuple_GET_SIZE(a); +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(a_size < 0)) return NULL; +#endif +#if CYTHON_ASSUME_SAFE_MACROS + if (k_size == 0) { + return f(o, &PyTuple_GET_ITEM(a, 0), a_size, NULL); + } +#else + if (k_size == 0 && a_size == 0) { + return f(o, NULL, 0, NULL); + } +#endif + PyObject *stack_args[5]; + PyObject **args = stack_args; + Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(PyObject*) - 1; + if (a_size > maxnargs - k_size) { + PyErr_NoMemory(); + return NULL; + } + Py_ssize_t total_size = a_size + k_size; + if (total_size > 5) { + args = (PyObject**)PyMem_Malloc(((size_t)total_size)*sizeof(PyObject*)); + if (unlikely(!args)) { + PyErr_NoMemory(); + return NULL; + } + } + PyObject * result = NULL; + PyObject *kwnames = NULL; + int unpack_dict_result; + Py_ssize_t i = 0; + for (; i < a_size; ++i) { + args[i] = __Pyx_PyTuple_GET_ITEM(a, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!args[i])) goto cleanup; +#endif + } +#if !CYTHON_ASSUME_SAFE_MACROS + if (k) // There's a specific shortcut earlier for ASSUME_SAFE_MACROS with no keywords +#endif + { + kwnames = PyTuple_New(k_size); + if (unlikely(!kwnames)) goto cleanup; + __Pyx_BEGIN_CRITICAL_SECTION(k); + unpack_dict_result = __Pyx_CallSlotAsVectorcallUnpackDict(a_size, k, args, kwnames); + __Pyx_END_CRITICAL_SECTION(); + if (unlikely(unpack_dict_result == -1)) goto cleanup; + } + result = f(o, args, a_size, kwnames); + cleanup: + Py_XDECREF(kwnames); + for (i=a_size; i__pyx_empty_tuple); + } + result = tp_new(t, args_tuple, kwds_dict); + if (unlikely(!result)) { + goto end; + } + if (PyObject_TypeCheck(result, t)) { + initproc tp_init = __Pyx_PyObject_GetSlot(result, tp_init, initproc); + if (tp_init && unlikely(tp_init(result, args_tuple, kwds_dict) < 0)) { + Py_CLEAR(result); + } + } + end: + Py_XDECREF(args_tuple); + Py_XDECREF(kwds_dict); + return result; +} +#endif + +/* CallSlotAsVectorcall */ +#if CYTHON_VECTORCALL_TPNEW +static int __Pyx_CallTpinitAsVectorcall(__Pyx_tpinitvectorcallfunc f, PyObject* o, PyObject *a, PyObject *k) { + Py_ssize_t k_size = k ? __Pyx_PyDict_GET_SIZE(k) : 0; +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(k_size < 0)) return -1; +#endif + Py_ssize_t a_size = __Pyx_PyTuple_GET_SIZE(a); +#if !CYTHON_ASSUME_SAFE_SIZE + if (unlikely(a_size < 0)) return -1; +#endif +#if CYTHON_ASSUME_SAFE_MACROS + if (k_size == 0) { + return f(o, &PyTuple_GET_ITEM(a, 0), a_size, NULL); + } +#else + if (k_size == 0 && a_size == 0) { + return f(o, NULL, 0, NULL); + } +#endif + PyObject *stack_args[5]; + PyObject **args = stack_args; + Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(PyObject*) - 1; + if (a_size > maxnargs - k_size) { + PyErr_NoMemory(); + return -1; + } + Py_ssize_t total_size = a_size + k_size; + if (total_size > 5) { + args = (PyObject**)PyMem_Malloc(((size_t)total_size)*sizeof(PyObject*)); + if (unlikely(!args)) { + PyErr_NoMemory(); + return -1; + } + } + int result = -1; + PyObject *kwnames = NULL; + int unpack_dict_result; + Py_ssize_t i = 0; + for (; i < a_size; ++i) { + args[i] = __Pyx_PyTuple_GET_ITEM(a, i); +#if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely(!args[i])) goto cleanup; +#endif + } +#if !CYTHON_ASSUME_SAFE_MACROS + if (k) // There's a specific shortcut earlier for ASSUME_SAFE_MACROS with no keywords +#endif + { + kwnames = PyTuple_New(k_size); + if (unlikely(!kwnames)) goto cleanup; + __Pyx_BEGIN_CRITICAL_SECTION(k); + unpack_dict_result = __Pyx_CallSlotAsVectorcallUnpackDict(a_size, k, args, kwnames); + __Pyx_END_CRITICAL_SECTION(); + if (unlikely(unpack_dict_result == -1)) goto cleanup; + } + result = f(o, args, a_size, kwnames); + cleanup: + Py_XDECREF(kwnames); + for (i=a_size; itp_dictoffset != 0; +#else + Py_ssize_t dictoffset = __Pyx_GetTypeDictOffset(b, 0); + has_dictoffset = dictoffset != 0; +#endif +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b); +#endif +#if !CYTHON_USE_TYPE_SLOTS + if (dictoffset == -1 && PyErr_Occurred()) return -1; +#endif + } for (i = 1; i < n; i++) { PyTypeObject *b; @@ -38773,38 +44476,30 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs b = (PyTypeObject*) b0; if (!__Pyx_PyType_HasFeature(b, Py_TPFLAGS_HEAPTYPE)) { - __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b); - PyErr_Format(PyExc_TypeError, - "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b_name); - __Pyx_DECREF_TypeName(b_name); + __Pyx_RaiseErrorWithType( + PyExc_TypeError, "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(b0); #endif return -1; } - if (dictoffset == 0) + if (!has_dictoffset) { Py_ssize_t b_dictoffset = 0; #if CYTHON_USE_TYPE_SLOTS b_dictoffset = b->tp_dictoffset; #else - PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__"); - if (!py_b_dictoffset) goto dictoffset_return; - b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset); - Py_DECREF(py_b_dictoffset); + b_dictoffset = __Pyx_GetTypeDictOffset((PyObject*)b, 0); if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return; #endif if (b_dictoffset) { - { - __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b); - PyErr_Format(PyExc_TypeError, - "extension type '%.200s' has no __dict__ slot, " - "but base type '" __Pyx_FMT_TYPENAME "' has: " - "either add 'cdef dict __dict__' to the extension type " - "or add '__slots__ = [...]' to the base type", - type_name, b_name); - __Pyx_DECREF_TypeName(b_name); - } + __Pyx_RaiseErrorWithType1( + PyExc_TypeError, + "extension type '%.200s' has no __dict__ slot, " + "but base type '" __Pyx_FMT_TYPENAME "' has: " + "either add 'cdef dict __dict__' to the extension type " + "or add '__slots__ = [...]' to the base type", + type_name, b); #if !CYTHON_USE_TYPE_SLOTS dictoffset_return: #endif @@ -38834,10 +44529,10 @@ CYTHON_UNUSED static int __Pyx_PyType_HasMultipleInheritance(PyTypeObject *t) { return 0; } static int __Pyx_PyType_Ready(PyTypeObject *t) { -#if CYTHON_USE_TYPE_SPECS || !CYTHON_COMPILING_IN_CPYTHON || defined(PYSTON_MAJOR_VERSION) - (void)__Pyx_PyObject_CallMethod0; +#if CYTHON_USE_TYPE_SPECS || !CYTHON_COMPILING_IN_CPYTHON + (void)&__Pyx_PyObject_CallMethod0; #if CYTHON_USE_TYPE_SPECS - (void)__Pyx_validate_bases_tuple; + (void)&__Pyx_validate_bases_tuple; #endif return PyType_Ready(t); #else @@ -38846,14 +44541,13 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { return PyType_Ready(t); } PyObject *bases = __Pyx_PyType_GetSlot(t, tp_bases, PyObject*); - if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset, bases) == -1)) + if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset != 0, bases) == -1)) return -1; -#if !defined(PYSTON_MAJOR_VERSION) { int gc_was_enabled; #if PY_VERSION_HEX >= 0x030A00b1 gc_was_enabled = PyGC_Disable(); - (void)__Pyx_PyObject_CallMethod0; + (void)&__Pyx_PyObject_CallMethod0; #else PyObject *ret, *py_status; PyObject *gc = NULL; @@ -38886,11 +44580,7 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { #if PY_VERSION_HEX >= 0x030A0000 t->tp_flags |= Py_TPFLAGS_IMMUTABLETYPE; #endif -#else - (void)__Pyx_PyObject_CallMethod0; -#endif - r = PyType_Ready(t); -#if !defined(PYSTON_MAJOR_VERSION) + r = PyType_Ready(t); t->tp_flags &= ~Py_TPFLAGS_HEAPTYPE; #if PY_VERSION_HEX >= 0x030A00b1 if (gc_was_enabled) @@ -38913,56 +44603,40 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) { Py_DECREF(gc); #endif } -#endif return r; #endif } -/* SetVTable */ -static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) { - PyObject *ob = PyCapsule_New(vtable, 0, 0); - if (unlikely(!ob)) - goto bad; -#if CYTHON_COMPILING_IN_LIMITED_API - if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) -#else - if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) -#endif - goto bad; - Py_DECREF(ob); - return 0; -bad: - Py_XDECREF(ob); - return -1; -} - /* GetVTable (used by MergeVTables) */ -static void* __Pyx_GetVtable(PyTypeObject *type) { +static int __Pyx_GetVtable(PyTypeObject *type, void** table) { void* ptr; + *table = NULL; #if CYTHON_COMPILING_IN_LIMITED_API PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_mstate_global->__pyx_n_u_pyx_vtable); #else PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable); #endif if (!ob) - goto bad; + goto no_attr; ptr = PyCapsule_GetPointer(ob, 0); if (!ptr && !PyErr_Occurred()) PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type"); Py_DECREF(ob); - return ptr; -bad: + *table = ptr; + return 1; +no_attr: + if (PyErr_ExceptionMatches(CYTHON_COMPILING_IN_LIMITED_API ? PyExc_AttributeError : PyExc_KeyError)) { + return 0; + } Py_XDECREF(ob); - return NULL; + return -1; } -/* MergeVTables */ +/* MergeVTables (used by SetVTable) */ static int __Pyx_MergeVtables(PyTypeObject *type) { int i=0; Py_ssize_t size; void** base_vtables; - __Pyx_TypeName tp_base_name = NULL; - __Pyx_TypeName base_name = NULL; void* unknown = (void*)-1; PyObject* bases = __Pyx_PyType_GetSlot(type, tp_bases, PyObject*); int base_depth = 0; @@ -38970,10 +44644,14 @@ static int __Pyx_MergeVtables(PyTypeObject *type) { PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); while (base) { base_depth += 1; - base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*); + base = __Pyx_PyType_TryGetSlot(base, tp_base, PyTypeObject*); } } base_vtables = (void**) PyMem_Malloc(sizeof(void*) * (size_t)(base_depth + 1)); + if (unlikely(!base_vtables)) { + PyErr_NoMemory(); + return -1; + } base_vtables[0] = unknown; #if CYTHON_COMPILING_IN_LIMITED_API size = PyTuple_Size(bases); @@ -38993,69 +44671,111 @@ static int __Pyx_MergeVtables(PyTypeObject *type) { #else basei = PyTuple_GET_ITEM(bases, i); #endif - base_vtable = __Pyx_GetVtable((PyTypeObject*)basei); + int get_vtable_result = __Pyx_GetVtable((PyTypeObject*)basei, &base_vtable); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(basei); #endif - if (base_vtable != NULL) { + if (get_vtable_result != 1) { + if (get_vtable_result == -1) { + goto other_failure; + } + PyErr_Clear(); // Class doesn't have a vtable. + } else { + assert(base_vtable != NULL); int j; - PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); + PyTypeObject* base = __Pyx_PyType_TryGetSlot(type, tp_base, PyTypeObject*); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + if (!base) goto bad; +#endif for (j = 0; j < base_depth; j++) { if (base_vtables[j] == unknown) { - base_vtables[j] = __Pyx_GetVtable(base); + switch (__Pyx_GetVtable(base, &base_vtables[j])) { + case 1: + assert(base_vtables[j] == NULL); + break; + case 0: + goto bad; + case -1: + default: + goto other_failure; + } base_vtables[j + 1] = unknown; } if (base_vtables[j] == base_vtable) { break; - } else if (base_vtables[j] == NULL) { - goto bad; } - base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*); + base = __Pyx_PyType_TryGetSlot(base, tp_base, PyTypeObject*); +#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000 + if (!base) goto bad; +#endif } } } - PyErr_Clear(); PyMem_Free(base_vtables); return 0; bad: { - PyTypeObject* basei = NULL; PyTypeObject* tp_base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*); - tp_base_name = __Pyx_PyType_GetFullyQualifiedName(tp_base); + PyTypeObject* basei; #if CYTHON_AVOID_BORROWED_REFS basei = (PyTypeObject*)PySequence_GetItem(bases, i); - if (unlikely(!basei)) goto really_bad; + if (unlikely(!basei)) goto other_failure; #elif !CYTHON_ASSUME_SAFE_MACROS basei = (PyTypeObject*)PyTuple_GetItem(bases, i); - if (unlikely(!basei)) goto really_bad; + if (unlikely(!basei)) goto other_failure; #else basei = (PyTypeObject*)PyTuple_GET_ITEM(bases, i); #endif - base_name = __Pyx_PyType_GetFullyQualifiedName(basei); + __Pyx_RaiseTypeErrorWithTypes( + "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base, basei); #if CYTHON_AVOID_BORROWED_REFS Py_DECREF(basei); #endif } - PyErr_Format(PyExc_TypeError, - "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base_name, base_name); -#if CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS -really_bad: // bad has failed! -#endif - __Pyx_DECREF_TypeName(tp_base_name); - __Pyx_DECREF_TypeName(base_name); -#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS other_failure: -#endif PyMem_Free(base_vtables); return -1; } +/* SetVTable */ +static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) { + PyObject *ob = PyCapsule_New(vtable, 0, 0); + if (unlikely(!ob)) + goto bad; +#if CYTHON_COMPILING_IN_LIMITED_API + if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) +#else + if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0)) +#endif + goto bad; + Py_DECREF(ob); + return __Pyx_MergeVtables(type); +bad: + Py_XDECREF(ob); + return -1; +} + +/* LimitedApiGetTypeTypeDict (used by DelItemOnTypeDict) */ +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_GetTypeTypeDict(PyTypeObject *tp) { + static Py_ssize_t tp_dictoffset = 0; + if (unlikely(tp_dictoffset == 0)) { + tp_dictoffset = __Pyx_GetTypeDictOffset((PyObject*)(&PyType_Type), 1); + if (unlikely(tp_dictoffset == -1 && PyErr_Occurred())) { + tp_dictoffset = 0; // try again next time? + return NULL; + } + } + return *(PyObject**)((char*)tp + tp_dictoffset); +} +#endif + /* DelItemOnTypeDict (used by SetupReduce) */ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k) { int result; PyObject *tp_dict; #if CYTHON_COMPILING_IN_LIMITED_API - tp_dict = __Pyx_GetTypeDict(tp); + tp_dict = __Pyx_GetTypeTypeDict(tp); if (unlikely(!tp_dict)) return -1; #else tp_dict = tp->tp_dict; @@ -39065,6 +44785,28 @@ static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k) { return result; } +/* SetItemOnTypeDict (used by SetupReduce) */ +static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) { + int result; + PyObject *tp_dict; +#if CYTHON_COMPILING_IN_LIMITED_API + tp_dict = __Pyx_GetTypeTypeDict(tp); + if (unlikely(!tp_dict)) return -1; +#else + tp_dict = tp->tp_dict; +#endif + result = PyDict_SetItem(tp_dict, k, v); + if (likely(!result)) { + PyType_Modified(tp); + if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name))) { + PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name, (PyObject *) tp, k, NULL); + if (!setNameResult) return -1; + Py_DECREF(setNameResult); + } + } + return result; +} + /* SetupReduce */ static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { int ret; @@ -39075,13 +44817,24 @@ static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { } else { ret = -1; } - if (unlikely(ret < 0)) { - PyErr_Clear(); - ret = 0; + if (unlikely(ret < 0) && __Pyx_IgnoreException(PyExc_Exception)) { + ret = 0; // But BaseException is still propagated. } Py_XDECREF(name_attr); return ret; } +static PyObject *__Pyx_setup_reduce_get_reduce_attribute(PyObject *type_obj, PyObject *name, int allow_not_present) { +#if CYTHON_USE_PYTYPE_LOOKUP + CYTHON_UNUSED_VAR(allow_not_present); + return _PyType_Lookup((PyTypeObject*)type_obj, name); +#else + if (allow_not_present) { + return __Pyx_PyObject_GetAttrStrNoError(type_obj, name); + } else { + return __Pyx_PyObject_GetAttrStr(type_obj, name); + } +#endif +} static int __Pyx_setup_reduce(PyObject* type_obj) { int ret = 0; PyObject *object_reduce = NULL; @@ -39093,41 +44846,34 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { PyObject *setstate = NULL; PyObject *setstate_cython = NULL; PyObject *getstate = NULL; -#if CYTHON_USE_PYTYPE_LOOKUP - getstate = _PyType_Lookup((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_getstate); -#else - getstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_getstate); + getstate = __Pyx_setup_reduce_get_reduce_attribute(type_obj, __pyx_mstate_global->__pyx_n_u_getstate, 1); if (!getstate && PyErr_Occurred()) { goto __PYX_BAD; } -#endif if (getstate) { -#if CYTHON_USE_PYTYPE_LOOKUP - object_getstate = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate); -#else - object_getstate = __Pyx_PyObject_GetAttrStrNoError((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate); + object_getstate = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate, 1); if (!object_getstate && PyErr_Occurred()) { goto __PYX_BAD; } -#endif if (object_getstate != getstate) { goto __PYX_GOOD; } } -#if CYTHON_USE_PYTYPE_LOOKUP - object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; -#else - object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; -#endif + object_reduce_ex = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex, 0); + if (unlikely(!object_reduce_ex)) goto __PYX_BAD; reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD; if (reduce_ex == object_reduce_ex) { -#if CYTHON_USE_PYTYPE_LOOKUP - object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD; -#else - object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD; -#endif + object_reduce = __Pyx_setup_reduce_get_reduce_attribute((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce, 0); + if (!object_reduce) goto __PYX_BAD; reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce); if (unlikely(!reduce)) goto __PYX_BAD; - if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_mstate_global->__pyx_n_u_reduce_cython)) { + int try_to_replace_reduce = (reduce == object_reduce); + if (!try_to_replace_reduce) { + try_to_replace_reduce = __Pyx_setup_reduce_is_named(reduce, __pyx_mstate_global->__pyx_n_u_reduce_cython); + if (unlikely(try_to_replace_reduce < 0)) { + goto __PYX_BAD; + } + } + if (try_to_replace_reduce) { reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_cython); if (likely(reduce_cython)) { ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD; @@ -39136,8 +44882,20 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { goto __PYX_BAD; } setstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate); - if (!setstate) PyErr_Clear(); - if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_mstate_global->__pyx_n_u_setstate_cython)) { + int try_to_replace_setstate; + if (!setstate) { + PyObject *exc = PyErr_Occurred(); + if (exc && !__Pyx_IgnoreGivenException(exc, PyExc_Exception)) { + goto __PYX_BAD; + } + try_to_replace_setstate = 1; + } else { + try_to_replace_setstate = __Pyx_setup_reduce_is_named(setstate, __pyx_mstate_global->__pyx_n_u_setstate_cython); + if (unlikely(try_to_replace_setstate < 0)) { + goto __PYX_BAD; + } + } + if (try_to_replace_setstate) { setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate_cython); if (likely(setstate_cython)) { ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD; @@ -39152,11 +44910,10 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { goto __PYX_GOOD; __PYX_BAD: if (!PyErr_Occurred()) { - __Pyx_TypeName type_obj_name = - __Pyx_PyType_GetFullyQualifiedName((PyTypeObject*)type_obj); - PyErr_Format(PyExc_RuntimeError, - "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, type_obj_name); - __Pyx_DECREF_TypeName(type_obj_name); + __Pyx_RaiseErrorWithType( + PyExc_RuntimeError, + "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, + (PyTypeObject*)type_obj); } ret = -1; __PYX_GOOD: @@ -39175,10 +44932,10 @@ static int __Pyx_setup_reduce(PyObject* type_obj) { } /* TypeImport */ -#ifndef __PYX_HAVE_RT_ImportType_3_2_4 -#define __PYX_HAVE_RT_ImportType_3_2_4 -static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module_name, const char *class_name, - size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_4 check_size) +#ifndef __PYX_HAVE_RT_ImportType_3_3_1 +#define __PYX_HAVE_RT_ImportType_3_3_1 +static PyTypeObject *__Pyx_ImportType_3_3_1(PyObject *module, const char *module_name, const char *class_name, + size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_3_1 check_size) { PyObject *result = 0; Py_ssize_t basicsize; @@ -39234,7 +44991,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module module_name, class_name, size, basicsize+itemsize); goto bad; } - if (check_size == __Pyx_ImportType_CheckSize_Error_3_2_4 && + if (check_size == __Pyx_ImportType_CheckSize_Error_3_3_1 && ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) { PyErr_Format(PyExc_ValueError, "%.200s.%.200s size changed, may indicate binary incompatibility. " @@ -39242,7 +44999,7 @@ static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module module_name, class_name, size, basicsize, basicsize+itemsize); goto bad; } - else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_2_4 && (size_t)basicsize > size) { + else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_3_1 && (size_t)basicsize > size) { if (PyErr_WarnFormat(NULL, 0, "%.200s.%.200s size changed, may indicate binary incompatibility. " "Expected %zd from C header, got %zd from PyObject", @@ -39258,9 +45015,9 @@ static PyTypeObject *__Pyx_ImportType_3_2_4(PyObject *module, const char *module #endif /* PxdImportShared (used by FunctionImport) */ -#ifndef __PYX_HAVE_RT_ImportFromPxd_3_2_4 -#define __PYX_HAVE_RT_ImportFromPxd_3_2_4 -static int __Pyx_ImportFromPxd_3_2_4(PyObject *module, const char *name, void **p, const char *sig, const char *what) { +#ifndef __PYX_HAVE_RT_ImportFromPxd_3_3_1 +#define __PYX_HAVE_RT_ImportFromPxd_3_3_1 +static int __Pyx_ImportFromPxd_3_3_1(PyObject *module, const char *name, void **p, const char *sig, const char *what, int optional) { PyObject *d = 0; PyObject *cobj = 0; d = PyObject_GetAttrString(module, "__pyx_capi__"); @@ -39273,10 +45030,16 @@ static int __Pyx_ImportFromPxd_3_2_4(PyObject *module, const char *name, void ** Py_XINCREF(cobj); #endif if (!cobj) { - PyErr_Format(PyExc_ImportError, - "%.200s does not export expected C %.8s %.200s", - PyModule_GetName(module), what, name); - goto bad; + if (optional && !PyErr_Occurred()) { + PyErr_Clear(); + *p = NULL; + goto allowed_failure; + } else { + PyErr_Format(PyExc_ImportError, + "%.200s does not export expected C %.8s %.200s", + PyModule_GetName(module), what, name); + goto bad; + } } if (!PyCapsule_IsValid(cobj, sig)) { PyErr_Format(PyExc_TypeError, @@ -39287,8 +45050,9 @@ static int __Pyx_ImportFromPxd_3_2_4(PyObject *module, const char *name, void ** *p = PyCapsule_GetPointer(cobj, sig); if (!(*p)) goto bad; - Py_DECREF(d); Py_DECREF(cobj); +allowed_failure: + Py_DECREF(d); return 0; bad: Py_XDECREF(d); @@ -39298,14 +45062,17 @@ static int __Pyx_ImportFromPxd_3_2_4(PyObject *module, const char *name, void ** #endif /* FunctionImport */ -#ifndef __PYX_HAVE_RT_ImportFunction_3_2_4 -#define __PYX_HAVE_RT_ImportFunction_3_2_4 -static int __Pyx_ImportFunction_3_2_4(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { +#ifndef __PYX_HAVE_RT_ImportFunction_3_3_1 +#define __PYX_HAVE_RT_ImportFunction_3_3_1 +static int __Pyx_ImportFunction_3_3_1(PyObject *module, const char *funcname, void (**f)(void), const char *sig) { + if (*f) { + return 0; // already imported under a different name + } union { void (*fp)(void); void *p; } tmp; - int result = __Pyx_ImportFromPxd_3_2_4(module, funcname, &tmp.p, sig, "function"); + int result = __Pyx_ImportFromPxd_3_3_1(module, funcname, &tmp.p, sig, "function", 0); if (result == 0) { *f = tmp.fp; } @@ -39313,6 +45080,26 @@ static int __Pyx_ImportFunction_3_2_4(PyObject *module, const char *funcname, vo } #endif +/* TupleOrListFromArrayImpl (used by ListFromArray) */ +CYTHON_UNUSED static PyObject * +__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) { + PyObject *res = PyList_New(n); + if (unlikely(res == NULL)) return NULL; + #if CYTHON_COMPILING_IN_CPYTHON + __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); + #else + Py_ssize_t i; + for (i = 0; i < n; i++) { + Py_INCREF(src[i]); + if (unlikely(__Pyx_PyList_SET_ITEM(res, i, src[i]) < (0))) { + Py_DECREF(res); + return NULL; + } + } + #endif + return res; +} + /* ImportImpl (used by Import) */ static int __Pyx__Import_GetModule(PyObject *qualname, PyObject **module) { PyObject *imported_module = PyImport_GetModule(qualname); @@ -39388,21 +45175,17 @@ static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, } else if (unlikely(module_found == -1)) { return NULL; } + #if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030f00a6 + empty_dict = PyFrozenDict_New(NULL); + #else empty_dict = PyDict_New(); + #endif if (unlikely(!empty_dict)) goto bad; if (imported_names) { -#if CYTHON_COMPILING_IN_CPYTHON from_list = __Pyx_PyList_FromArray(imported_names, len_imported_names); if (unlikely(!from_list)) goto bad; -#else - from_list = PyList_New(len_imported_names); - if (unlikely(!from_list)) goto bad; - for (Py_ssize_t i=0; i__pyx_kp_u__4); + module_dot = PyUnicode_Concat(module_name, __pyx_mstate_global->__pyx_kp_u__5); if (unlikely(!module_dot)) { goto modbad; } full_name = PyUnicode_Concat(module_dot, name); if (unlikely(!full_name)) { goto modbad; } @@ -39533,7 +45316,7 @@ static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, } if (unlikely(!ns)) return NULL; - if (unlikely(PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_module_2, modname) < 0)) goto bad; + if (unlikely(PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_module, modname) < 0)) goto bad; if (unlikely(PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_qualname, qualname) < 0)) goto bad; if (unlikely(doc && PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_doc, doc) < 0)) goto bad; return ns; @@ -39644,7 +45427,7 @@ static __Pyx_CachedCodeObjectType *__pyx__find_code_object(struct __Pyx_CodeObje } static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS - (void)__pyx__find_code_object; + (void)&__pyx__find_code_object; return NULL; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just miss. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; @@ -39709,7 +45492,7 @@ static void __pyx__insert_code_object(struct __Pyx_CodeObjectCache *code_cache, } static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object) { #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS - (void)__pyx__insert_code_object; + (void)&__pyx__insert_code_object; return; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just fail. #else struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache; @@ -39748,7 +45531,6 @@ static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject Py_DECREF(replace); return result; } - PyErr_Clear(); return NULL; } static void __Pyx_AddTraceback(const char *funcname, int c_line, @@ -39760,7 +45542,7 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, if (c_line) { c_line = __Pyx_CLineForTraceback(__Pyx_PyThreadState_Current, c_line); } - PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); + __Pyx_PyErr_FetchException(&exc_type, &exc_value, &exc_traceback); code_object = __pyx_find_code_object(c_line ? -c_line : py_line); if (!code_object) { code_object = Py_CompileString("_getframe()", filename, Py_eval_input); @@ -39792,7 +45574,7 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, if (unlikely(!frame) || frame == Py_None) goto bad; success = 1; bad: - PyErr_Restore(exc_type, exc_value, exc_traceback); + __Pyx_PyErr_RestoreException(exc_type, exc_value, exc_traceback); Py_XDECREF(code_object); Py_XDECREF(py_py_line); Py_XDECREF(py_funcname); @@ -39885,7 +45667,19 @@ static void __Pyx_AddTraceback(const char *funcname, int c_line, return (target_type) value;\ } -/* CheckUnpickleChecksum */ +/* PyObjectCallMethod1 */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) { +#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || !CYTHON_COMPILING_IN_LIMITED_API) + PyObject *args[2] = {obj, arg}; + return PyObject_VectorcallMethod(method_name, args, 2 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); +#elif CYTHON_COMPILING_IN_LIMITED_API + return PyObject_CallMethodObjArgs(obj, method_name, arg, NULL); +#else + return PyObject_CallMethodOneArg(obj, method_name, arg); +#endif +} + +/* CheckUnpickleChecksumError */ static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { PyObject *pickle_module = PyImport_ImportModule("pickle"); if (unlikely(!pickle_module)) return; @@ -39904,16 +45698,6 @@ static void __Pyx_RaiseUnpickleChecksumError(long checksum, long checksum1, long } Py_DECREF(pickle_error); } -static int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { - int found = 0; - found |= checksum1 == checksum; - found |= checksum2 == checksum; - found |= checksum3 == checksum; - if (likely(found)) - return 0; - __Pyx_RaiseUnpickleChecksumError(checksum, checksum1, checksum2, checksum3, members); - return -1; -} /* CIntToPy */ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_unsigned_long(unsigned long value) { @@ -39957,35 +45741,185 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_unsigned_long(unsigned long val little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; - PyObject *from_bytes, *result = NULL, *kwds = NULL; - PyObject *py_bytes = NULL, *order_str = NULL; - from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); - if (!from_bytes) return NULL; + PyObject *result = NULL, *kwds = NULL; + PyObject *py_bytes = NULL, *order_str = NULL, *from_bytes_str = NULL;; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(unsigned long)); if (!py_bytes) goto limited_bad; + from_bytes_str = PyUnicode_FromStringAndSize("from_bytes", 10); + if (!from_bytes_str) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { - PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; + PyObject *args[] = { (PyObject*)&PyLong_Type, py_bytes, order_str, Py_True }; if (!is_unsigned) { - kwds = __Pyx_MakeVectorcallBuilderKwds(1); - if (!kwds) goto limited_bad; - if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; + PyObject *signed_str = PyUnicode_FromStringAndSize("signed", 6); + if (!signed_str) goto limited_bad; +#if CYTHON_VECTORCALL + kwds = PyTuple_Pack(1, signed_str); +#else + { + PyObject *keys[] = {signed_str}; + PyObject *values[] = {Py_True}; + kwds = __Pyx_MakeKwargDict(keys, values, 1); + } +#endif + Py_DECREF(signed_str); + if (unlikely(!kwds)) goto limited_bad; } - result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); + result = __Pyx_Object_VectorcallMethodKwds(from_bytes_str, args, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); - Py_XDECREF(from_bytes); + Py_XDECREF(from_bytes_str); return result; #endif } } /* CIntFromPy */ -static CYTHON_INLINE unsigned long __Pyx_PyLong_As_unsigned_long(PyObject *x) { +static unsigned long __Pyx_LargePyLong___Pyx_PyLong_As_unsigned_long(PyObject *x); +static unsigned long __Pyx_raise_neg_overflow___Pyx_PyLong_As_unsigned_long(void) { + const char* type_name = "unsigned long"; + PyErr_Format(PyExc_OverflowError, + "can't convert negative value to %.200s", type_name); + return (unsigned long) -1; +} +static unsigned long __Pyx_raise_overflow___Pyx_PyLong_As_unsigned_long(void) { + const char* type_name = "unsigned long"; + PyErr_Format(PyExc_OverflowError, + "value too large to convert to %.200s", type_name); + return (unsigned long) -1; +} +static CYTHON_INLINE unsigned long __Pyx_PyULong___Pyx_PyLong_As_unsigned_long(PyObject *x) { + const int is_unsigned = 1; +#if CYTHON_USE_PYLONG_INTERNALS + { + const digit* digits = __Pyx_PyLong_Digits(x); + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + if (size == 2 && (8 * sizeof(unsigned long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) >= 2 * PyLong_SHIFT)) { + return (unsigned long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) >= 3 * PyLong_SHIFT)) { + return (unsigned long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) >= 4 * PyLong_SHIFT)) { + return (unsigned long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + {} + } +#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (unsigned long) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(unsigned long) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(unsigned long, unsigned long, PyLong_AsUnsignedLong(x)) + } else if ((sizeof(unsigned long) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(unsigned long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_unsigned_long(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_unsigned_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_unsigned_long(); +} +static CYTHON_INLINE unsigned long __Pyx_PySLong___Pyx_PyLong_As_unsigned_long(PyObject *x) { + const int is_unsigned = 0; +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsNeg(x)) { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(unsigned long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + long ival = - (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(unsigned long, long, ival) + } else if ((8 * sizeof(unsigned long) - 1 > 2 * PyLong_SHIFT)) { + return (unsigned long) (((unsigned long) -1) * (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); + } + } else + if (size == 3 && (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + long ival = - (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(unsigned long, long, ival) + } else if ((8 * sizeof(unsigned long) - 1 > 3 * PyLong_SHIFT)) { + return (unsigned long) (((unsigned long) -1) * (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); + } + } else + if (size == 4 && (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + long ival = - (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(unsigned long, long, ival) + } else if ((8 * sizeof(unsigned long) - 1 > 4 * PyLong_SHIFT)) { + return (unsigned long) (((unsigned long) -1) * (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); + } + } else + {} + } else { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(unsigned long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) - 1 > 2 * PyLong_SHIFT)) { + return (unsigned long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) - 1 > 3 * PyLong_SHIFT)) { + return (unsigned long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(unsigned long) - 1 > 4 * PyLong_SHIFT)) { + return (unsigned long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + } + } else + {} + } +#endif + #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + if ((sizeof(unsigned long) <= sizeof(int)) && (sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(unsigned long, int, PyLong_AsInt(x)) + } else + #endif + if ((sizeof(unsigned long) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(unsigned long, long, PyLong_AsLong(x)) + } else if ((sizeof(unsigned long) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(unsigned long, PY_LONG_LONG, PyLong_AsLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_unsigned_long(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_unsigned_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_unsigned_long(); +} +static unsigned long __Pyx_LargePyLong___Pyx_PyLong_As_unsigned_long(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" @@ -39995,243 +45929,154 @@ static CYTHON_INLINE unsigned long __Pyx_PyLong_As_unsigned_long(PyObject *x) { #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; - if (unlikely(!PyLong_Check(x))) { - unsigned long val; - PyObject *tmp = __Pyx_PyNumber_Long(x); - if (!tmp) return (unsigned long) -1; - val = __Pyx_PyLong_As_unsigned_long(tmp); - Py_DECREF(tmp); - return val; + unsigned long val; + int ret = -1; +#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API + Py_ssize_t bytes_copied = PyLong_AsNativeBytes( + x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); + if (unlikely(bytes_copied == -1)) { + } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { + goto raise_overflow; + } else { + ret = 0; } - if (is_unsigned) { -#if CYTHON_USE_PYLONG_INTERNALS - if (unlikely(__Pyx_PyLong_IsNeg(x))) { - goto raise_neg_overflow; - } else if (__Pyx_PyLong_IsCompact(x)) { - __PYX_VERIFY_RETURN_INT(unsigned long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_DigitCount(x)) { - case 2: - if ((8 * sizeof(unsigned long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) >= 2 * PyLong_SHIFT)) { - return (unsigned long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - } - } - break; - case 3: - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) >= 3 * PyLong_SHIFT)) { - return (unsigned long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - } - } - break; - case 4: - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) >= 4 * PyLong_SHIFT)) { - return (unsigned long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - } - } - break; - } - } -#endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 - if (unlikely(Py_SIZE(x) < 0)) { - goto raise_neg_overflow; - } +#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)x, + bytes, sizeof(val), + is_little, !is_unsigned); + if ((0)) goto raise_overflow; #else - { - int result = PyObject_RichCompareBool(x, Py_False, Py_LT); - if (unlikely(result < 0)) - return (unsigned long) -1; - if (unlikely(result == 1)) - goto raise_neg_overflow; - } -#endif - if ((sizeof(unsigned long) <= sizeof(unsigned long))) { - __PYX_VERIFY_RETURN_INT_EXC(unsigned long, unsigned long, PyLong_AsUnsignedLong(x)) - } else if ((sizeof(unsigned long) <= sizeof(unsigned PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(unsigned long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) - } + PyObject *v; + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (likely(PyLong_CheckExact(x))) { + v = __Pyx_NewRef(x); } else { -#if CYTHON_USE_PYLONG_INTERNALS - if (__Pyx_PyLong_IsCompact(x)) { - __PYX_VERIFY_RETURN_INT(unsigned long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_SignedDigitCount(x)) { - case -2: - if ((8 * sizeof(unsigned long) - 1 > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 2 * PyLong_SHIFT)) { - return (unsigned long) (((unsigned long)-1)*(((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - case 2: - if ((8 * sizeof(unsigned long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 2 * PyLong_SHIFT)) { - return (unsigned long) ((((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - case -3: - if ((8 * sizeof(unsigned long) - 1 > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 3 * PyLong_SHIFT)) { - return (unsigned long) (((unsigned long)-1)*(((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - case 3: - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 3 * PyLong_SHIFT)) { - return (unsigned long) ((((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - case -4: - if ((8 * sizeof(unsigned long) - 1 > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 4 * PyLong_SHIFT)) { - return (unsigned long) (((unsigned long)-1)*(((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - case 4: - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(unsigned long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(unsigned long) - 1 > 4 * PyLong_SHIFT)) { - return (unsigned long) ((((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))); - } - } - break; - } - } -#endif - if ((sizeof(unsigned long) <= sizeof(long))) { - __PYX_VERIFY_RETURN_INT_EXC(unsigned long, long, PyLong_AsLong(x)) - } else if ((sizeof(unsigned long) <= sizeof(PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(unsigned long, PY_LONG_LONG, PyLong_AsLongLong(x)) - } + v = PyNumber_Long(x); + if (unlikely(!v)) return (unsigned long) -1; + assert(PyLong_CheckExact(v)); } { - unsigned long val; - int ret = -1; -#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API - Py_ssize_t bytes_copied = PyLong_AsNativeBytes( - x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); - if (unlikely(bytes_copied == -1)) { - } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { - goto raise_overflow; - } else { - ret = 0; - } -#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - ret = _PyLong_AsByteArray((PyLongObject *)x, - bytes, sizeof(val), - is_little, !is_unsigned); -#else - PyObject *v; - PyObject *stepval = NULL, *mask = NULL, *shift = NULL; - int bits, remaining_bits, is_negative = 0; - int chunk_size = (sizeof(long) < 8) ? 30 : 62; - if (likely(PyLong_CheckExact(x))) { - v = __Pyx_NewRef(x); - } else { - v = PyNumber_Long(x); - if (unlikely(!v)) return (unsigned long) -1; - assert(PyLong_CheckExact(v)); + int result = PyObject_RichCompareBool(v, Py_False, Py_LT); + if (unlikely(result < 0)) { + Py_DECREF(v); + return (unsigned long) -1; } + is_negative = result == 1; + } + if (is_unsigned && unlikely(is_negative)) { + Py_DECREF(v); + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to unsigned long"); + return (unsigned long) -1; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + Py_DECREF(v); + if (unlikely(!stepval)) + return (unsigned long) -1; + } else { + stepval = v; + } + v = NULL; + val = (unsigned long) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(unsigned long) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + long idigit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + val |= ((unsigned long) idigit) << bits; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + } + Py_DECREF(shift); shift = NULL; + Py_DECREF(mask); mask = NULL; + { + long idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(unsigned long) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((unsigned long) idigit) << bits; + } + if (!is_unsigned) { + if (unlikely(val & (((unsigned long) 1) << (sizeof(unsigned long) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; +done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + if (unlikely(ret)) + return (unsigned long) -1; + return val; +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_unsigned_long(); +} +static CYTHON_INLINE unsigned long __Pyx_PyLong___Pyx_PyLong_As_unsigned_long(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const unsigned long neg_one = (unsigned long) -1, const_zero = (unsigned long) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; + if (is_unsigned) { + #if CYTHON_USE_PYLONG_INTERNALS + if (unlikely(__Pyx_PyLong_IsNeg(x))) { + goto raise_neg_overflow; + } else if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(unsigned long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) + } else + #endif { - int result = PyObject_RichCompareBool(v, Py_False, Py_LT); - if (unlikely(result < 0)) { - Py_DECREF(v); - return (unsigned long) -1; - } - is_negative = result == 1; + return __Pyx_PyULong___Pyx_PyLong_As_unsigned_long(x); } - if (is_unsigned && unlikely(is_negative)) { - Py_DECREF(v); - goto raise_neg_overflow; - } else if (is_negative) { - stepval = PyNumber_Invert(v); - Py_DECREF(v); - if (unlikely(!stepval)) - return (unsigned long) -1; - } else { - stepval = v; - } - v = NULL; - val = (unsigned long) 0; - mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; - shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; - for (bits = 0; bits < (int) sizeof(unsigned long) * 8 - chunk_size; bits += chunk_size) { - PyObject *tmp, *digit; - long idigit; - digit = PyNumber_And(stepval, mask); - if (unlikely(!digit)) goto done; - idigit = PyLong_AsLong(digit); - Py_DECREF(digit); - if (unlikely(idigit < 0)) goto done; - val |= ((unsigned long) idigit) << bits; - tmp = PyNumber_Rshift(stepval, shift); - if (unlikely(!tmp)) goto done; - Py_DECREF(stepval); stepval = tmp; - } - Py_DECREF(shift); shift = NULL; - Py_DECREF(mask); mask = NULL; + } else { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(unsigned long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) + } else + #endif { - long idigit = PyLong_AsLong(stepval); - if (unlikely(idigit < 0)) goto done; - remaining_bits = ((int) sizeof(unsigned long) * 8) - bits - (is_unsigned ? 0 : 1); - if (unlikely(idigit >= (1L << remaining_bits))) - goto raise_overflow; - val |= ((unsigned long) idigit) << bits; - } - if (!is_unsigned) { - if (unlikely(val & (((unsigned long) 1) << (sizeof(unsigned long) * 8 - 1)))) - goto raise_overflow; - if (is_negative) - val = ~val; + return __Pyx_PySLong___Pyx_PyLong_As_unsigned_long(x); } - ret = 0; - done: - Py_XDECREF(shift); - Py_XDECREF(mask); - Py_XDECREF(stepval); -#endif - if (unlikely(ret)) - return (unsigned long) -1; - return val; } -raise_overflow: - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to unsigned long"); - return (unsigned long) -1; +#if CYTHON_USE_PYLONG_INTERNALS raise_neg_overflow: - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to unsigned long"); - return (unsigned long) -1; + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_unsigned_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_unsigned_long(); +#endif +} +static unsigned long __Pyx_NonPyLong___Pyx_PyLong_As_unsigned_long(PyObject *x) { + unsigned long val; + PyObject *tmp = __Pyx_PyNumber_Long(x); + if (!tmp) return (unsigned long) -1; + val = __Pyx_PyLong_As_unsigned_long(tmp); + Py_DECREF(tmp); + return val; +} +static CYTHON_INLINE unsigned long __Pyx_PyLong_As_unsigned_long(PyObject *x) { + if (likely(PyLong_Check(x))) { + return __Pyx_PyLong___Pyx_PyLong_As_unsigned_long(x); + } else { + return __Pyx_NonPyLong___Pyx_PyLong_As_unsigned_long(x); + } } /* CIntToPy */ @@ -40276,35 +46121,185 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_int(int value) { little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; - PyObject *from_bytes, *result = NULL, *kwds = NULL; - PyObject *py_bytes = NULL, *order_str = NULL; - from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); - if (!from_bytes) return NULL; + PyObject *result = NULL, *kwds = NULL; + PyObject *py_bytes = NULL, *order_str = NULL, *from_bytes_str = NULL;; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int)); if (!py_bytes) goto limited_bad; + from_bytes_str = PyUnicode_FromStringAndSize("from_bytes", 10); + if (!from_bytes_str) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { - PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; + PyObject *args[] = { (PyObject*)&PyLong_Type, py_bytes, order_str, Py_True }; if (!is_unsigned) { - kwds = __Pyx_MakeVectorcallBuilderKwds(1); - if (!kwds) goto limited_bad; - if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; + PyObject *signed_str = PyUnicode_FromStringAndSize("signed", 6); + if (!signed_str) goto limited_bad; +#if CYTHON_VECTORCALL + kwds = PyTuple_Pack(1, signed_str); +#else + { + PyObject *keys[] = {signed_str}; + PyObject *values[] = {Py_True}; + kwds = __Pyx_MakeKwargDict(keys, values, 1); + } +#endif + Py_DECREF(signed_str); + if (unlikely(!kwds)) goto limited_bad; } - result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); + result = __Pyx_Object_VectorcallMethodKwds(from_bytes_str, args, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); - Py_XDECREF(from_bytes); + Py_XDECREF(from_bytes_str); return result; #endif } } /* CIntFromPy */ -static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { +static int __Pyx_LargePyLong___Pyx_PyLong_As_int(PyObject *x); +static int __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(void) { + const char* type_name = "int"; + PyErr_Format(PyExc_OverflowError, + "can't convert negative value to %.200s", type_name); + return (int) -1; +} +static int __Pyx_raise_overflow___Pyx_PyLong_As_int(void) { + const char* type_name = "int"; + PyErr_Format(PyExc_OverflowError, + "value too large to convert to %.200s", type_name); + return (int) -1; +} +static CYTHON_INLINE int __Pyx_PyULong___Pyx_PyLong_As_int(PyObject *x) { + const int is_unsigned = 1; +#if CYTHON_USE_PYLONG_INTERNALS + { + const digit* digits = __Pyx_PyLong_Digits(x); + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { + return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { + return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { + return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + {} + } +#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (int) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(int) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) + } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_int(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static CYTHON_INLINE int __Pyx_PySLong___Pyx_PyLong_As_int(PyObject *x) { + const int is_unsigned = 0; +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsNeg(x)) { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + long ival = - (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + long ival = - (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + long ival = - (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(int, long, ival) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) (((int) -1) * (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } else + {} + } else { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } else + {} + } +#endif + #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + if ((sizeof(int) <= sizeof(int)) && (sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, int, PyLong_AsInt(x)) + } else + #endif + if ((sizeof(int) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) + } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_int(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static int __Pyx_LargePyLong___Pyx_PyLong_As_int(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" @@ -40314,247 +46309,298 @@ static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; - if (unlikely(!PyLong_Check(x))) { - int val; - PyObject *tmp = __Pyx_PyNumber_Long(x); - if (!tmp) return (int) -1; - val = __Pyx_PyLong_As_int(tmp); - Py_DECREF(tmp); - return val; + int val; + int ret = -1; +#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API + Py_ssize_t bytes_copied = PyLong_AsNativeBytes( + x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); + if (unlikely(bytes_copied == -1)) { + } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { + goto raise_overflow; + } else { + ret = 0; + } +#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)x, + bytes, sizeof(val), + is_little, !is_unsigned); + if ((0)) goto raise_overflow; +#else + PyObject *v; + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (likely(PyLong_CheckExact(x))) { + v = __Pyx_NewRef(x); + } else { + v = PyNumber_Long(x); + if (unlikely(!v)) return (int) -1; + assert(PyLong_CheckExact(v)); + } + { + int result = PyObject_RichCompareBool(v, Py_False, Py_LT); + if (unlikely(result < 0)) { + Py_DECREF(v); + return (int) -1; + } + is_negative = result == 1; + } + if (is_unsigned && unlikely(is_negative)) { + Py_DECREF(v); + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to int"); + return (int) -1; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + Py_DECREF(v); + if (unlikely(!stepval)) + return (int) -1; + } else { + stepval = v; + } + v = NULL; + val = (int) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + long idigit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + val |= ((int) idigit) << bits; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + } + Py_DECREF(shift); shift = NULL; + Py_DECREF(mask); mask = NULL; + { + long idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((int) idigit) << bits; + } + if (!is_unsigned) { + if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; } + ret = 0; +done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + if (unlikely(ret)) + return (int) -1; + return val; +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); +} +static CYTHON_INLINE int __Pyx_PyLong___Pyx_PyLong_As_int(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const int neg_one = (int) -1, const_zero = (int) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; if (is_unsigned) { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_DigitCount(x)) { - case 2: - if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { - return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - case 3: - if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { - return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - case 4: - if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { - return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); - } - } - break; - } - } -#endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 - if (unlikely(Py_SIZE(x) < 0)) { - goto raise_neg_overflow; - } -#else + } else + #endif { - int result = PyObject_RichCompareBool(x, Py_False, Py_LT); - if (unlikely(result < 0)) - return (int) -1; - if (unlikely(result == 1)) - goto raise_neg_overflow; - } -#endif - if ((sizeof(int) <= sizeof(unsigned long))) { - __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) - } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + return __Pyx_PyULong___Pyx_PyLong_As_int(x); } } else { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_SignedDigitCount(x)) { - case -2: - if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 2: - if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case -3: - if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 3: - if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case -4: - if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { - return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - case 4: - if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { - return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); - } - } - break; - } + } else + #endif + { + return __Pyx_PySLong___Pyx_PyLong_As_int(x); } + } +#if CYTHON_USE_PYLONG_INTERNALS +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_int(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_int(); #endif - if ((sizeof(int) <= sizeof(long))) { - __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) - } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) - } +} +static int __Pyx_NonPyLong___Pyx_PyLong_As_int(PyObject *x) { + int val; + PyObject *tmp = __Pyx_PyNumber_Long(x); + if (!tmp) return (int) -1; + val = __Pyx_PyLong_As_int(tmp); + Py_DECREF(tmp); + return val; +} +static CYTHON_INLINE int __Pyx_PyLong_As_int(PyObject *x) { + if (likely(PyLong_Check(x))) { + return __Pyx_PyLong___Pyx_PyLong_As_int(x); + } else { + return __Pyx_NonPyLong___Pyx_PyLong_As_int(x); } +} + +/* CIntFromPy */ +static long __Pyx_LargePyLong___Pyx_PyLong_As_long(PyObject *x); +static long __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(void) { + const char* type_name = "long"; + PyErr_Format(PyExc_OverflowError, + "can't convert negative value to %.200s", type_name); + return (long) -1; +} +static long __Pyx_raise_overflow___Pyx_PyLong_As_long(void) { + const char* type_name = "long"; + PyErr_Format(PyExc_OverflowError, + "value too large to convert to %.200s", type_name); + return (long) -1; +} +static CYTHON_INLINE long __Pyx_PyULong___Pyx_PyLong_As_long(PyObject *x) { + const int is_unsigned = 1; +#if CYTHON_USE_PYLONG_INTERNALS { - int val; - int ret = -1; -#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API - Py_ssize_t bytes_copied = PyLong_AsNativeBytes( - x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); - if (unlikely(bytes_copied == -1)) { - } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { - goto raise_overflow; - } else { - ret = 0; - } -#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - ret = _PyLong_AsByteArray((PyLongObject *)x, - bytes, sizeof(val), - is_little, !is_unsigned); -#else - PyObject *v; - PyObject *stepval = NULL, *mask = NULL, *shift = NULL; - int bits, remaining_bits, is_negative = 0; - int chunk_size = (sizeof(long) < 8) ? 30 : 62; - if (likely(PyLong_CheckExact(x))) { - v = __Pyx_NewRef(x); - } else { - v = PyNumber_Long(x); - if (unlikely(!v)) return (int) -1; - assert(PyLong_CheckExact(v)); - } - { - int result = PyObject_RichCompareBool(v, Py_False, Py_LT); - if (unlikely(result < 0)) { - Py_DECREF(v); - return (int) -1; + const digit* digits = __Pyx_PyLong_Digits(x); + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { + return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); } - is_negative = result == 1; - } - if (is_unsigned && unlikely(is_negative)) { - Py_DECREF(v); + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { + return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { + return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + {} + } +#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (long) -1; + if (unlikely(result == 1)) goto raise_neg_overflow; - } else if (is_negative) { - stepval = PyNumber_Invert(v); - Py_DECREF(v); - if (unlikely(!stepval)) - return (int) -1; - } else { - stepval = v; - } - v = NULL; - val = (int) 0; - mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; - shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; - for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { - PyObject *tmp, *digit; - long idigit; - digit = PyNumber_And(stepval, mask); - if (unlikely(!digit)) goto done; - idigit = PyLong_AsLong(digit); - Py_DECREF(digit); - if (unlikely(idigit < 0)) goto done; - val |= ((int) idigit) << bits; - tmp = PyNumber_Rshift(stepval, shift); - if (unlikely(!tmp)) goto done; - Py_DECREF(stepval); stepval = tmp; - } - Py_DECREF(shift); shift = NULL; - Py_DECREF(mask); mask = NULL; - { - long idigit = PyLong_AsLong(stepval); - if (unlikely(idigit < 0)) goto done; - remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); - if (unlikely(idigit >= (1L << remaining_bits))) - goto raise_overflow; - val |= ((int) idigit) << bits; - } - if (!is_unsigned) { - if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) - goto raise_overflow; - if (is_negative) - val = ~val; - } - ret = 0; - done: - Py_XDECREF(shift); - Py_XDECREF(mask); - Py_XDECREF(stepval); + } #endif - if (unlikely(ret)) - return (int) -1; - return val; + if ((sizeof(long) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) + } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) } + return __Pyx_LargePyLong___Pyx_PyLong_As_long(x); +raise_neg_overflow: + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); raise_overflow: - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to int"); - return (int) -1; + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +} +static CYTHON_INLINE long __Pyx_PySLong___Pyx_PyLong_As_long(PyObject *x) { + const int is_unsigned = 0; +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsNeg(x)) { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + long ival = - (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + long ival = - (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + long ival = - (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + __PYX_VERIFY_RETURN_INT(long, long, ival) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) (((long) -1) * (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } else + {} + } else { + const Py_ssize_t size = __Pyx_PyLong_DigitCount(x); + const digit* digits = __Pyx_PyLong_Digits(x); + if (size == 2 && (8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 3 && (8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + if (size == 4 && (8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } else + {} + } +#endif + #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000 + if ((sizeof(long) <= sizeof(int)) && (sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, int, PyLong_AsInt(x)) + } else + #endif + if ((sizeof(long) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) + } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) + } + return __Pyx_LargePyLong___Pyx_PyLong_As_long(x); raise_neg_overflow: - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to int"); - return (int) -1; + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); } - -/* CIntFromPy */ -static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { +static long __Pyx_LargePyLong___Pyx_PyLong_As_long(PyObject *x) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wconversion" @@ -40564,243 +46610,154 @@ static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { #pragma GCC diagnostic pop #endif const int is_unsigned = neg_one > const_zero; - if (unlikely(!PyLong_Check(x))) { - long val; - PyObject *tmp = __Pyx_PyNumber_Long(x); - if (!tmp) return (long) -1; - val = __Pyx_PyLong_As_long(tmp); - Py_DECREF(tmp); - return val; + long val; + int ret = -1; +#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API + Py_ssize_t bytes_copied = PyLong_AsNativeBytes( + x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); + if (unlikely(bytes_copied == -1)) { + } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { + goto raise_overflow; + } else { + ret = 0; + } +#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)x, + bytes, sizeof(val), + is_little, !is_unsigned); + if ((0)) goto raise_overflow; +#else + PyObject *v; + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (likely(PyLong_CheckExact(x))) { + v = __Pyx_NewRef(x); + } else { + v = PyNumber_Long(x); + if (unlikely(!v)) return (long) -1; + assert(PyLong_CheckExact(v)); + } + { + int result = PyObject_RichCompareBool(v, Py_False, Py_LT); + if (unlikely(result < 0)) { + Py_DECREF(v); + return (long) -1; + } + is_negative = result == 1; + } + if (is_unsigned && unlikely(is_negative)) { + Py_DECREF(v); + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to long"); + return (long) -1; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + Py_DECREF(v); + if (unlikely(!stepval)) + return (long) -1; + } else { + stepval = v; + } + v = NULL; + val = (long) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + long idigit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + val |= ((long) idigit) << bits; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + } + Py_DECREF(shift); shift = NULL; + Py_DECREF(mask); mask = NULL; + { + long idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((long) idigit) << bits; + } + if (!is_unsigned) { + if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; } + ret = 0; +done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + if (unlikely(ret)) + return (long) -1; + return val; +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +} +static CYTHON_INLINE long __Pyx_PyLong___Pyx_PyLong_As_long(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const long neg_one = (long) -1, const_zero = (long) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; if (is_unsigned) { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (unlikely(__Pyx_PyLong_IsNeg(x))) { goto raise_neg_overflow; } else if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_DigitCount(x)) { - case 2: - if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { - return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - case 3: - if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { - return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - case 4: - if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { - return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); - } - } - break; - } - } -#endif -#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 - if (unlikely(Py_SIZE(x) < 0)) { - goto raise_neg_overflow; - } -#else + } else + #endif { - int result = PyObject_RichCompareBool(x, Py_False, Py_LT); - if (unlikely(result < 0)) - return (long) -1; - if (unlikely(result == 1)) - goto raise_neg_overflow; - } -#endif - if ((sizeof(long) <= sizeof(unsigned long))) { - __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) - } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) + return __Pyx_PyULong___Pyx_PyLong_As_long(x); } } else { -#if CYTHON_USE_PYLONG_INTERNALS + #if CYTHON_USE_PYLONG_INTERNALS if (__Pyx_PyLong_IsCompact(x)) { __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) - } else { - const digit* digits = __Pyx_PyLong_Digits(x); - assert(__Pyx_PyLong_DigitCount(x) > 1); - switch (__Pyx_PyLong_SignedDigitCount(x)) { - case -2: - if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 2: - if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case -3: - if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 3: - if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case -4: - if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { - return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - case 4: - if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { - if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { - __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) - } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { - return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); - } - } - break; - } - } -#endif - if ((sizeof(long) <= sizeof(long))) { - __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) - } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { - __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) - } - } - { - long val; - int ret = -1; -#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API - Py_ssize_t bytes_copied = PyLong_AsNativeBytes( - x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0)); - if (unlikely(bytes_copied == -1)) { - } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) { - goto raise_overflow; - } else { - ret = 0; - } -#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) - int one = 1; int is_little = (int)*(unsigned char *)&one; - unsigned char *bytes = (unsigned char *)&val; - ret = _PyLong_AsByteArray((PyLongObject *)x, - bytes, sizeof(val), - is_little, !is_unsigned); -#else - PyObject *v; - PyObject *stepval = NULL, *mask = NULL, *shift = NULL; - int bits, remaining_bits, is_negative = 0; - int chunk_size = (sizeof(long) < 8) ? 30 : 62; - if (likely(PyLong_CheckExact(x))) { - v = __Pyx_NewRef(x); - } else { - v = PyNumber_Long(x); - if (unlikely(!v)) return (long) -1; - assert(PyLong_CheckExact(v)); - } - { - int result = PyObject_RichCompareBool(v, Py_False, Py_LT); - if (unlikely(result < 0)) { - Py_DECREF(v); - return (long) -1; - } - is_negative = result == 1; - } - if (is_unsigned && unlikely(is_negative)) { - Py_DECREF(v); - goto raise_neg_overflow; - } else if (is_negative) { - stepval = PyNumber_Invert(v); - Py_DECREF(v); - if (unlikely(!stepval)) - return (long) -1; - } else { - stepval = v; - } - v = NULL; - val = (long) 0; - mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; - shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; - for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { - PyObject *tmp, *digit; - long idigit; - digit = PyNumber_And(stepval, mask); - if (unlikely(!digit)) goto done; - idigit = PyLong_AsLong(digit); - Py_DECREF(digit); - if (unlikely(idigit < 0)) goto done; - val |= ((long) idigit) << bits; - tmp = PyNumber_Rshift(stepval, shift); - if (unlikely(!tmp)) goto done; - Py_DECREF(stepval); stepval = tmp; - } - Py_DECREF(shift); shift = NULL; - Py_DECREF(mask); mask = NULL; + } else + #endif { - long idigit = PyLong_AsLong(stepval); - if (unlikely(idigit < 0)) goto done; - remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); - if (unlikely(idigit >= (1L << remaining_bits))) - goto raise_overflow; - val |= ((long) idigit) << bits; - } - if (!is_unsigned) { - if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) - goto raise_overflow; - if (is_negative) - val = ~val; + return __Pyx_PySLong___Pyx_PyLong_As_long(x); } - ret = 0; - done: - Py_XDECREF(shift); - Py_XDECREF(mask); - Py_XDECREF(stepval); -#endif - if (unlikely(ret)) - return (long) -1; - return val; } -raise_overflow: - PyErr_SetString(PyExc_OverflowError, - "value too large to convert to long"); - return (long) -1; +#if CYTHON_USE_PYLONG_INTERNALS raise_neg_overflow: - PyErr_SetString(PyExc_OverflowError, - "can't convert negative value to long"); - return (long) -1; + return __Pyx_raise_neg_overflow___Pyx_PyLong_As_long(); +raise_overflow: + return __Pyx_raise_overflow___Pyx_PyLong_As_long(); +#endif +} +static long __Pyx_NonPyLong___Pyx_PyLong_As_long(PyObject *x) { + long val; + PyObject *tmp = __Pyx_PyNumber_Long(x); + if (!tmp) return (long) -1; + val = __Pyx_PyLong_As_long(tmp); + Py_DECREF(tmp); + return val; +} +static CYTHON_INLINE long __Pyx_PyLong_As_long(PyObject *x) { + if (likely(PyLong_Check(x))) { + return __Pyx_PyLong___Pyx_PyLong_As_long(x); + } else { + return __Pyx_NonPyLong___Pyx_PyLong_As_long(x); + } } /* CIntToPy */ @@ -40845,60 +46802,43 @@ static CYTHON_INLINE PyObject* __Pyx_PyLong_From_long(long value) { little, !is_unsigned); #else int one = 1; int little = (int)*(unsigned char *)&one; - PyObject *from_bytes, *result = NULL, *kwds = NULL; - PyObject *py_bytes = NULL, *order_str = NULL; - from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); - if (!from_bytes) return NULL; + PyObject *result = NULL, *kwds = NULL; + PyObject *py_bytes = NULL, *order_str = NULL, *from_bytes_str = NULL;; py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long)); if (!py_bytes) goto limited_bad; + from_bytes_str = PyUnicode_FromStringAndSize("from_bytes", 10); + if (!from_bytes_str) goto limited_bad; order_str = PyUnicode_FromString(little ? "little" : "big"); if (!order_str) goto limited_bad; { - PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str }; + PyObject *args[] = { (PyObject*)&PyLong_Type, py_bytes, order_str, Py_True }; if (!is_unsigned) { - kwds = __Pyx_MakeVectorcallBuilderKwds(1); - if (!kwds) goto limited_bad; - if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad; + PyObject *signed_str = PyUnicode_FromStringAndSize("signed", 6); + if (!signed_str) goto limited_bad; +#if CYTHON_VECTORCALL + kwds = PyTuple_Pack(1, signed_str); +#else + { + PyObject *keys[] = {signed_str}; + PyObject *values[] = {Py_True}; + kwds = __Pyx_MakeKwargDict(keys, values, 1); + } +#endif + Py_DECREF(signed_str); + if (unlikely(!kwds)) goto limited_bad; } - result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); + result = __Pyx_Object_VectorcallMethodKwds(from_bytes_str, args, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds); } limited_bad: Py_XDECREF(kwds); Py_XDECREF(order_str); Py_XDECREF(py_bytes); - Py_XDECREF(from_bytes); + Py_XDECREF(from_bytes_str); return result; #endif } } -/* PyObjectCallMethod1 */ -#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))) -static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) { - PyObject *result = __Pyx_PyObject_CallOneArg(method, arg); - Py_DECREF(method); - return result; -} -#endif -static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) { -#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)) - PyObject *args[2] = {obj, arg}; - (void) __Pyx_PyObject_CallOneArg; - (void) __Pyx_PyObject_Call2Args; - return PyObject_VectorcallMethod(method_name, args, 2 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL); -#else - PyObject *method = NULL, *result; - int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); - if (likely(is_method)) { - result = __Pyx_PyObject_Call2Args(method, obj, arg); - Py_DECREF(method); - return result; - } - if (unlikely(!method)) return NULL; - return __Pyx__PyObject_CallMethod1(method, arg); -#endif -} - /* UpdateUnpickledDict */ static int __Pyx__UpdateUnpickledDict(PyObject *obj, PyObject *state, Py_ssize_t index) { PyObject *state_dict = __Pyx_PySequence_ITEM(state, index); @@ -40949,131 +46889,17 @@ static int __Pyx_UpdateUnpickledDict(PyObject *obj, PyObject *state, Py_ssize_t return __Pyx__UpdateUnpickledDict(obj, state, index); } -/* FormatTypeName */ -#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 -static __Pyx_TypeName -__Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp) -{ - PyObject *module = NULL, *name = NULL, *result = NULL; - #if __PYX_LIMITED_VERSION_HEX < 0x030b0000 - name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, - __pyx_mstate_global->__pyx_n_u_qualname); - #else - name = PyType_GetQualName(tp); - #endif - if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad; - module = __Pyx_PyObject_GetAttrStr((PyObject *)tp, - __pyx_mstate_global->__pyx_n_u_module_2); - if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad; - if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) { - result = name; - name = NULL; - goto done; - } - result = PyUnicode_FromFormat("%U.%U", module, name); - if (unlikely(result == NULL)) goto bad; - done: - Py_XDECREF(name); - Py_XDECREF(module); - return result; - bad: - PyErr_Clear(); - if (name) { - result = name; - name = NULL; - } else { - result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u__5); - } - goto done; -} -#endif - -/* FastTypeChecks */ -#if CYTHON_COMPILING_IN_CPYTHON -static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) { - while (a) { - a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*); - if (a == b) - return 1; - } - return b == &PyBaseObject_Type; -} -static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) { - PyObject *mro; - if (a == b) return 1; - mro = a->tp_mro; - if (likely(mro)) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(mro); - for (i = 0; i < n; i++) { - if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) - return 1; - } - return 0; - } - return __Pyx_InBases(a, b); -} -static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { - PyObject *mro; - if (cls == a || cls == b) return 1; - mro = cls->tp_mro; - if (likely(mro)) { - Py_ssize_t i, n; - n = PyTuple_GET_SIZE(mro); - for (i = 0; i < n; i++) { - PyObject *base = PyTuple_GET_ITEM(mro, i); - if (base == (PyObject *)a || base == (PyObject *)b) - return 1; - } +/* CheckUnpickleChecksum */ +static int __Pyx_CheckUnpickleChecksum(long checksum, long checksum1, long checksum2, long checksum3, const char *members) { + int found = 0; + found |= checksum1 == checksum; + found |= checksum2 == checksum; + found |= checksum3 == checksum; + if (likely(found)) return 0; - } - return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); -} -static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { - if (exc_type1) { - return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); - } else { - return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); - } -} -static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { - Py_ssize_t i, n; - assert(PyExceptionClass_Check(exc_type)); - n = PyTuple_GET_SIZE(tuple); - for (i=0; i= 0x030b0000 minor_version = 11; #else @@ -41157,11 +46981,7 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt #endif if (!(types_module = PyImport_ImportModule("types"))) goto end; if (!(code_type = PyObject_GetAttrString(types_module, "CodeType"))) goto end; - if (minor_version <= 7) { - (void)p; - result = PyObject_CallFunction(code_type, "iiiiiOOOOOOiOOO", a, k, l, s, f, code, - c, n, v, fn, name, fline, lnos, fv, cell); - } else if (minor_version <= 10) { + if (minor_version <= 10) { result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOiOOO", a,p, k, l, s, f, code, c, n, v, fn, name, fline, lnos, fv, cell); } else { @@ -41173,8 +46993,19 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt Py_XDECREF(code_type); Py_XDECREF(exception_table); Py_XDECREF(types_module); - if (type) { - PyErr_Restore(type, value, traceback); + if (!result) { + PyObject *exc_type, *exc_value, *exc_tb; + PyErr_Fetch(&exc_type, &exc_value, &exc_tb); + if (PyErr_WarnFormat( + PyExc_RuntimeWarning, 1, + "Code object creation failed in Cython module: %S\nTry recompiling with a more recent version of Cython.", + exc_value ? exc_value : exc_type) == 0) { + result = Py_None; + Py_INCREF(result); + } + Py_DECREF(exc_type); + Py_XDECREF(exc_value); + Py_XDECREF(exc_tb); } return result; } @@ -41273,7 +47104,14 @@ static PyObject* __Pyx_PyCode_New( } /* DecompressString */ -static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo) { +CYTHON_UNUSED +static CYTHON_SMALL_CODE PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo) { +#ifdef __Pyx_DecompressString_UNUSED + CYTHON_UNUSED_VAR(s); + CYTHON_UNUSED_VAR(length); + CYTHON_UNUSED_VAR(algo); + return NULL; +#else PyObject *module = NULL, *decompress, *compressed_bytes, *decompressed; const char* module_name = algo == 3 ? "compression.zstd" : algo == 2 ? "bz2" : "zlib"; PyObject *methodname = PyUnicode_FromString("decompress"); @@ -41334,6 +47172,66 @@ static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int al Py_XDECREF(module); Py_DECREF(methodname); return NULL; +#endif +} + +/* DecompressString_LZSS */ +#ifndef __Pyx_DecompressString_LZSS_UNUSED +CYTHON_UNUSED +static CYTHON_SMALL_CODE size_t __pyx_lzss_decompress(const uint8_t* src, uint8_t* dst, size_t dst_len) { + size_t pos = 0, out_pos = 0; + while (1) { + uint32_t flags = src[pos++] | 0xFF00; + while (flags & 0x100) { + if (flags & 1) { + dst[out_pos++] = src[pos++]; + } else { + uint32_t lo = src[pos++], hi = src[pos++]; + uint32_t end_offset_of_last_occurrence, match_length; + if (!(lo & 0x80)) { + end_offset_of_last_occurrence = lo; + match_length = hi; + } else if (!(hi & 0x80)) { + end_offset_of_last_occurrence = 0x80 + (((hi << 2) & 0x180) | (lo & 0x7F)); + match_length = hi & 0x1F; + } else { + end_offset_of_last_occurrence = 0x80 + ((hi & 0x7F) << 7 | (lo & 0x7F)); + match_length = src[pos++]; + } + match_length += 3; + size_t ref_pos = out_pos - end_offset_of_last_occurrence - match_length; + memcpy(dst + out_pos, dst + ref_pos, match_length); + out_pos += match_length; + } + if (out_pos >= dst_len) return pos; + flags >>= 1; + } + } +} +#endif +static CYTHON_SMALL_CODE PyObject *__Pyx_DecompressString_LZSS(const char *s, size_t compressed_length, size_t uncompressed_length) { +#ifdef __Pyx_DecompressString_LZSS_UNUSED + CYTHON_UNUSED_VAR(s); + CYTHON_UNUSED_VAR(compressed_length); + CYTHON_UNUSED_VAR(uncompressed_length); + return NULL; +#else + PyObject *result; + unsigned char *result_data; + size_t src_length; + result = PyBytes_FromStringAndSize(NULL, (Py_ssize_t) uncompressed_length); + if (unlikely(!result)) return NULL; + result_data = __Pyx_PyBytes_AsWritableUString(result); + if (unlikely(!result_data)) goto bad; + src_length = __pyx_lzss_decompress((const uint8_t*) s, result_data, uncompressed_length); + if (unlikely(src_length != compressed_length)) goto decompression_failed; + return result; +decompression_failed: + PyErr_SetString(PyExc_RuntimeError, "LZSS string data decompression failed"); +bad: + Py_DECREF(result); + return NULL; +#endif } #include @@ -41437,6 +47335,9 @@ static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) { } static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { __Pyx_TypeName result_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(result)); + #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000 + if (unlikely(!result_type_name)) goto bad; + #endif if (PyLong_Check(result)) { if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1, "__int__ returned non-int (type " __Pyx_FMT_TYPENAME "). " @@ -41444,8 +47345,7 @@ static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { "and may be removed in a future version of Python.", result_type_name)) { __Pyx_DECREF_TypeName(result_type_name); - Py_DECREF(result); - return NULL; + goto bad; } __Pyx_DECREF_TypeName(result_type_name); return result; @@ -41454,6 +47354,7 @@ static PyObject* __Pyx_PyNumber_LongWrongResultType(PyObject* result) { "__int__ returned non-int (type " __Pyx_FMT_TYPENAME ")", result_type_name); __Pyx_DECREF_TypeName(result_type_name); +bad: Py_DECREF(result); return NULL; } @@ -41485,57 +47386,50 @@ static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x) { } return res; } -static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { - Py_ssize_t ival; - PyObject *x; - if (likely(PyLong_CheckExact(b))) { +static CYTHON_INLINE Py_ssize_t __Pyx_PyLong_AsSsize_t(PyObject* b) { #if CYTHON_USE_PYLONG_INTERNALS - if (likely(__Pyx_PyLong_IsCompact(b))) { - return __Pyx_PyLong_CompactValue(b); - } else { - const digit* digits = __Pyx_PyLong_Digits(b); - const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(b); - switch (size) { - case 2: - if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { - return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -2: - if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case 3: - if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { - return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -3: - if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case 4: - if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { - return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - case -4: - if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { - return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); - } - break; - } - } + Py_ssize_t ival; + const Py_ssize_t size = __Pyx_PyLong_DigitCount(b); + const int is_neg = __Pyx_PyLong_IsNeg(b); + const digit* digits = __Pyx_PyLong_Digits(b); + if (size == 0) return 0; + #if SIZEOF_SIZE_T * 8 > 1 * PyLong_SHIFT + if (size == 1) { + ival = (Py_ssize_t) (((size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 2 * PyLong_SHIFT + if (size == 2) { + ival = (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 3 * PyLong_SHIFT + if (size == 3) { + ival = (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else + #endif + #if SIZEOF_SIZE_T * 8 > 4 * PyLong_SHIFT + if (size == 4) { + ival = (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } else #endif + return PyLong_AsSsize_t(b); + return is_neg ? -ival : ival; + #else return PyLong_AsSsize_t(b); - } - x = PyNumber_Index(b); - if (!x) return -1; - ival = PyLong_AsSsize_t(x); - Py_DECREF(x); - return ival; + #endif +} +static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { + if (likely(PyLong_Check(b))) { + return __Pyx_PyLong_AsSsize_t(b); + } else { + Py_ssize_t ival; + PyObject *x = PyNumber_Index(b); + if (unlikely(!x)) return -1; + ival = __Pyx_PyLong_AsSsize_t(x); + Py_DECREF(x); + return ival; + } } static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) { if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) { @@ -41625,10 +47519,10 @@ typedef struct { } __Pyx_ModuleStateLookupData; #define __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE 32 #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE -static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter = 0; +static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter ; #endif #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE -static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data = 0; +static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data ; #else static __Pyx_ModuleStateLookupData* __Pyx_ModuleStateLookup_data = NULL; #endif @@ -41658,7 +47552,7 @@ static __Pyx_InterpreterIdAndModule* __Pyx_State_FindModuleStateLookupTableLower return begin; } static PyObject *__Pyx_State_FindModule(CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return NULL; #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE __Pyx_ModuleStateLookupData* data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data); @@ -41756,7 +47650,7 @@ static void __Pyx_State_ConvertFromInterpIdAsIndex(__Pyx_ModuleStateLookupData * data->interpreter_id_as_index = 0; } static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return -1; int result = 0; __Pyx_ModuleStateLookup_Lock(); @@ -41834,7 +47728,7 @@ static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) { return result; } static int __Pyx_State_RemoveModule(CYTHON_UNUSED void* dummy) { - int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get()); + int64_t interpreter_id = PyInterpreterState_GetID(PyInterpreterState_Get()); if (interpreter_id == -1) return -1; __Pyx_ModuleStateLookup_Lock(); #if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE diff --git a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx index 3fef8cf5..05f07d22 100644 --- a/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx +++ b/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx @@ -188,6 +188,12 @@ cdef _get_unhandled_exception_frame(exc, int depth): # def _get_unhandled_exception_frame(exc, depth: int) -> Optional[FrameType]: # ENDIF # fmt: on + try: + if _thread_local_info.f_reported_unhandled_exc_tag is exc: + return None + except AttributeError: + pass + try: # Unhandled frame has to be from the same exception. if _thread_local_info.f_unhandled_exc is exc: @@ -942,6 +948,9 @@ cdef _unwind_event(code, instruction, exc): break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions if break_on_uncaught_exceptions: if frame is _get_unhandled_exception_frame(exc, 1): + _thread_local_info.f_reported_unhandled_exc_tag = _thread_local_info.f_unhandled_exc + del _thread_local_info.f_unhandled_exc + del _thread_local_info.f_unhandled_frame stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) return