Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: The wrong closed() call was corrected with r67923.
Then, the io module is by design very picky about the distinction between bytes and unicode. This is different from the philosophy of other parts of the library, but io comes from python 3.0... StringIO only accepts and return unicode strings; its "default encoding" of StringIO is an implementation (how the text is stored in memory) and is even not used anymore in python 3.0 ---------- nosy: +amaury.forgeotdarc resolution: -> out of date status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5568> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com