From 27b5dc3087d6db2b9bec464e4244fa87edcf454a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarek=20Ziad=C3=A9?= Date: Wed, 2 Sep 2009 07:26:46 +0000 Subject: [PATCH] changed the post.dev marker according to latest state --- pep-0386.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pep-0386.txt b/pep-0386.txt index 106d2ffa2..23d56337c 100644 --- a/pep-0386.txt +++ b/pep-0386.txt @@ -251,7 +251,7 @@ http://bitbucket.org/tarek/distutilsversion/src/ The pseudo-format supported is:: - N.N[.N]+[abc]N[.N]+[.(dev|post)N+|(devN+postN+)] + N.N[.N]+[abc]N[.N]+[.postN+][.devN+] Some examples probably make it clearer:: @@ -267,7 +267,7 @@ Some examples probably make it clearer:: ... < V('1.0c1') ... < V('1.0.dev456') ... < V('1.0') - ... < V('1.0.dev456post623') + ... < V('1.0.post623.dev456') ... < V('1.0.post456')) True @@ -276,7 +276,7 @@ post-releases -- which apparently is used by a number of projects out there (e.g. Twisted [#twisted]_). For example *after* a "1.2.0" release there might be a "1.2.0-r678" release. We used "post" instead of "r" because the "r" is ambiguous as to whether it indicates a pre- or post-release. -Last ".dev456post623" is a development version of a post-release. +Last ".post623.dev456" is a development version of a post-release. ``verlib`` provides a ``RationalVersion`` class and a ``suggest_rational_version`` function. @@ -310,7 +310,7 @@ Each part is a tuple and there are three parts: - the main version part - the pre-release part -- the `devpost` marker part +- the `postdev` marker part Examples ::