The pipes
module is pretty old. Most standard library modules that have been introduced in the last decade or so state when they were introduced on the module documentation page. For example, the sysconfig
module was introduced in version 2.7.
Shameless plug: I have written a script called pyqver
(on Github) that attempts to identify the minimum version of Python required to run a particular script. In the source, there is a table of modules and functions along with the version of Python where they were introduced. I see that I hadn't even included the pipes
module because it was so old.
To answer your specific question, it appears that the pipes
module was first documented in Python 1.5.2p1, released in July 1999. I found this by clicking through the links at on https://www.python.org/doc/versions/.
However, the pipes.py
source file is considerably older than that. The first version appeared in October 1992 as can be seen in this commit, found from the file history at https://github.com/python/cpython/commits/master/Lib/pipes.py.
python.org
doesn't maintain documentation for old versions. (I think I was confusing this with the C++ standard; it turns out it's very difficult to find old versions of the standard for free online. stackoverflow.com/a/26025026/1858225) So that would have worked, though now that I'm exploring it a bit it appears that the layout for the documentation has changed quite a bit over the years, which makes it slightly less convenient.