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 fviard
Recipients docs@python, fviard, r.david.murray, terry.reedy
Date 2013-10-08.17:17:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381252654.03.0.541006704777.issue19154@psf.upfronthosting.co.za>
In-reply-to
Content
R. David, what you say is correct, supporting "select" that would be nice but i'm also not sure that is supposed to, and in that case, maybe select as to be fixed for that.

But:
a) As urllib2 through httplib provide publicly a fileno, i was excepting so.
b) The real point of my issue is that i noticed that there is 3 different return values, for the similar fileno function in 3 different modules of python, when the file descriptor is closed or inexistant:
- in urllib2->httplib: AttributeError as "None" as no "fileno()" attribute.
- in socket : ValueError
- in fileinput: -1

And for the 2 firsts, one is finally using the fileno function of the other.
History
Date User Action Args
2013-10-08 17:17:34fviardsetrecipients: + fviard, terry.reedy, r.david.murray, docs@python
2013-10-08 17:17:34fviardsetmessageid: <1381252654.03.0.541006704777.issue19154@psf.upfronthosting.co.za>
2013-10-08 17:17:34fviardlinkissue19154 messages
2013-10-08 17:17:33fviardcreate