[docs] [issue15329] clarify which deque methods are thread-safe

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 12 18:05:12 CEST 2012


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

> Pypy tends to make fewer guarantees because it implements 
> more classes in pure python.

This is not exactly true; in PyPy the _collection module was rewritten in RPython (which is translated to C) for this very reason: to make dequeue.append atomic and thus thread-safe.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15329>
_______________________________________


More information about the docs mailing list