[New-bugs-announce] [issue31826] Misleading __version__ attribute of modules in standard library
Jakub Mateusz Dzik
report at bugs.python.org
Fri Oct 20 09:21:04 EDT 2017
New submission from Jakub Mateusz Dzik <bugs.python.org20171020 at amix.org.pl>:
Several modules of the standard library (at least `re` and `csv`) have `__version__` strings.
The string is the same for Python 2.7-3.6:
>>> import re, csv; print(re.__version__, csv.__version__)
2.2.1 1.0
while documentation indicates changes in the modules.
Semantic versioning (recommended by PEP 440) suggests that at least minor version should change in such case.
I suspect it to be a "code fossil" which may be removed according to PEP 396.
----------
components: Library (Lib)
messages: 304654
nosy: abukaj
priority: normal
severity: normal
status: open
title: Misleading __version__ attribute of modules in standard library
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31826>
_______________________________________
More information about the New-bugs-announce
mailing list