This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: codecs.lookup docstring is misleading
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: exarkun, georg.brandl
Priority: normal Keywords:

Created on 2009-03-15 16:26 by exarkun, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg83640 - (view) Author: Jean-Paul Calderone (exarkun) * (Python committer) Date: 2009-03-15 16:26
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.
msg83641 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-15 21:32
Thanks, fixed in r70386.
History
Date User Action Args
2022-04-11 14:56:46adminsetgithub: 49746
2009-03-15 21:32:26georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg83641
2009-03-15 16:26:29exarkuncreate