import can lead to deadlocks.
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**
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.