All Versions
Latest Version
Avg Release Cycle
59 days
Latest Release
200 days ago

Changelog History
Page 5

  • v1.0.0 Changes

    December 24, 2015
    • Implemented fast tracer and query objects in Cython. MAY BE BACKWARDS INCOMPATIBLE

    To force using the old pure-python implementation set the PUREPYTHONHUNTER environment variable to non-empty value.

    • โž• Added filtering operators: contains, startswith, endswith and in. Examples:

      • Q(module_startswith='foo' will match events from foo, and foobar.
      • Q(module_startswith=['foo', 'bar'] will match events from foo,, foobar, bar, and baroo .
      • Q(module_endswith='bar' will match events from and foobar.
      • Q(module_contains='ip' will match events from lipsum.
      • Q(module_in=['foo', 'bar'] will match events from foo and bar.
      • Q(module_regex=r"(re|sre.*)\b") will match events fromre,re.foobar,srefoobarbut not fromrepr``.
    • โœ‚ Removed the merge option. Now when you call hunter.trace(...) multiple times only the last one is active. BACKWARDS INCOMPATIBLE

    • โœ‚ Remove the previous_tracer handling. Now when you call hunter.trace(...) the previous tracer (whatever was in sys.gettrace()) is disabled and restored when hunter.stop() is called. BACKWARDS INCOMPATIBLE

    • ๐Ÿ›  Fixed CodePrinter to show module name if it fails to get any sources.

  • v0.6.0 Changes

    October 10, 2015
    • Added a clear_env_var option on the tracer (disables tracing in subprocess).
    • โž• Added force_colors option on :class:hunter.actions.VarsPrinter and :class:hunter.actions.CodePrinter.
    • ๐Ÿ‘ Allowed setting the stream to a file name (option on :class:hunter.actions.VarsPrinter and :class:hunter.actions.CodePrinter).
    • โฌ†๏ธ Bumped up the filename alignment to 40 cols.
    • ๐Ÿ”€ If not merging then self is not kept as a previous tracer anymore. Closes #16 <>_.
    • ๐Ÿ›  Fixed handling in VarsPrinter: properly print eval errors and don't try to show anything if there's an AttributeError. Closes #18 <>_.
    • โž• Added a stdlib boolean flag (for filtering purposes). Closes #15 <>_.
    • ๐Ÿ›  Fixed broken frames that have "None" for filename or module (so they can still be treated as strings).
    • Corrected output files in the install_lib command so that pip can uninstall the pth file. This only works when it's installed with pip (sadly, install/develop and pip install -e will still leave pth garbage on pip uninstall hunter).
  • v0.5.1 Changes

    April 15, 2015
    • ๐Ÿ›  Fixed :attr:hunter.event.Event.globals to actually be the dict of global vars (it was just the locals).
  • v0.5.0 Changes

    April 06, 2015
    • ๐Ÿ›  Fixed :func:hunter.And and :func:hunter.Or "single argument unwrapping".
    • Implemented predicate compression. Example: Or(Or(a, b), c) is converted to Or(a, b, c).
    • ๐Ÿ“‡ Renamed :attr:hunter.event.Event.source to :attr:hunter.event.Event.fullsource.
    • โž• Added :attr:hunter.event.Event.source that doesn't do any fancy sourcecode tokenization.
    • ๐Ÿ›  Fixed :attr:hunter.event.Event.fullsource return value for situations where the tokenizer would fail.
    • ๐Ÿ›ฐ Made the print function available in the PYTHONHUNTER env var payload.
    • Added a repr for :class:hunter.event.Event.
  • v0.4.0 Changes

    March 29, 2015
    • Disabled colors for Jython. Contributed by Claudiu Popa in #12 <>_.
    • ๐Ÿ Test suite fixes for Windows. Contributed by Claudiu Popa in #11 <>_.
    • โž• Added an introduction section in the docs.
    • Implemented a prettier fallback for when no sources are available for that frame.
    • Implemented fixups in cases where you use action classes as a predicates.
  • v0.3.1 Changes

    March 29, 2015
    • ๐Ÿ”€ Forgot to merge some commits ...
  • v0.3.0 Changes

    March 29, 2015
    • โž• Added handling for internal repr failures.
    • ๐Ÿ›  Fixed issues with displaying code that has non-ascii characters.
    • ๐Ÿ‘ Implemented better display for call frames so that when a function has decorators the function definition is shown (instead of just the first decorator). See: #8 <>_.
  • v0.2.1 Changes

    March 28, 2015
    • โž• Added missing color entry for exception events.
    • โž• Added :attr:hunter.event.Event.line property. It returns the source code for the line being run.
  • v0.2.0 Changes

    March 27, 2015
    • โž• Added color support (and colorama as dependency).
    • โž• Added support for expressions in :class:hunter.actions.VarsPrinter.
    • ๐Ÿ’ฅ Breaking changes:

      • Renamed F to :func:hunter.Q. And :func:hunter.Q is now just a convenience wrapper for :class:hunter.predicates.Query.
      • Renamed the PYTHON_HUNTER env variable to PYTHONHUNTER.
      • Changed :class:hunter.predicates.When to take positional arguments.
      • Changed output to show 2 path components (still not configurable).
      • Changed :class:hunter.actions.VarsPrinter to take positional arguments for the names.
    • ๐Ÿ‘Œ Improved error reporting for env variable activation (PYTHONHUNTER).

    • ๐Ÿ›  Fixed env var activator (the .pth file) installation with install (the "egg installs") and develop/pip install -e (the "egg links").

  • v0.1.0 Changes

    March 22, 2015
    • ๐Ÿš€ First release on PyPI.