[Python-checkins] r86375 - in python/branches/py3k: Doc/library/multiprocessing.rst Misc/NEWS
ask.solem
python-checkins at python.org
Tue Nov 9 22:46:04 CET 2010
Author: ask.solem
Date: Tue Nov 9 22:46:03 2010
New Revision: 86375
Log:
Issue #7707: Documented that multiprocessing.Queue operations during
import can lead to deadlocks.
Modified:
python/branches/py3k/Doc/library/multiprocessing.rst
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Doc/library/multiprocessing.rst
==============================================================================
--- python/branches/py3k/Doc/library/multiprocessing.rst (original)
+++ python/branches/py3k/Doc/library/multiprocessing.rst Tue Nov 9 22:46:03 2010
@@ -120,7 +120,9 @@
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**
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Tue Nov 9 22:46:03 2010
@@ -2879,6 +2879,9 @@
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.
More information about the Python-checkins
mailing list