[issue44895] refleak test failure in test_exceptions

Chris Jerdonek report at bugs.python.org
Fri Aug 13 15:39:52 EDT 2021


Chris Jerdonek <chris.jerdonek at gmail.com> added the comment:

> Maybe it's a very precise threshold which triggers the issue. Between Linux and macOS, the site module executes different code paths which produce different GC counters.
> Sometimes, the GC must happen in a very precise line, one line later is too late.

How does this explain it not being non-deterministic on, say, macOS since the same lines of code will be executing each time? Is there a way to force things to happen in a deterministic fashion? (I interpreted the responses to mean that it's non-deterministic even when run on the same machine, so I'm not talking about, say, the differences from running macOS on different machines.)

----------

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


More information about the Python-bugs-list mailing list