summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-04 13:57:27 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-04 13:57:27 (GMT)
commitc71c23e392cb45d191bfbd833d2b723c356a8f69 (patch)
tree61099b29a5d54dbae6cd037b6603b944959283f0 /Doc
parent63eb6300a9eeb6532902a98c8e3041354b8a5a8a (diff)
downloadcpython-c71c23e392cb45d191bfbd833d2b723c356a8f69.zip
cpython-c71c23e392cb45d191bfbd833d2b723c356a8f69.tar.gz
cpython-c71c23e392cb45d191bfbd833d2b723c356a8f69.tar.bz2
Added \versionchanged comment to os.popen() noting that it was unreliable
in earlier versions of Python; this is useful information for people interested in writing code that is portable across Python versions. Suggested by Peter Funk <pf@artcom-gmbh.de>.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 0586905..073d859 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -284,6 +284,12 @@ available as the return value of the \method{close()} method of the file
object, except that when the exit status is zero (termination without
errors), \code{None} is returned.
Availability: \UNIX{}, Windows.
+
+\versionchanged[This function worked unreliably under Windows in
+ earlier versions of Python. This was due to the use of the
+ \cfunction{_popen()} function from the libraries provided with
+ Windows. Newer versions of Python do not use the broken
+ implementation from the Windows libraries]{2.0}
\end{funcdesc}
\begin{funcdesc}{tmpfile}{}