Commit 518eaa8a authored by Ask Solem's avatar Ask Solem

Issue #7707: Documented that multiprocessing.Queue operations during

import can lead to deadlocks.
parent 1d3b8939
......@@ -120,7 +120,9 @@ processes:
print(q.get()) # prints "[42, None, 'hello']"
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**
......
......@@ -2879,6 +2879,9 @@ Build
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
to Doc/license.rst.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment