[Python-checkins] cpython (merge 3.2 -> default): Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under
antoine.pitrou
python-checkins at python.org
Tue Jul 19 01:30:37 CEST 2011
http://hg.python.org/cpython/rev/aee7c27ea7df
changeset: 71413:aee7c27ea7df
parent: 71410:5a1bb8d4afd7
parent: 71412:a01ba3c32a4b
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Jul 19 01:29:18 2011 +0200
summary:
Issue #6476: Document that os.spawnle and os.spawnve are not thread-safe under Windows.
files:
Doc/library/os.rst | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2438,7 +2438,9 @@
os.spawnvpe(os.P_WAIT, 'cp', L, os.environ)
Availability: Unix, Windows. :func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp`
- and :func:`spawnvpe` are not available on Windows.
+ and :func:`spawnvpe` are not available on Windows. :func:`spawnle` and
+ :func:`spawnve` are not thread-safe on Windows; we advise you to use the
+ :mod:`subprocess` module instead.
.. data:: P_NOWAIT
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list