[New-bugs-announce] [issue1519] async_chat.__init__() parameters

Nadeem Vawda report at bugs.python.org
Thu Nov 29 15:20:58 CET 2007


New submission from Nadeem Vawda:

The __init__() function for asynchat.async_chat doesn't allow the caller
to specify a channel map.  I thought it would make sense to add an
optional 'map' parameter, for consistency with asyncore.dispatcher.  If
the parameter is not specified, asyncore.dispatcher.__init__() will
default to using the global map, which is the current behaviour.

----------
components: Library (Lib)
files: asynchat.patch
messages: 57930
nosy: nvawda
severity: minor
status: open
title: async_chat.__init__() parameters
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file8822/asynchat.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1519>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asynchat.patch
Type: application/octet-stream
Size: 666 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071129/3531fb02/attachment.obj 


More information about the New-bugs-announce mailing list