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 fviard, r.david.murray, terry.reedy
Date 2013-10-07.09:56:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hi Terry,
I think you misunderstood what i was trying to say.
Maybe fileno should raise a ValueError (and not -1) in that case. That is the question. It should only be able to be something understood by "".
But currently it is an Bug/Crash as the case where self.fp is None is not handled before trying to get self.fp.fileno() and so this raise an AttributeError and not a ValueError. And so, it is certainly not managed by select.

Please really understand that here I speak about the "def fileno()" function that is inside Lib/http/" and not about the "def fileno()" that is in
Date User Action Args
2013-10-07 09:56:55fviardsetrecipients: + fviard, terry.reedy, r.david.murray
2013-10-07 09:56:55fviardsetmessageid: <>
2013-10-07 09:56:55fviardlinkissue19154 messages
2013-10-07 09:56:55fviardcreate