[Python-checkins] cpython (2.7): 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:35 CEST 2011
http://hg.python.org/cpython/rev/3fa7581f6d46
changeset: 71411:3fa7581f6d46
branch: 2.7
parent: 71408:5c7520e02d5a
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Jul 19 01:26:58 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
@@ -2052,7 +2052,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.
.. versionadded:: 1.6
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list