On Wed, Jan 5, 2022, 15:02 Trent Nelson <tr...@trent.me> wrote: > I thought that was pretty interesting. Potentially many, many upper > bits for the taking. The code also had some logic that would int 3 > as soon as a 32-bit refcnt overflowed, and that never hit either > (obviously, based on the numbers above). > > I also failed to come up with real-life code that would result in a > Python object having a reference count higher than None's refcnt, but > that may have just been from lack of creativity. > > Just thought I'd share. >
Thanks, Trent. That's super helpful. -eric >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/FMSE7AFZVJVBFRQMMYAEAXELITHN2E3B/ Code of Conduct: http://python.org/psf/codeofconduct/