[Python-checkins] peps: Small clarification that the grammar is only for the cannonical versions

donald.stufft python-checkins at python.org
Sat Dec 13 22:02:50 CET 2014


https://hg.python.org/peps/rev/047d121b118d
changeset:   5645:047d121b118d
user:        Donald Stufft <donald at stufft.io>
date:        Sat Dec 13 16:02:44 2014 -0500
summary:
  Small clarification that the grammar is only for the cannonical versions

files:
  pep-0440.txt |  8 +++++---
  1 files changed, 5 insertions(+), 3 deletions(-)


diff --git a/pep-0440.txt b/pep-0440.txt
--- a/pep-0440.txt
+++ b/pep-0440.txt
@@ -61,7 +61,8 @@
 Public version identifiers
 --------------------------
 
-Public version identifiers MUST comply with the following scheme::
+The canonical public version identifiers MUST comply with the following
+scheme::
 
     [N!]N(.N)*[{a|b|c}N][.postN][.devN]
 
@@ -70,8 +71,9 @@
 Public version identifiers MUST be unique within a given distribution.
 
 Installation tools SHOULD ignore any public versions which do not comply with
-this scheme. Installation tools MAY warn the user when non-compliant
-or ambiguous versions are detected.
+this scheme but MUST also include the normalizations specified below.
+Installation tools MAY warn the user when non-compliant or ambiguous versions
+are detected.
 
 Public version identifiers are separated into up to five segments:
 

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list