Stefan Behnel <stefan...@behnel.de> added the comment:

It seems right that a heap allocate object owns a reference to its (non-static) 
type. But the mere fact that you had to adapt stdlib code makes it obvious that 
this will also break existing user code out there. And such breakage is very 
likely to remain undetected for a while, since leaking types is unlikely to 
have a big enough memory impact in most application to be easily detected.

This is a tough call. Any ideas for reducing the chance of breakage or 
increasing the chance of detecting it in user code would help.

----------
nosy: +scoder

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35810>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to