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

SourceForge.net noreply at sourceforge.net
Fri Aug 29 11:57:06 EDT 2003


Bugs item #760475, was opened at 2003-06-25 09:11
Message generated for change (Settings changed) made by akuchling
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: A.M. Kuchling (akuchling)
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 14: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



More information about the Python-bugs-list mailing list