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 sandro.tosi
Recipients giampaolo.rodola, sandro.tosi
Date 2011-02-17.18:22:41
SpamBayes Score 0.009457253
Marked as misclassified No
Message-id <1297966962.24.0.99288850645.issue11232@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, following up http://mail.python.org/pipermail/docs/2011-February/003095.html I'm attaching a simple patch to avoid a traceback similar to this when a client disconnects:

error: uncaptured python exception, closing channel <__main__.EchoHandler 127.0.0.1:41884 at 0x150ae60> (<class 'socket.error'>:[Errno 9] Bad file descriptor [/home/morph/python-dev/py3k/Lib/asyncore.py|read|81] [/home/morph/python-dev/py3k/Lib/asyncore.py|handle_read_event|440] [<stdin>|handle_read|4] [/home/morph/python-dev/py3k/Lib/asyncore.py|send|550] [/home/morph/python-dev/py3k/Lib/asyncore.py|initiate_send|537] [/home/morph/python-dev/py3k/Lib/asyncore.py|send|367])
History
Date User Action Args
2011-02-17 18:22:42sandro.tosisetrecipients: + sandro.tosi, giampaolo.rodola
2011-02-17 18:22:42sandro.tosisetmessageid: <1297966962.24.0.99288850645.issue11232@psf.upfronthosting.co.za>
2011-02-17 18:22:41sandro.tosilinkissue11232 messages
2011-02-17 18:22:41sandro.tosicreate