Is there a single timeline-style resource available showing the history of the modules available in different versions of Python?
I’d like to, for instance, easily determine which version of Python introduced the pipes
module, without needing to perform a binary search by installing different Python versions until I find a version that doesn’t have it followed immediately by one that does.
2
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.
2