• Guido van Rossum's avatar
    Bug # 1125 (my code). · 8f950679
    Guido van Rossum authored
    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.
    8f950679
bytesobject.c 85.1 KB