commit | 67addfe2a87d22458323e268d2bcc7406e6febc2 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Apr 16 16:04:10 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Apr 16 16:04:10 2001 +0000 |
tree | 663f9e2a70fb82a77b852d3320ae2de7c2393997 | |
parent | 1fcd4389562476b9ccf6e7be3f58c68b54dd15be [diff] |
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.