Hunter

Latest version: v3.7.0

Safety actively analyzes 630360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

3.2.1

------------------

* Added support for regex, date and datetime in ``safe_repr``.
* Fixed call argument display when positional and keyword arguments are used in :class:`hunter.actions.CallPrinter`.

3.2.0

------------------

* Implemented the :class:`~hunter.actions.StackPrinter` action.
* Implemented the :class:`~hunter.predicates.Backlog` predicate.
Contributed by Dan Ailenei in `81 <https://github.com/ionelmc/python-hunter/pull/81>`_.
* Improved contributing section in docs a bit.
Contributed by Tom Schraitle in `85 <https://github.com/ionelmc/python-hunter/pull/85>`_.
* Improved filtering performance by avoiding a lot of unnecessary
``PyObject_GetAttr`` calls in the Cython implementation of :class:`~hunter.predicates.Backlog`.
* Implemented the :class:`~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 :any:`hunter.event.Event.instruction` and :any:`hunter.event.Event.builtin` (usable in profile mode).
* Added more cookbook entries.

3.1.3

------------------

* Improved again the stdlib check to handle certain paths better.

3.1.2

------------------

* Really fixed the ``<frozen importlib.something`` stdlib check.

3.1.1

------------------

* Marked all the ``<frozen importlib.something`` files as part of stdlib.

3.1.0

------------------

* Added :class:`~hunter.actions.ErrorSnooper` - an action that detects silenced exceptions.
* Added :func:`~hunter.load_config` and fixed issues with configuration being loaded too late from the ``PYTHONHUNTERCONFIG`` environment
variable.
* Changed :func:`~hunter.From` helper to automatically move ``depth`` and ``calls`` filters to the predicate (so they filter after
:class:`~hunter.predicates.From` activates).
* Changed :class:`~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 :class:`~hunter.predicates.From` activated.
* Fixed a bunch of inconsistencies and bugs when using ``&`` and ``|`` operators with predicates.
* Fixed a bunch of broken fields on :meth:`detached events <hunter.event.Event.detach>`
(:attr:`~hunter.event.Event.function_object` and :attr:`~hunter.event.Event.arg`).
* Improved docstrings in various and added a configuration doc section.
* Improved testing (more coverage).

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.