[Python-bugs-list] [ python-Bugs-758241 ] asyncore with non-default map problems

SourceForge.net noreply at sourceforge.net
Thu Sep 25 08:54:11 EDT 2003


Bugs item #758241, was opened at 2003-06-20 21:41
Message generated for change (Settings changed) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=758241&group_id=5470

Category: Python Library
>Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Halley (rthalley)
>Assigned to: A.M. Kuchling (akuchling)
Summary: asyncore with non-default map problems

Initial Comment:
When you use asyncore with a non-default map, methods

of the dispatcher object break.



E.g. if you close() the object, it tries to remove

itself from the default map, not from the map the

dispatcher was created with.



There should be a map instance variable that contains

the map the object was created with, and it should be

used whenever the map needs to be referenced, e.g. in

add_channel/del_channel.



This would make close work correctly again.



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

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



More information about the Python-bugs-list mailing list