[Stackless] stacklesssocket exception swallowing (was: Buglet in libevent stackless socket).

Richard Tew richard.m.tew at gmail.com
Fri Feb 4 07:09:14 CET 2011


On Tue, Feb 1, 2011 at 9:58 PM, Richard Tew <richard.m.tew at gmail.com> wrote:

> As I now have a Ubuntu installation running in a virtual machine, I took a
> look at this.  It was a bug in asyncore in Python 2.6, where a connection
> error was treated like a normal connection event.  I added special case code
> to stacklesssocket.py to do the proper handling if Python 2.6 is being used.
>  A new version has been checked in.
>

A strange thing is that when I run the socket unit tests against
stacklesssocket module, they pass if this fix is not in place.  And fail if
this fix is in place.  Since this fix is obviously correct if not just
correcter, I'll have to look into this a bit more.

Cheers,
Richard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110204/d9924aee/attachment.html>


More information about the Stackless mailing list