Message253528
David, what’s your use case for doing non-blocking buffered writing “correctly”? Would you be able to use the context manager functionality? I would have thought you would explicitly call flush() as many times as necessary, but only call close() once when you are done.
At least in blocking mode, close() is meant do as much as possible, despite any intermediate exceptions. It doesn’t seem wise to break this rule in non-blocking mode. |
|
Date |
User |
Action |
Args |
2015-10-27 11:19:55 | martin.panter | set | recipients:
+ martin.panter, dabeaz, eryksun |
2015-10-27 11:19:55 | martin.panter | set | messageid: <1445944795.33.0.565624626345.issue25476@psf.upfronthosting.co.za> |
2015-10-27 11:19:55 | martin.panter | link | issue25476 messages |
2015-10-27 11:19:55 | martin.panter | create | |
|