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 christianbecke
Recipients christianbecke
Date 2008-11-17.00:20:28
SpamBayes Score 0.0048169205
Marked as misclassified No
Message-id <1226881232.51.0.043979894828.issue4332@psf.upfronthosting.co.za>
In-reply-to
Content
asyncore.file_dispatcher stores the file descriptor passed to
asyncore.file_dispatcher.__init__ into the map, not the dup()'ed one
created by asyncore.file_wrapper. Because of this, a "select.error (9,
'Bad file descriptor')" is raised in asyncore.loop() if the fd passed to
asyncore.file_dispatcher.__init__ is closed while the loop is running.
Attached patch fixes the issue.
History
Date User Action Args
2008-11-17 00:20:32christianbeckesetrecipients: + christianbecke
2008-11-17 00:20:32christianbeckesetmessageid: <1226881232.51.0.043979894828.issue4332@psf.upfronthosting.co.za>
2008-11-17 00:20:29christianbeckelinkissue4332 messages
2008-11-17 00:20:29christianbeckecreate