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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to