[Patches] Unicode Patch Set 2000-04-03

Guido van Rossum guido@python.org
Tue, 04 Apr 2000 17:43:07 -0400


Your patch set introduced a syntax error in string.py, because a line
("return _float(s)" in atof()) had changed only in indentation, and
"diff -b" doesn't flag that as a difference.  A similar thing happened
in test_unicode.py, where two asserts weren't indented.

I wonder if there are other places where this might have happened
without introducing a syntax error...

I've also found another problem (which may have existed before???):
in test.test_string.py, string.atol('  1x ',) is supposed to raise
ValueError, but actually returns 1L.

I'll hold off on checkin in these changes...

--Guido van Rossum (home page: http://www.python.org/~guido/)