Guido van Rossum <[email protected]> added the comment: Please don’t try to “fix” anything. The value is only useful if you understand the implementation. It should map straightforwardly to what’s in memory.
On Mon, Mar 28, 2022 at 05:16 STINNER Victor <[email protected]> wrote: > > STINNER Victor <[email protected]> added the comment: > > > Should sys.getrefcount try to "fix" the value (...) > > https://peps.python.org/pep-0683/ would make it possible. Right now, I > don't think that it's possible. > > Right now, a refcount of 1000000210 can be a real value, or it can be an > immortal object. > > ---------- > > _______________________________________ > Python tracker <[email protected]> > <https://bugs.python.org/issue45953> > _______________________________________ > -- --Guido (mobile) ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue45953> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
