Message196131
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. |
|
Date |
User |
Action |
Args |
2013-08-25 13:49:21 | r.david.murray | set | recipients:
+ r.david.murray, Thibault.Kruse |
2013-08-25 13:49:21 | r.david.murray | set | messageid: <1377438561.14.0.857922902321.issue18829@psf.upfronthosting.co.za> |
2013-08-25 13:49:21 | r.david.murray | link | issue18829 messages |
2013-08-25 13:49:20 | r.david.murray | create | |
|