This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients benjamin.peterson, martin.panter, pitrou, serhiy.storchaka, stutzbach, viraptor
Date 2016-03-27.01:26:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1459042009.19.0.725907119731.issue22854@psf.upfronthosting.co.za>
In-reply-to
Content
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”. :)
History
Date User Action Args
2016-03-27 01:26:49martin.pantersetrecipients: + martin.panter, pitrou, benjamin.peterson, stutzbach, serhiy.storchaka, viraptor
2016-03-27 01:26:49martin.pantersetmessageid: <1459042009.19.0.725907119731.issue22854@psf.upfronthosting.co.za>
2016-03-27 01:26:49martin.panterlinkissue22854 messages
2016-03-27 01:26:45martin.pantercreate