[issue26810] inconsistent garbage collector behavior across platforms when using ctypes data-structures

Irit Katriel report at bugs.python.org
Sun Apr 25 13:49:00 EDT 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

I don't think GC is even guaranteed to do exactly the same thing in two different runs on the same platform. If objects are hashed by id (memory address) and then traversed then couldn't the order in which unrelated objects are deleted be non-deterministic?

In any case, 2.7 is no longer maintained. If you can provide a simple repro script for 3.9+, a GC expert may look at it. Open a new issue if you do that.

----------
nosy: +iritkatriel
resolution:  -> not a bug
stage: test needed -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26810>
_______________________________________


More information about the Python-bugs-list mailing list