Benjamin Peterson added the comment:

According to the docs: "When a StringIO object is created, it can be
initialized to an existing string by passing the string to the constructor."
So, it seems that that the docs are being too strict, or the code is
being too open. The conversion to str in the constructor is explicit, so
I'd favor leaving it be.

----------
nosy: +benjamin.peterson

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1986>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to