Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(738)

Unified Diff: Lib/distutils/version.py

Issue 2439: py3k regular expressions and unicode (Closed) Base URL: http://svn.python.org/view/*checkout*/python/branches/py3k/
Patch Set: Final patch (hopefully) also adding the (?a) inline flag Created 15 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/distutils/util.py ('k') | Lib/distutils/versionpredicate.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/distutils/version.py
===================================================================
--- Lib/distutils/version.py (revision 65250)
+++ Lib/distutils/version.py (working copy)
@@ -134,7 +134,7 @@
"""
version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$',
- re.VERBOSE)
+ re.VERBOSE | re.ASCII)
def parse (self, vstring):
« no previous file with comments | « Lib/distutils/util.py ('k') | Lib/distutils/versionpredicate.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b