Releases: ionelmc/python-hunter
Releases · ionelmc/python-hunter
v3.3.2
v3.3.1
v3.3.0
- Fixed handling so that
hunter.event.Event.moduleis always the"?"string instead ofNone. Previously it wasNonewhen tracing particularly broken code and broke various predicates. - Similarly
hunter.event.Event.filenameis 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.CallPrinterso 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.moduleis 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.StackPrinteraction. - Implemented the
hunter.predicates.Backlogpredicate. 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_GetAttrcalls in the Cython implementation ofhunter.predicates.Backlog. - Implemented the
hunter.actions.ErrorSnooperaction. - Added support for profiling mode (eg:
trace(profile=True)). This mode will usesetprofileinstead ofsettrace. - Added ARM64 wheels and CI.
- Added
hunter.event.Event.instructionandhunter.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_configand fixed issues with configuration being loaded too late from thePYTHONHUNTERCONFIGenvironment variable. - Changed
hunter.Fromhelper to automatically movedepthandcallsfilters to the predicate (so they filter afterhunter.predicates.Fromactivates). - Changed
hunter.predicates.Fromto pass a copy of event to the predicate. The copy will have thedepthandcallsattributes adjusted to the point wherehunter.predicates.Fromactivated. - 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_objectandhunter.event.Event.arg). - Improved docstrings in various and added a configuration doc section.
- Improved testing (more coverage).