PythonHub
2.44K subscribers
2.35K photos
49.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Detecting object wrappers

The wrapt library's version 2.0.0 changed its object proxy class hierarchy, breaking checks that detect if an object is already wrapped, causing repeated wrapping and performance issues. The best practice is to use custom wrapper types and traverse wrapper chains via the wrappedattribute to reliably detect wrapping, emphasizing careful version pinning and cautious monkey patching in ...

https://grahamdumpleton.me/posts/2025/10/detecting-object-wrappers/
pip 25.3

The pip 25.3 release is the final major pip update of 2025, featuring the removal of non-PEP 517 package build support and non-PEP 660 editable installs, meaning pip no longer calls legacy setup.py commands. It adds the new --build-constraint option for specifying build-time constraints separately, improves caching and metadata handling, supports editable requirements as Direct URLs, and...

https://discuss.python.org/t/announcement-pip-25-3-release/104550