STINNER Victor <vstinner at python.org> added the comment: Yep, I didn't see any test_weakref hang anymore since this commit. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue29796> _______________________________________