Ezio Melotti added the comment:

IMHO the error should say """TypeError: "delimiter" must be an 1-character 
string, not bytes""".
We could also have two separate errors for "wrong type" and "right type, wrong 
length" (this would be a ValueError though).

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18829>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to