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

Unified Diff: Lib/distutils/sysconfig.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/emxccompiler.py ('k') | Lib/distutils/util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/distutils/sysconfig.py
===================================================================
--- Lib/distutils/sysconfig.py (revision 65250)
+++ Lib/distutils/sysconfig.py (working copy)
@@ -512,7 +512,7 @@
# patched up as well.
'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
flags = _config_vars[key]
- flags = re.sub('-arch\s+\w+\s', ' ', flags)
+ flags = re.sub('-arch\s+\w+\s', ' ', flags, re.ASCII)
flags = re.sub('-isysroot [^ \t]*', ' ', flags)
_config_vars[key] = flags
« no previous file with comments | « Lib/distutils/emxccompiler.py ('k') | Lib/distutils/util.py » ('j') | no next file with comments »

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