Python Hunter Versions Save

Hunter is a flexible code tracing toolkit.

v3.3.2

3 years ago
  • Changed CI to build Python 3.9 wheels. Python 3.5 no longer tested and wheels no longer built to keep things simple.
  • Documentation improvements.

v3.3.1

3 years ago
  • Fixed CI/test issues that prevented all of 21 wheels being published.

v3.3.0

3 years ago
  • Fixed handling so that hunter.event.Event.module is always the "?" string instead of None. Previously it was None 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

3 years ago
  • Fixed oversight over what value is in hunter.event.Event.builtin. Now it's always a boolean, and can be used consistently in filters (eg: builtin=True,function='getattr').

v3.2.1

3 years ago
  • Added support for regex, date and datetime in safe_repr.
  • Fixed call argument display when positional and keyword arguments are used in hunter.actions.CallPrinter.

v3.2.0

3 years ago
  • 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 of hunter.predicates.Backlog.
  • Implemented the hunter.actions.ErrorSnooper action.
  • Added support for profiling mode (eg: trace(profile=True)). This mode will use setprofile instead of settrace.
  • Added ARM64 wheels and CI.
  • Added hunter.event.Event.instruction and hunter.event.Event.builtin (usable in profile mode).
  • Added more cookbook entries.

v3.1.3

3 years ago
  • Improved again the stdlib check to handle certain paths better.

v3.1.2

3 years ago
  • Really fixed the <frozen importlib.something stdlib check.

v3.1.1

3 years ago
  • Marked all the <frozen importlib.something files as part of stdlib.

v3.1.0

3 years ago
  • Added hunter.actions.ErrorSnooper - an action that detects silenced exceptions.
  • Added hunter.load_config and fixed issues with configuration being loaded too late from the PYTHONHUNTERCONFIG environment variable.
  • Changed hunter.From helper to automatically move depth and calls filters to the predicate (so they filter after hunter.predicates.From activates).
  • Changed hunter.predicates.From to pass a copy of event to the predicate. The copy will have the depth and calls attributes adjusted to the point where hunter.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 and hunter.event.Event.arg).
  • Improved docstrings in various and added a configuration doc section.
  • Improved testing (more coverage).