Skip to content

Commit 7ffc0f1

Browse files
authored
Merge pull request #352 from TTsangSC/restore-cython-compat
FIX: restore Cython compatibility + pivot to `sys.monitoring`
2 parents cd09484 + 97ecd5c commit 7ffc0f1

15 files changed

Lines changed: 529 additions & 126 deletions

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Changes
2424
* On-import profiling is now more aggressive so that it doesn't miss entities
2525
like class methods and properties
2626
* ``LineProfiler`` can now be used as a class decorator
27+
* FIX: Fixed line tracing for Cython code; superseded use of the legacy tracing system with ``sys.monitoring``
2728

2829
4.2.0
2930
~~~~~

docs/source/auto/line_profiler.unset_trace.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

line_profiler/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ add_cython_target(${module_name} "${cython_source}" C OUTPUT_VAR sources)
99

1010
# Add any other non-cython dependencies to the sources
1111
list(APPEND sources
12-
"${CMAKE_CURRENT_SOURCE_DIR}/unset_trace.c"
1312
"${CMAKE_CURRENT_SOURCE_DIR}/timers.c"
1413
)
1514
message(STATUS "[OURS] sources = ${sources}")

0 commit comments

Comments
 (0)