Author r.david.murray
Recipients Thibault.Kruse, r.david.murray
Date 2013-08-25.13:49:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377438561.14.0.857922902321.issue18829@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that the 2.7 message is somewhat confusing, but I'm not sure it is worth changing at this point in 2.7's life cycle.  

For Python3, the message is correct and unambiguous: a bytes object is not a string.

However, in 3.3, we have a regression:

rdmurray@hey:~/python/p34>python3.3 -c 'import csv; reader = csv.reader("foo", delimiter=b",")'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: delimiter must be set

So that needs to be tracked down and fixed.
History
Date User Action Args
2013-08-25 13:49:21r.david.murraysetrecipients: + r.david.murray, Thibault.Kruse
2013-08-25 13:49:21r.david.murraysetmessageid: <1377438561.14.0.857922902321.issue18829@psf.upfronthosting.co.za>
2013-08-25 13:49:21r.david.murraylinkissue18829 messages
2013-08-25 13:49:20r.david.murraycreate