Message199221
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. |
|
Date |
User |
Action |
Args |
2013-10-08 17:17:34 | fviard | set | recipients:
+ fviard, terry.reedy, r.david.murray, docs@python |
2013-10-08 17:17:34 | fviard | set | messageid: <1381252654.03.0.541006704777.issue19154@psf.upfronthosting.co.za> |
2013-10-08 17:17:34 | fviard | link | issue19154 messages |
2013-10-08 17:17:33 | fviard | create | |
|