Message262503
Okay let’s document fileno(), read, write and seek operations in the base classes as raising OSError then. This effectively rejects the OP (Stanislaw’s) view that the exception should be more specific.
In patch v3, I changed everything over to say OSError is raised. I also added a background thread to drain the pipe writer. And I removed a test_no_fileno() method which was having an “existential crisis”. :) |
|
Date |
User |
Action |
Args |
2016-03-27 01:26:49 | martin.panter | set | recipients:
+ martin.panter, pitrou, benjamin.peterson, stutzbach, serhiy.storchaka, viraptor |
2016-03-27 01:26:49 | martin.panter | set | messageid: <1459042009.19.0.725907119731.issue22854@psf.upfronthosting.co.za> |
2016-03-27 01:26:49 | martin.panter | link | issue22854 messages |
2016-03-27 01:26:45 | martin.panter | create | |
|