STINNER Victor <vstin...@python.org> added the comment:

"f.__doc__ = f" or "f.__module__ = f" don't make any sense. It looks like a bug 
triggered on purpose. While it's bad, it's not a big deal.

The fix (commit 3c452404ae178b742967589a0bb4a5ec768d76e0) is causing way worse 
issues than the "artificial" memory leak (reference cycle). I wrote PR 15826 to 
revert the change in Python 3.8. bpo-38006 root issues are not well understood 
nor fixed yet.

----------
nosy: +vstinner

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

Reply via email to