By chance, I noticed that csv and re in the modules of the python standard library have the .__version__ attribute:
>>> import re, csv >>> re.__version__ '2.2.1' >>> csv.__version__ '1.0'
This surprises me as they are part of the standard library, so I expect that their version will be determined by sys.version (and sys.version_info ).
I noticed that the attribute values ββare the same for Python 2.7.13 and 3.6.1, despite the fact that the modules have been changed.
Are they just a kind of "code fossil" or are they somehow meaningful, and should programmers pay attention to their values?
source share