https://docs.python.org/3/reference/datamodel.html
On Wed, 2021-04-14 at 22:56 +0000, Jim J. Jewett wrote: > Paul Moore wrote: > > What's wrong with Version(module.__version__)? And if the > > __version__ > > attribute isn't a valid version, raise an exception? > > I don't have a deep answer, but I do think __version__ should be > specified (or at least mentioned) at > https://docs.python.org/3/reference/datamodel.html > > At the moment, I can't even find a listing of possible __dunder__ > attributes, though I'm almost sure I've seen one in the past. > > -jJ > _______________________________________________ > 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/AG344CLSKM7BDOYP3CWGXGBNFSPWVQU4/ > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ 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/PZQD4HJZS34VKS6KT5QC5J6LOKEEHKEX/ Code of Conduct: http://python.org/psf/codeofconduct/