[Python-bugs-list] [ python-Bugs-760475 ] asyncore.py and "handle_error"

SourceForge.net noreply@sourceforge.net
Wed, 25 Jun 2003 11:11:55 -0700


Bugs item #760475, was opened at 2003-06-25 13:11
Message generated for change (Comment added) made by jhylton
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=760475&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jesús Cea Avión (jcea)
Assigned to: Nobody/Anonymous (nobody)
Summary: asyncore.py and "handle_error"

Initial Comment:
When an uncached exception arises in "asyncore", the
method "handle_error" is called. This method calls
"self.close()" when it MUST call "self.handle_close()",
in order to support correctly the "delegation" design
pattern, for example.



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

>Comment By: Jeremy Hylton (jhylton)
Date: 2003-06-25 18:11

Message:
Logged In: YES 
user_id=31392

Can you expand on your comments.  I don't know what the
delegation design pattern you refer to is.  Can you provide
an example of why it is necessary that asyncore not call
close()?


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=760475&group_id=5470