NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #75 most downloaded on PyPI
Module for decorators, wrappers and monkey patching.
Latest stable
2.5.2
Last release 19 days ago
30 Oct 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 58 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
13 years old
124 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
- Python object memory leak was occurring due to incorrect increment of object reference count in C implementation of object proxy when an instance me
Bugs Fixed
Python object memory leak was occurring due to incorrect increment of object reference count in C implementation of object proxy when an instance method was called via the class and the instance passed in explicitly.
In place operators in pure Python object proxy for idiv and itruediv were not replacing the wrapped object with the result of the operation on the wrapped object.
In place operators in C implementation of Python object proxy were not replacing the wrapped object with the result of the operation on the wrapped object.
- Added a synchronized decorator for performing thread mutex locking on functions, object instances or classes. This is the same decorator as covered
New Features
Added a synchronized decorator for performing thread mutex locking on functions, object instances or classes. This is the same decorator as covered as an example in the wrapt documentation.
Added a WeakFunctionProxy class which can wrap references to instance methods as well as normal functions.
Exposed from the C extension the classes _FunctionWrapperBase , _BoundFunctionWrapper and _BoundMethodWrapper so that it is possible to create new variants of FunctionWrapper in pure Python code.
Bugs Fixed
When deriving from ObjectProxy , and the C extension variant was being used, if a derived class overrode new() and tried to access attributes of the ObjectProxy created using the base class new() before init() was called, then an exception would be raised indicating that the ‘wrapper has not been initialised’.
When deriving from ObjectProxy , and the C extension variant was being used, if a derived class init() attempted to update attributes, even the special self attributed before calling the base class init() method, then an exception would be raised indicating that the ‘wrapper has not been initialised’.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Initial release.
Initial release.
Nothing published for this version
One column per quarter.