Decorator

Latest version: v5.1.1

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

Scan your dependencies

Page 3 of 11

4.3.0

Extended the decorator family facility to work with positional
arguments and updated the documentation. Removed
`decorator.getargspec` and provided `decorator.getfullargspec`
instead. This is convenient for users of Python 2.6/2.7, the others
can just use `inspect.getfullargspec`.

4.2.1

Fixed a regression breaking IPython reported by https://github.com/spapini .

4.2.0

Added a facility to define families of decorators (aka decorators with
arguments) as requested by several users. Accepted a pylint patch by
David Allouche.

4.1.2

Made it possible to define decorators converting coroutines into regular
functions, as requested by Itaï Ben Yaacov.

4.1.1

Changed the documentation build system to sphinx and uploaded the docs
on readthedocs.org.

4.1.0

Support for Python 3.5 coroutines defined with `async def`, thanks to
Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
giving the right answer for coroutines decorated with the decorator module.

Page 3 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.