diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-09-19 13:06:12 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-09-19 13:06:12 -0400 |
commit | 961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b (patch) | |
tree | 459a6ffd90a4e7c66bd62c90672b40df28f7a73d /patches/23_all_h2py_encoding.patch | |
parent | Updates from Arfrever for 3.4.3 (diff) | |
download | python-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.tar.gz python-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.tar.bz2 python-gentoo-patches-961a7d241ce88fa6d7ca0dc58e672bfb00a1d49b.zip |
Diffstat (limited to 'patches/23_all_h2py_encoding.patch')
-rw-r--r-- | patches/23_all_h2py_encoding.patch | 4 |
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('//.*') |