
Jan. 5, 2022
11 p.m.
On Wed, Jan 5, 2022, 15:02 Trent Nelson <trent@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