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 <1427075415.23.0.920792292656.issue23740@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
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: <1427075415.23.0.920792292656.issue23740@psf.upfronthosting.co.za>
2015-03-23 01:50:15r.david.murraylinkissue23740 messages
2015-03-23 01:50:14r.david.murraycreate