Antoine Pitrou added the comment:

The simple answer here is _run_finalizers() is not thread-safe, but finalizers 
can be registered or cancelled from any thread.

I could not write a simple synthetic script to reproduce the issue, but it 
should nevertheless be fixable.

----------
nosy: +pitrou
stage:  -> needs patch
versions: +Python 2.7, Python 3.5, Python 3.6, Python 3.7 -Python 3.4

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

Reply via email to