Author gvanrossum
Recipients docs@python, gvanrossum, neologix, vstinner
Date 2013-12-04.18:23:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386181406.73.0.331177759645.issue19876@psf.upfronthosting.co.za>
In-reply-to
Content
I just ran into a live case of the platform differences here.  Check out http://bugs.python.org/review/19509/ (issue 19509).  Christian uploaded a patch for asyncio, and when I tested it I got a double traceback and a hang.  This could have been avoided if the unregister() call for the closed FD had been silent instead of raising.

I think that the proper fix might have been not to close the socket, but nevertheless this failure confused everyone -- the author of the patch thought it had to do with the SSL version, I was initially confused by the first half of the traceback (which turned out to be expected, this was in an assertRaises() call), and I spent half an hour in pdb to track down the real cause.
History
Date User Action Args
2013-12-04 18:23:26gvanrossumsetrecipients: + gvanrossum, vstinner, neologix, docs@python
2013-12-04 18:23:26gvanrossumsetmessageid: <1386181406.73.0.331177759645.issue19876@psf.upfronthosting.co.za>
2013-12-04 18:23:26gvanrossumlinkissue19876 messages
2013-12-04 18:23:26gvanrossumcreate