[Python-Dev] PEP 396, Module Version Numbers

Barry Warsaw barry at python.org
Tue Apr 12 22:14:09 CEST 2011


On Apr 07, 2011, at 09:13 AM, Toshio Kuratomi wrote:

>Barry -- I think we want to talk about NormalizedVersion.from_parts() rather
>than parse_version().

See my previous follow up.  It probably makes sense to be explicit in one
PEP or the other, but...

>So you can't escape needing a function to compare versions.
>(NormalizedVersion does this by letting you compare NormalizedVersions
>together).  Barry if this is correct, maybe __version_info__ is useless and
>I shouldn't have brought it up at pycon?

...yikes!  You might be right about that.  Unless there are any counter
arguments, I think I'll have to remove it from PEP 396.

(Makes me like hexversion even more :).

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110412/75ab3696/attachment-0001.pgp>


More information about the Python-Dev mailing list