Issue #7707: Documented that multiprocessing.Queue operations during

import can lead to deadlocks.
This commit is contained in:
Ask Solem 2010-11-09 21:46:03 +00:00
parent 1d3b89397b
commit 518eaa8a76
2 changed files with 6 additions and 1 deletions

View file

@ -120,7 +120,9 @@ processes:
print(q.get()) # prints "[42, None, 'hello']" print(q.get()) # prints "[42, None, 'hello']"
p.join() p.join()
Queues are thread and process safe. Queues are thread and process safe, but note that they must never
be instantiated as a side effect of importing a module: this can lead
to a deadlock! (see :ref:`threaded-imports`)
**Pipes** **Pipes**

View file

@ -2879,6 +2879,9 @@ Build
Documentation Documentation
------------- -------------
- Issue #7707: Document that ``multiprocessing.Queue`` operations during import
can lead to deadlocks.
- Issue #9817: Add expat COPYING file; add expat, libffi and expat licenses - Issue #9817: Add expat COPYING file; add expat, libffi and expat licenses
to Doc/license.rst. to Doc/license.rst.