A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/126176.html below:

[Python-Dev] weak refs in descriptors (http://bugs.python.org/issue17950)

[Python-Dev] weak refs in descriptors (http://bugs.python.org/issue17950) [Python-Dev] weak refs in descriptors (http://bugs.python.org/issue17950)Kristján Valur Jónsson kristjan at ccpgames.com
Mon May 13 13:49:29 CEST 2013
Hello python-dev.
I'm working on a patch to remove reference cycles from heap-allocated classes:  http://bugs.python.org/issue17950
Part of the patch involves making sure that descriptors in the class dictionary don't contain strong references to the class itself.
This is item 2) in the defect description.
I have implemented this via weak references and hit no issues at all when running the test suite.
But I'd like to ask the oracle if there is anything I may be overlooking with this approach?  Any hidden problems we might encounter?

K

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130513/9729db6d/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4