[New-bugs-announce] [issue5496] codecs.lookup docstring is misleading

Jean-Paul Calderone report at bugs.python.org
Sun Mar 15 17:26:32 CET 2009


New submission from Jean-Paul Calderone <exarkun at divmod.com>:

codecs.lookup is documented as returning a tuple.  It actually returns a
what the registered lookup function returns, which really *should* be a
codecs.CodecInfo instance.  If a registered lookup function actually
returns a tuple, then codecs.getreader and the other similar functions
won't work.

----------
assignee: georg.brandl
components: Documentation
messages: 83640
nosy: exarkun, georg.brandl
severity: normal
status: open
title: codecs.lookup docstring is misleading

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5496>
_______________________________________


More information about the New-bugs-announce mailing list