asyncore question
Raymond Hettinger
vze4rx4y at verizon.net
Mon Sep 15 09:22:29 EDT 2003
> > This dispatcher will be added to the global map.
> > But probably user will call asyncore.loop(map=some_map),
> > as d was buillt with this map.
> >
> > Is there not something wrong here, or am I just missing something ?
>
> I believe it's an oversight in asyncore. Either create_socket should take
> a map parameter, or __init__ should store the initial map and
> create_socket should use it. One workaround is to create the socket
> yourself and call set_socket(sock, some_map).
Please submit a bug report.
Raymond Hettinger
More information about the Python-list
mailing list