We've got a library that supports py 3.8 .. 3.12I though I'd give it a go with newest pypy release, and a couple of unit tests fail.
I've traced it down to the expectation that objects will disappear from weakref.WeakKeyDictionary.
In some cases, this is a user-facing thing, we issue a warning for "unused" resources, by virtue of them missing from the weak container when we expect the user code to keep the reference around.
Is there a good idiom or some way to support this behaviour with pypy?
Thanks,
Dima TisnekĀ