[issue23355] rsplit duplicates split behavior

2015-01-30 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue23355] rsplit duplicates split behavior

2015-01-30 Thread eryksun
eryksun added the comment: The result of str.split and str.rsplit can differ depending on the optional 2nd parameter, maxsplit: >>> 'a b c'.split(None, 1) ['a', 'b c'] >>> 'a b c'.rsplit(None, 1) ['a b', 'c'] https://docs.python.org/2/library/stdtypes.html#str.rsplit -

[issue23355] rsplit duplicates split behavior

2015-01-30 Thread kai keliikuli
New submission from kai keliikuli: 'a b'.split() == 'a b'.rsplit() -- messages: 235080 nosy: kai.keliikuli priority: normal severity: normal status: open title: rsplit duplicates split behavior type: behavior versions: Python 2.7 ___ Python tracker <