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 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 :-)
History
Date User Action Args
2016-10-19 00:01:03vstinnersetrecipients: + vstinner, python-dev, martin.panter, yselivanov
2016-10-19 00:01:03vstinnerlinkissue26685 messages
2016-10-19 00:01:03vstinnercreate