Releases: ionelmc/python-hunter
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
-
The package now uses setuptools-scm for development builds (available at https://test.pypi.org/project/hunter/). As a consequence installing the sdist will download setuptools-scm.
-
Recompiled cython modules with latest Cython. Hunter can be installed without any Cython, as before.
-
Refactored some of the cython modules to have more typing information and not use deprecated property syntax.
-
Replaced
unsafe_repr
option withrepr_func
. Now you can use your custom repr function in the builtin actions. BACKWARDS INCOMPATIBLE -
Fixed buggy filename handling when using Hunter in ipython/jupyter. Source code should be properly displayed now.
-
Removed
globals
option fromVarsPrinter
action. Globals are now always looked up. BACKWARDS INCOMPATIBLE -
Added support for locals in
VarsPrinter
action. Now you can doVarsPrinter('len(foobar)')
. -
Always pass module_globals dict to linecache methods. Source code from PEP-302 loaders is now printed properly. Contributed by Mikhail Borisov in #65.
-
Various code cleanup, style and docstring fixing.
-
Added
hunter.From
helper to allow passing in filters directly as keyword arguments. -
Added
hunter.event.Event.detach
for storing events without leaks or side-effects (due to prolonged references to Frame objects, local or global variables). -
Refactored the internals of actions for easier subclassing.
Added the
filename_prefix
,output
,pid_prefix
,thread_prefix
,try_repr
andtry_source
methods to thehunter.actions.ColorStreamAction
baseclass. -
Added
hunter.actions.VarsSnooper
- a PySnooper-inspired variant ofhunter.actions.VarsPrinter
. It will record and show variable changes, with the risk of leaking or using too much memory of course :) -
Fixed tracers to log error and automatically stop if there's an internal failure. Previously error may have been silently dropped in some situations.
v2.2.1
v2.2.0
- Added
hunter.predicates.From
predicate for tracing from a specific point. It stop after returning back to the same call depth with a configurable offset. - Fixed
PYTHONHUNTERCONFIG
not working in some situations (config values were resolved at the wrong time). - Made tests in CI test the wheel that will eventually be published to PyPI (tox-wheel).
- Made
event.stdlib
more reliable:pkg_resources
is considered part of stdlib and few more paths will be considered as stdlib. - Dumbed down the
get_peercred
check that is done when attaching withhunter-trace
CLI (viahunter.remote.install()
). It will be slightly insecure but will work on OSX. - Added OSX in the Travis test grid.
v2.1.0
- Made
threading_support
on by default but output automatic (also, now1
or0
allowed). - Added
pid_alignment
andforce_pid
action options to show a pid prefix. - Fixed some bugs around
__eq__
in various classes. - Dropped Python 3.3 support.
- Dropped dependency on fields.
- Actions now repr using a simplified implementation that tries to avoid calling
__repr__
on user classes in order to avoid creating side-effects while tracing. - Added support for the
PYTHONHUNTERCONFIG
environment variable (stores defaults and doesn't activate hunter).