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/.
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.