Aspectlib

Latest version: v2.0.0

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

Scan your dependencies

Page 2 of 5

1.4.0

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

* Corrected weaving of methods, the weaved function should be unbound.
* Rolling back only applies undos once.
* Added a convenience ``weave`` fixture for pytest.

1.3.3

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

* Fixed typo in ``ABSOLUTELLY_ALL_METHODS`` name (now ``ABSOLUTELY_ALL_METHODS``). Old name is still there for
backwards compatibility.

1.3.2

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

* Fixed another tricky bug in the generator advising wrappers - result was not returned if only `Proceed` was yielded.

1.3.1

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

* Corrected result handling when using Aspects on generators.

1.3.0

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

* Added ``messages`` property to :obj:`aspectlib.test.LogCapture`. Change ``call`` to have level name instead of number.
* Fixed a bogus warning from :func:`aspectlib.patch_module`` when patching methods on old style classes.

1.2.2

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

* Added support for weakrefs in the ``__logged__`` wrapper from :obj:`aspectlib.debug.log` decorator.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.