Charles-François Natali added the comment:

The heapq C implementation is apparently not thread-safe: 
PyObject_RichCompareBool() and Py_DECREF() can lead to arbitrary python code 
being called, which can result in a context switch.

----------
nosy: +neologix

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

Reply via email to