Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Why private? They should be public. But the problem is that making a reference to the object we can prolong its lifetime and even create a reference loop. There was a proposition to create a weak reference, but not all types support weak reference. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38530> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com