Patchy

Latest version: v2.9.0

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

Scan your dependencies

Page 3 of 4

1.4.0

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

* Added new function ``patchy.replace()``, that can be used to directly assign
new source code to a function, without having to make a patch.

1.3.2

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

* Support freevars and methods that call mangled methods.

1.3.1

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

* Fixed ``setup.py`` to not fix the version of ``six`` required.
* Fixed install instruction in README.
* Added ``patchy.mc_patchface()`` as an alias for ``patchy.patch()`` because
memes.

1.3.0

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

* Remove dependency on ``pylru`` by using a simpler caching strategy

1.2.0

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

* Pirate mascot!
* Patching caches the patched and unpatched versions, so unpatching and repeat
patching/unpatching are both faster
* Patching doesn't attach an attribute to the function object any more

1.1.0

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

* Fixed code compilation to use the ``__future__`` flags from the function that
is being patched
* Added ``unpatch`` method
* Added ``temp_patch`` context manager/decorator

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.