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
_ThreadState
- Renamed from `ThreadState`
- Made `._wrap_trace` unaccessible on the Python level
LineProfiler
wrap_trace.__set__()
Now syncing between `_ThreadState`s in `._all_thread_states`
_thread_state.__get__()
If another thread is already initialized, get the
`wrap_trace` therefrom
tests/test_sys_trace.py
New test module (mostly cherry-picked from before we merged pyutils#347):
- `test_callback_preservation()`
- `test_callback_wrapping()`
- `test_wrapping_throwing_callback()`
- `test_wrapping_line_event_disabling_callback()`
- `test_wrapping_thread_local_callbacks()`
0 commit comments