[issue1609] test_re.py fails

Guido van Rossum report at bugs.python.org
Wed Dec 19 23:38:29 CET 2007


Guido van Rossum added the comment:

Hm.  The test2.py file, when I download it, contains the two bytes
"\xc4\xb1" in the first unicode() call, and "\xc4\xb0" in the second
one.  This is *always* supposed to produce a UnicodeDecodeError, since
it would use the default encoding which is ASCII.  So I don't understand
how you get this to pass with 2.4 at all.

When you replace the arguments with these hex escapes, does it still
pass for you?  Or does that break it?

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1609>
__________________________________


More information about the Python-bugs-list mailing list