Decorator

Latest version: v5.2.1

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

Scan your dependencies

Page 10 of 11

0.7

Renamed 'copyfunc' into 'newfunc' and added the ability to copy
the signature from a model function; improved '_decorator' to
set the '__module__' attribute too, with the intent of improving
error messages; updated the documentation.

0.6

Changed decorator.__call__ so that the module somewhat works
even for Python 2.3 (but the signature-preserving feature is
lost).

0.5.2

Minor changes to the documentation; improved `getattr_` and
shortened `locked`.

0.5.1

Minor corrections to the documentation.

0.5

Fixed a bug with out-of-the-mind signatures, added a check for
reserved names in the argument list and simplified the code (thanks to
Duncan Booth).

0.4.1

Fixed a typo in the documentation (thanks to Anthon van der Neut).

Page 10 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.