PEP 0440 是否允许省略开发版本的分隔符?

Does PEP 0440 allow omitting the separator for development releases?

PEP 0440包含以下两个看似矛盾的说法:

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 ).

第二个说法错了吗?是否允许一起省略分隔符?如果是这样,提醒 PEP 作者更正 PEP 的过程是什么?

Martijn 的评论是正确的,第二个陈述是关于规范化形式的。

Donald Stufft 在 distutils-sig@python.org 邮件中确认:

Once normalized it must have a dot. The normalization is applied first.