[issue5496] codecs.lookup docstring is misleading

2009-03-15 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r70386. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue5496] codecs.lookup docstring is misleading

2009-03-15 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : 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 an