X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=python%2Fpython-2.3.4-lib64-regex.patch;fp=python%2Fpython-2.3.4-lib64-regex.patch;h=2b38d4cbbf49f984adaccc96522b44803c3b15b2;hb=63a2fa13b135c765210e7331113a9bcd99949b3b;hp=0000000000000000000000000000000000000000;hpb=bce5b966788b7d38e7235291e155272f1dc42d6a;p=fedora-mingw.git diff --git a/python/python-2.3.4-lib64-regex.patch b/python/python-2.3.4-lib64-regex.patch new file mode 100644 index 0000000..2b38d4c --- /dev/null +++ b/python/python-2.3.4-lib64-regex.patch @@ -0,0 +1,18 @@ +--- Python-2.3.4/Lib/test/test_re.py 2004-04-20 23:32:33.000000000 +0200 ++++ Python-2.3.4/Lib/test/test_re.py.lib64-regex 2004-05-29 17:36:52.000000000 +0200 +@@ -497,6 +497,15 @@ + self.assert_(re.compile('bug_926075') is not + re.compile(eval("u'bug_926075'"))) + ++ def test_bug_931848(self): ++ try: ++ unicode ++ except NameError: ++ pass ++ pattern = eval('u"[\u002E\u3002\uFF0E\uFF61]"') ++ self.assertEqual(re.compile(pattern).split("a.b.c"), ++ ['a','b','c']) ++ + def run_re_tests(): + from test.re_tests import benchmarks, tests, SUCCEED, FAIL, SYNTAX_ERROR + if verbose: