Steve Dower <steve.do...@python.org> added the comment:

Almost seems like an unwinnable race here. We need to collect the error numbers 
before reacquiring the GIL (which could change some of them), but then if we 
update the object after getting the lock back we could still have raced with 
another thread.

Perhaps we need to make more dramatic changes to not store error codes against 
the object?

----------
versions: +Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32533>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to