[Patches] [ python-Patches-468647 ] Fix exception propagation in asyncore

noreply@sourceforge.net noreply@sourceforge.net
Tue, 09 Oct 2001 03:15:07 -0700


Patches item #468647, was opened at 2001-10-06 15:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=468647&group_id=5470

Category: Library (Lib)
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Cesar Eduardo Barros (cesarb)
Assigned to: Martin v. Löwis (loewis)
Summary: Fix exception propagation in asyncore

Initial Comment:
KeyError exceptions from a handle_error method are not
propagated, while any other exceptions are. This is
clearly not intentional. The attached patch fixes it.

The patch is against CVS asyncore.py 1.20.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2001-10-09 03:15

Message:
Logged In: YES 
user_id=21627

Thanks for the patch, I have applied it as asyncore.py 1.21.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2001-10-09 00:40

Message:
Logged In: YES 
user_id=21627

The patch looks good to me.


----------------------------------------------------------------------

Comment By: Cesar Eduardo Barros (cesarb)
Date: 2001-10-06 15:11

Message:
Logged In: YES 
user_id=57799

The first patch was bogus. Please apply the second one instead.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=468647&group_id=5470