]> granicus.if.org Git - python/commit
[Bug #758241] When you use asyncore with a non-default map, methods
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 22 Oct 2003 13:48:27 +0000 (13:48 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 22 Oct 2003 13:48:27 +0000 (13:48 +0000)
commitf9ca40929241fa83c4fc7a8f2ba6c334286e5e16
tree08a0e1f1a23105b2ac73de6bf81c06de8223f8a5
parentd22bb6584d61b822bd1d6841a40f50d31aba650c
[Bug #758241] 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.

  The patch, from Stephane Ninin, records the map as an attribute of
  the dispatcher instance.

2.3 bugfix candidate.
Lib/asyncore.py