Releases: ionelmc/python-hunter
Releases · ionelmc/python-hunter
v3.3.2
v3.3.1
v3.3.0
- Fixed handling so that
hunter.event.Event.module
is always the"?"
string instead ofNone
. Previously it wasNone
when tracing particularly broken code and broke various predicates. - Similarly
hunter.event.Event.filename
is now"?"
if there's no filename available. - Building on the previous changes the actions have simpler code for displaying missing module/filenames.
- Changed
hunter.actions.CallPrinter
so that trace events for builtin functions are displayed differently. These events appear when using profile mode (eg:trace(profile=True)
). - Fixed failure that could occur if
hunter.event.Event.module
is an unicode string. Now it's always a regular string. Only applies to Python 2. - Fixed argument display when tracing functions with tuple arguments. Closes #88. Only applies to Python 2.
- Improved error reporting when internal failures occur. Now some details about the triggering event are logged.
v3.2.2
v3.2.1
v3.2.0
- Implemented the
hunter.actions.StackPrinter
action. - Implemented the
hunter.predicates.Backlog
predicate. Contributed by Dan Ailenei in #81. - Improved contributing section in docs a bit. Contributed by Tom Schraitle in #85.
- Improved filtering performance by avoiding a lot of unnecessary
PyObject_GetAttr
calls in the Cython implementation ofhunter.predicates.Backlog
. - Implemented the
hunter.actions.ErrorSnooper
action. - Added support for profiling mode (eg:
trace(profile=True)
). This mode will usesetprofile
instead ofsettrace
. - Added ARM64 wheels and CI.
- Added
hunter.event.Event.instruction
andhunter.event.Event.builtin
(usable in profile mode). - Added more cookbook entries.
v3.1.3
v3.1.2
v3.1.1
v3.1.0
- Added
hunter.actions.ErrorSnooper
- an action that detects silenced exceptions. - Added
hunter.load_config
and fixed issues with configuration being loaded too late from thePYTHONHUNTERCONFIG
environment variable. - Changed
hunter.From
helper to automatically movedepth
andcalls
filters to the predicate (so they filter afterhunter.predicates.From
activates). - Changed
hunter.predicates.From
to pass a copy of event to the predicate. The copy will have thedepth
andcalls
attributes adjusted to the point wherehunter.predicates.From
activated. - Fixed a bunch of inconsistencies and bugs when using
&
and|
operators with predicates. - Fixed a bunch of broken fields on detached events from
hunter.event.Event.detach
(hunter.event.Event.function_object
andhunter.event.Event.arg
). - Improved docstrings in various and added a configuration doc section.
- Improved testing (more coverage).