On Apr 3, 11:14 pm, "Richard Jones" <[EMAIL PROTECTED]> wrote: > >>> from distutils.version import LooseVersion
and from the beautiful documentation for LooseVersion: "Version numbering for anarchists and software realists." "In fact, there is no such thing as an invalid version number under this scheme; the rules for comparison are simple and predictable, but may not always give the results you want (for some definition of "want")." My take-away: There is no PEP8 for version numbers. Versioning needs to be simple and flexible. Reasonable people can disagree on how to do it. Python doesn't include a standard for WRITING versions numbers but it does provide a "standard" for COMPARING them. Thank you python and thank you Richard for pointing out the existence of that little gem of a package. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
