Message199134
| 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 |
<1381139815.35.0.360491582767.issue19154@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 "select.select".
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/client.py" and not about the "def fileno()" that is in socket.py. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年10月07日 09:56:55 | fviard | set | recipients:
+ fviard, terry.reedy, r.david.murray |
| 2013年10月07日 09:56:55 | fviard | set | messageid: <1381139815.35.0.360491582767.issue19154@psf.upfronthosting.co.za> |
| 2013年10月07日 09:56:55 | fviard | link | issue19154 messages |
| 2013年10月07日 09:56:55 | fviard | create |
|