Hi, I was always confused by the __version__ variable of *some* modules. It's surprising since it's no longer incremented when the module is fixed or gets new features. Also, the number is unrelated to the Python version. I suggest to remove __version__.
__author__, __credits__, __email__, __copyright__: can these information be kept as *comments*? __date__: what is that? Is it still relevant in 2020 since Python uses Git? I suggest removing it. For modules even have a changelog. Should it be removed since it is no longer updated for years? Many of these variables are ghosts from the early CVS time of Python :-) Victor Le mer. 14 oct. 2020 à 15:57, Serhiy Storchaka <storch...@gmail.com> a écrit : > > Some module attributes in the stdlib have attribute __version__. It > makes sense if the module is developed independently from Python, but > after inclusion in the stdlib it no longer have separate releases which > should be identified by version. New changes goes into module usually > without changing the value of __version__. Different versions of the > module for different Python version can have different features but the > same __version__. > > I propose to remove __version__ in all stdlib modules. Are there any > exceptions? > > Also, what do you think about other meta attributes like __author__, > __credits__, __email__, __copyright__, __about__, __date__? > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/KBU4EU2JULXSMUZULD5HJJWCGOMN52MK/ > Code of Conduct: http://python.org/psf/codeofconduct/ -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/HH726TXVDUF4GSTUJALKU3WT5LIQNOAZ/ Code of Conduct: http://python.org/psf/codeofconduct/