Skip to content

Releases: ionelmc/python-hunter

v2.0.1

08 May 16:50
Compare
Choose a tag to compare
  • Now Py_AddPendingCall is used instead of acquiring the GIL (when using GDB).

v2.0.0

08 May 16:50
Compare
Choose a tag to compare
  • Added the hunter.event.Event.count and hunter.event.Event.calls attributes.
  • Added the lt/lte/gt/gte lookups.
  • Added convenience aliases for startswith (sw), endswith (ew), contains (has) and regex (rx).
  • Added a convenience hunter.wrap decorator to start tracing around a function.
  • Added support for remote tracing (with two backends: manhole and GDB) via the hunter-trace bin. Note: Windows is NOT SUPPORTED.
  • Changed the default action to hunter.actions.CallPrinter. You'll need to use action=CodePrinter if you want the old output.

v1.4.1

08 May 16:46
Compare
Choose a tag to compare
  • Fix support for getting sources for Cython module (it was broken on Windows and Python3.5+).

v1.4.0

08 May 16:46
Compare
Choose a tag to compare
  • Added support for tracing Cython modules (#30). A # cython: linetrace=True stanza or equivalent is required in Cython modules for this to work.

v1.3.0

08 May 16:45
Compare
Choose a tag to compare
  • Added hunter.event.Event.thread.
  • Added hunter.event.Event.threadid and hunter.event.Event.threadname (available for filtering with hunter.Q).
  • Added hunter.event.Event.threading_support argument to hunter.trace. It makes new threads be traced and changes action output to include thread name.
  • Added support for using pdb++ in the hunter.actions.Debugger action.
  • Added support for using manhole via a new hunter.actions.Manhole action.
  • Made the hunter.event.Event.handler a public but readonly property.

v1.2.2

08 May 16:43
Compare
Choose a tag to compare
  • Fix broken import. Require fields>=4.0.
  • Simplify a string check in Cython code.

v1.2.1

08 May 16:42
Compare
Choose a tag to compare
  • Fix "KeyError: 'normal'" bug in hunter.actions.CallPrinter. Create the NO_COLORS dict from the COLOR dicts. Some keys were missing.

v1.2.0

08 May 16:42
Compare
Choose a tag to compare
  • Fixed printouts of objects that return very large string in __repr__(). Trimmed to 512. Configurable in actions with the repr_limit option.
  • Improved validation of hunter.actions.VarsPrinter's initializer.
  • Added a hunter.actions.CallPrinter action.

v1.1.0

08 May 16:42
Compare
Choose a tag to compare
  • Implemented a destructor (__dealloc__) for the Cython tracer.
  • Improved the restoring of the previous tracer in the Cython tracer (use PyEval_SetTrace) directly.
  • Removed tracer as an allowed filtering argument in hunter.Query.
  • Add basic validation (must be callable) for positional arguments and actions passed into hunter.Q. Closes #23.
  • Fixed stdlib checks (wasn't very reliable). Closes #24.

v1.0.2

08 May 16:41
Compare
Choose a tag to compare
  • Fixed missing import in setup.py.