[issue17517] StringIO() does not behave like cStringIO() when given an array object

Antoine Pitrou report at bugs.python.org
Fri Mar 22 10:56:19 CET 2013


Antoine Pitrou added the comment:

Indeed, this is probably too late to fix, since it only affects 2.7. Calling StringIO / cStringIO with a non-str argument should probably have raised TypeError, for the sake of sanity.

----------
nosy: +pitrou
resolution:  -> wont fix
status: open -> closed

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


More information about the Python-bugs-list mailing list