◐ Shell
clean mode source ↗

Message 115849 - Python tracker

"errno" is preserved by PyEval_RestoreThread(), so this isn't the issue.
What you are probably seeing is latent race conditions in the test suite, made apparent by a non-locking TLS implementation.  The test suite isn't free from those, see for example issue 8799