Python-aspectlib

Latest version: v0.0

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

Scan your dependencies

Page 3 of 4

1.0.0

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

* Reworked the internals :obj:`aspectlib.test.Story` to keep call ordering, to allow dependencies and improved the
serialization (used in the diffs and the missing/unexpected lists).

0.9.0

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

* Changed :obj:`aspectlib.test.record`:

* Renamed `history` option to `calls`.
* Renamed `call` option to `iscalled`.
* Added `callback` option.
* Added `extended` option.

* Changed :obj:`aspectlib.weave`:

* Allow weaving everything in a module.
* Allow weaving instances of new-style classes.

* Added :obj:`aspectlib.test.Story` class for capture-replay and stub/mock testing.

0.8.1

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

* Use simpler import for the py3support.

0.8.0

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

* Change :obj:`aspectlib.debug.log` to use :obj:`~aspectlib.Aspect` and work as expected with coroutines or generators.
* Fixed :obj:`aspectlib.debug.log` to work on Python 3.4.
* Remove the undocumented ``aspectlib.Yield`` advice. It was only usable when decorating generators.

0.7.0

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

* Add support for decorating generators and coroutines in :obj:`~aspectlib.Aspect`.
* Made aspectlib raise better exceptions.

0.6.1

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

* Fix checks inside :obj:`aspectlib.debug.log` that would inadvertently call ``__bool__``/``__nonzero``.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.