[issue1969] split and rsplit in bytearray are inconsistent

2008-01-30 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r60437 with unit test. Thanks for the report! -- nosy: +tiran resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1969] split and rsplit in bytearray are inconsistent

2008-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, that looks like a bug. -- keywords: +easy nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue1969] split and rsplit in bytearray are inconsistent

2008-01-29 Thread Antoine Pitrou
New submission from Antoine Pitrou: In the bytearray type, the split and rsplit methods use a different definition of what is a whitespace character. split_whitespace calls ISSPACE(), while rsplit_whitespace calls Py_UNICODE_ISSPACE(). The latter is probably an error since it is also inconsistent