You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
line_profiler/_line_profiler.pyx
_patch_events()
New helper function (w/doctest) for patching
`_SysMonitoringState.events`
_SysMonitoringState.call_callback()
Fixed bug where LINE, PY_RETURN, and PY_YIELD events become
enabled after `.deregister()`-ing, regardless of whether they
are enabled when `.register()`-ing
tests/test_sys_monitoring.py
SysMonHelper.get_current_callback()
New helper method
disable_line_events()
Fixed bug where local line events are enabled instead of
disabled
test_standalone_callback_usage()
test_wrapping_trace()
Added checks for the restoration of the callback after profiling
test_callback_switching()
New test combining `test_standalone_callback_switching()` and
`test_wrapping_switching_callback()`
test_callback_update_global_events()
New test for callbacks which call `sys.monitoring.set_events()`
test_callback_toggle_local_events()
New test for callbacks which return `sys.monitoring.DISABLE` and
call `sys.monitoring.restart_events()`
0 commit comments