]> granicus.if.org Git - python/commit
Bug # 1125 (my code).
authorGuido van Rossum <guido@python.org>
Mon, 10 Sep 2007 16:53:45 +0000 (16:53 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 10 Sep 2007 16:53:45 +0000 (16:53 +0000)
commit8f95067915fc1cd74c8ef31fccc84796cd45fff3
tree3a2ab4404185e1d15badcaa9e8751d4f19380b37
parent954c31bcc737c99b597870b42611228ed05ac699
Bug # 1125 (my code).
Support bytes.split() and bytes.strip() -- these split/strip using ASCII
whitespace (tab, space, CR, LF, FF, VT) like their str counterparts.
Also for rsplit(), lstrip() and rstrip().
And change all these functions to accept arbitrary buffer-API-supporting
arguments.
With unit tests.
Lib/test/test_bytes.py
Objects/bytesobject.c