On Apr 13, 2021, at 22:40, Christopher Barker <python...@gmail.com> wrote: > > Turns out this was suggested in PEP 396 -- and deferred almost 13 years ago! > > https://www.python.org/dev/peps/pep-0396/
I’d forgotten that this PEP was in Deferred state. I think it should be rejected and I plan on making that change. importlib.metadata is a much better approach to programmatically determining package versions. https://docs.python.org/3/library/importlib.metadata.html#distribution-versions -Barry
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ 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/GPDDGSO5JJDMNYCGVEUIUXFHPESVTUVH/ Code of Conduct: http://python.org/psf/codeofconduct/