New submission from Nir Soffer: >>> b'foo bar'.split() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: split() takes at least 1 argument (0 given)
>>> b'foo bar'.split(None) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: expected an object with the buffer interface str.split and bytes.split should have the same interface, or different names. ---------- components: Library (Lib) messages: 55723 nosy: nirs severity: normal status: open title: bytes.split shold have same interface as str.split, or different name versions: Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1125> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com