Kumar Aditya <rahuladitya...@gmail.com> added the comment:

I created a PR https://github.com/python/cpython/pull/30976 which adjusts 
_Py_RefTotal and refcnt of immortal codeobjects to account for 
Py_INCREF/Py_DECREF on codeobjects. With that patch refcnt is 8 and increases 
by 8 with each initialization of Python.

----------

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

Reply via email to