FYI, sqlite3 has a pysqlite “version" attribute iso. “__version__", stemming from its days outside of stdlib. It has held the value “2.6.0" since commit f9cee22, 2010-03-05.
Erlend E. Aasland On 14 Oct 2020, at 15:53, Serhiy Storchaka <[email protected]<mailto:[email protected]>> wrote: 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 -- [email protected]<mailto:[email protected]> To unsubscribe send an email to [email protected]<mailto:[email protected]> https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KBU4EU2JULXSMUZULD5HJJWCGOMN52MK/ Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/DAB2TCPTLLH7ZUU2B2VRKQYN7SWUT6RN/ Code of Conduct: http://python.org/psf/codeofconduct/
