Skip to content

Releases: ionelmc/python-hunter

v3.3.2

08 May 16:59
Compare
Choose a tag to compare
  • 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

08 May 16:58
Compare
Choose a tag to compare
  • Fixed CI/test issues that prevented all of 21 wheels being published.

v3.3.0

08 May 16:58
Compare
Choose a tag to compare
  • 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

08 May 16:57
Compare
Choose a tag to compare
  • 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

08 May 16:57
Compare
Choose a tag to compare
  • 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

08 May 16:57
Compare
Choose a tag to compare
  • 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

08 May 16:56
Compare
Choose a tag to compare
  • Improved again the stdlib check to handle certain paths better.

v3.1.2

08 May 16:56
Compare
Choose a tag to compare
  • Really fixed the <frozen importlib.something stdlib check.

v3.1.1

08 May 16:56
Compare
Choose a tag to compare
  • Marked all the <frozen importlib.something files as part of stdlib.

v3.1.0

08 May 16:54
Compare
Choose a tag to compare
  • 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).