Author nirs
Recipients nirs
Date 2007-09-07.01:30:28
SpamBayes Score 0.155893
Marked as misclassified No
Message-id <1189128628.62.0.444123560856.issue1125@psf.upfronthosting.co.za>
In-reply-to
Content
>>> 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.
History
Date User Action Args
2007-09-07 01:30:28nirssetspambayes_score: 0.155893 -> 0.155893
recipients: + nirs
2007-09-07 01:30:28nirssetspambayes_score: 0.155893 -> 0.155893
messageid: <1189128628.62.0.444123560856.issue1125@psf.upfronthosting.co.za>
2007-09-07 01:30:28nirslinkissue1125 messages
2007-09-07 01:30:28nirscreate