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

Unified Diff: Lib/distutils/util.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/sysconfig.py ('k') | Lib/distutils/version.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/distutils/util.py
===================================================================
--- Lib/distutils/util.py (revision 65250)
+++ Lib/distutils/util.py (working copy)
@@ -81,7 +81,7 @@
return "%s-%s.%s" % (osname, version, release)
elif osname[:6] == "cygwin":
osname = "cygwin"
- rel_re = re.compile (r'[\d.]+')
+ rel_re = re.compile (r'[\d.]+', re.ASCII)
m = rel_re.match(release)
if m:
release = m.group()
« no previous file with comments | « Lib/distutils/sysconfig.py ('k') | Lib/distutils/version.py » ('j') | no next file with comments »

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