Message238969
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:15 | r.david.murray | set | recipients:
+ r.david.murray, martin.panter, serhiy.storchaka, demian.brecht |
2015-03-23 01:50:15 | r.david.murray | set | messageid: <1427075415.23.0.920792292656.issue23740@psf.upfronthosting.co.za> |
2015-03-23 01:50:15 | r.david.murray | link | issue23740 messages |
2015-03-23 01:50:14 | r.david.murray | create | |
|