| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Backport to 3.15 and 3.14.
|
Thanks @jelle-openai for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
Sorry, something went wrong.
|
GH-160014 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
|
GH-160015 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Break reference cycles involving property objects. The garbage collector can see the property's references to its accessors and name, but its tp_clear only clears the docstring. If an unreachable cycle must be broken through one of the other fields, gc.collect() leaves the cycle alive and leaks the objects. You can only exploit this to get a memory leak by setting .__name__ or re-calling __init__.
Backport to 3.15 and 3.14.