Message191998
Based on a quick glance at the code, the problem isn't that you are passing fileobj, it is that fileobj has been opened for writing, not reading, and you are attempting to read from it. extrastart (and other attibutes) are only set if mode starts with 'r'.
There is certainly a bug here, but it might just be that a clearer error should be generated if you try to read a fileobj open for writing. |
|
Date |
User |
Action |
Args |
2013-06-28 15:30:02 | r.david.murray | set | recipients:
+ r.david.murray, nadeem.vawda, Laurent.Gautier |
2013-06-28 15:30:02 | r.david.murray | set | messageid: <1372433402.13.0.63831125032.issue18323@psf.upfronthosting.co.za> |
2013-06-28 15:30:02 | r.david.murray | link | issue18323 messages |
2013-06-28 15:30:01 | r.david.murray | create | |
|