[issue1125] bytes.split shold have same interface as str.split, or different name

Georg Brandl report at bugs.python.org
Fri Sep 7 08:55:26 CEST 2007


Georg Brandl added the comment:

I don't think so. They can't have the same behavior, and "split" is the most
reasonable name for what the bytes method does.

There have always been subtle differences between the behavior of string and
unicode methods; this was even more objectable because they were supposed to
be interchangeable to some degree; 3k strings and bytes are not.

----------
nosy: +georg.brandl

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1125>
__________________________________


More information about the Python-bugs-list mailing list