]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Implement Mark Favas's suggestion. There's a clear bug in _group():
authorGuido van Rossum <guido@python.org>
Mon, 16 Apr 2001 16:04:10 +0000 (16:04 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 16 Apr 2001 16:04:10 +0000 (16:04 +0000)
commit67addfe2a87d22458323e268d2bcc7406e6febc2
tree663f9e2a70fb82a77b852d3320ae2de7c2393997
parent1fcd4389562476b9ccf6e7be3f58c68b54dd15be
Implement Mark Favas's suggestion.  There's a clear bug in _group():
its first return statement returns a single value while its caller
always expects it to return a tuple of two items.  Fix this by
returning (s, 0) instead.

This won't make the locale test on Irix succeed, but now it will fail
because of a bug in the platform's en_US locale rather than because of
a bug in the locale module.
Lib/locale.py