[issue1548891] shlex (or perhaps cStringIO) and unicode strings

Antoine Pitrou report at bugs.python.org
Sat Oct 22 21:32:34 CEST 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> If you think it's fine to change this behavior, then yes :)

Well, the "documented" behaviour makes no sense.
Either it should raise TypeError or convert. Since write() converts, it's logical for the constructor to do so as well.

----------
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1548891>
_______________________________________


More information about the Python-bugs-list mailing list