Message278952
| Author |
vstinner |
| Recipients |
martin.panter, python-dev, vstinner, yselivanov |
| Date |
2016年10月19日.00:01:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwZ41zVXgFy=CTYhSU4BJhX6FX_7Jtcw+hroFUKb3d+PYw@mail.gmail.com> |
| In-reply-to |
<1476834150.38.0.141021366927.issue26685@psf.upfronthosting.co.za> |
| Content |
> My proposal: ignore EBADF in socket.close(). It means that the socket is closed already. It doesn't matter why.
As Martin explained, getting EBAD means that your code smells. Your
code may close completely unrelated file descriptor... Say hello to
race conditions :-) |
|