This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients demian.brecht, martin.panter, r.david.murray, serhiy.storchaka
Date 2015-03-23.01:50:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yeah, if we're going to check the type for iterables to convert strings, we might as well check the type for read() as well.

The bit about the len not being set except for str and bytes was me mis-remembering what I read in the code.  (The isinstance check is about whether _send_output sends the body in the same packet.)
Date User Action Args
2015-03-23 01:50:15r.david.murraysetrecipients: + r.david.murray, martin.panter, serhiy.storchaka, demian.brecht
2015-03-23 01:50:15r.david.murraysetmessageid: <>
2015-03-23 01:50:15r.david.murraylinkissue23740 messages
2015-03-23 01:50:14r.david.murraycreate