Message232971
Patch to fix the underlying issue I mentioned in msg230955. After calling detach() on one of the BufferedIOBase wrappers or a TextIOWrapper, most operations will raise an exception. My patch ensures the following operations are still usable, because they are documented and it doesn’t make sense to disable them:
repr(stream)
stream.encoding
stream.errors
stream.line_buffering |
|
Date |
User |
Action |
Args |
2014-12-20 14:19:49 | martin.panter | set | recipients:
+ martin.panter |
2014-12-20 14:19:49 | martin.panter | set | messageid: <1419085189.47.0.13249408936.issue23093@psf.upfronthosting.co.za> |
2014-12-20 14:19:49 | martin.panter | link | issue23093 messages |
2014-12-20 14:19:49 | martin.panter | create | |
|