STINNER Victor <vstin...@python.org> added the comment:
My work on bpo-46417 reduces the number of leak references from around 10k to ... minus 4 references :-) Clearing static types and a few "static" objects helped a lot! > New changeset a1444f43584af0f7a0af72aa06ba0a86ae5a87a2 by Victor Stinner in > branch 'main': > bpo-46417: Fix _PyStaticType_Dealloc() (GH-30810) > https://github.com/python/cpython/commit/a1444f43584af0f7a0af72aa06ba0a86ae5a87a2 At commit a1444f43584af0f7a0af72aa06ba0a86ae5a87a2, I get: $ ./python -I -X showrefcount -c pass [-4 refs, 61 blocks] I have to investigate why it's negative. It may be caused by bpo-46449 issue. See also: https://bugs.python.org/issue46417#msg411307 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue1635741> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com