Lines Matching +full:post +full:- +full:release
21 an equivalent string -- ie. one that will generate an equivalent
76 # Interface for version-number classes -- must be implemented
77 # by the following classes (the concrete ones -- Version should
79 # __init__ (string) - create and take same action as 'parse'
81 # parse (string) - convert a string representation to whatever
84 # __str__ (self) - convert back to a string; should be very similar
86 # __repr__ (self) - generate Python code to recreate
88 # _cmp (self, other) - compare two version numbers ('other' may
98 dot-separated numeric components, with an optional "pre-release" tag
99 on the end. The pre-release tag consists of the letter 'a' or 'b'
101 numbers are equal, then one with a pre-release tag will always
176 return -1
189 return -1
196 return -1
208 # left-to-right to determine an ordering.
222 # - indicating a "pre-release" version
224 # - indicating a post-release patch ('p', 'pl', 'patch')
228 # The problem is what to do with letters (and other non-numeric
232 # an appended letter sequence implies something "post-release":
235 # However, if letters in a version number imply a pre-release version,
247 # version numbering scheme to its domination. The free-thinking
253 # assumptions about non-digits in version number strings. This could
254 # sink into special-case-hell, though; if I was as talented and
264 # complicated, hairy expectations for real-world version numbers. It
302 component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE)
311 # from the parsed tuple -- so I just store the string here for
342 return -1