summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2015-09-19 13:06:12 -0400
committerMike Gilbert <floppym@gentoo.org>2015-09-19 13:06:12 -0400
commit961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b (patch)
tree459a6ffd90a4e7c66bd62c90672b40df28f7a73d /patches/23_all_h2py_encoding.patch
parentUpdates from Arfrever for 3.4.3 (diff)
downloadpython-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.tar.gz
python-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.tar.bz2
python-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.zip
Updates for 3.5.0 from Arfrever3.5.0-03.5.0
Diffstat (limited to 'patches/23_all_h2py_encoding.patch')
-rw-r--r--patches/23_all_h2py_encoding.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/23_all_h2py_encoding.patch b/patches/23_all_h2py_encoding.patch
index 8a0fbb4..f472b7c 100644
--- a/patches/23_all_h2py_encoding.patch
+++ b/patches/23_all_h2py_encoding.patch
@@ -15,8 +15,8 @@ https://bugs.python.org/issue13032
+ b'^[\t ]*#[\t ]*define[\t ]+'
+ b'([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+')
--p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
-+p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
+-p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([^>\n]+)>')
++p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([^>\n]+)>')
-p_comment = re.compile(r'/\*([^*]+|\*+[^/])*(\*+/)?')
-p_cpp_comment = re.compile('//.*')