[Distutils] Does PEP 0440 allow omitting the separator for development releases?

Christopher Wilson cwilson at cdwilson.us
Sun Nov 22 12:49:48 EST 2015

(I posted this to http://stackoverflow.com/questions/33849399/does-pep-0440-allow-omitting-the-separator-for-development-releases <http://stackoverflow.com/questions/33849399/does-pep-0440-allow-omitting-the-separator-for-development-releases> and was recommended to send an inquiry to this mailer)

PEP 0440 <https://www.python.org/dev/peps/pep-0440/> includes the following two statements which on first glance seem to be contradictory:

Development releases allow a . , - , or a _ separator as well as omitting the separator all together. The normal form of this is with the . separator. This allows versions such as 1.2-dev2 or 1.2dev2 which normalize to 1.2.dev2 .


Note that devN and postN MUST always be preceded by a dot, even when used immediately following a numeric version (e.g. 1.0.dev456 , 1.0.post1 ).

Is the 2nd statement true for developers of Python distributions?  Or is it stating that the version (once normalized) must always be preceded by a dot?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151122/2186190c/attachment.html>

More information about the Distutils-SIG mailing list