[issue19548] 'codecs' module docs improvements

Nick Coghlan report at bugs.python.org
Sat Nov 16 14:25:02 CET 2013


Nick Coghlan added the comment:

Another big one: the encodings module API is not documented in the prose docs, and nor is the interface between the default search function and the individual encoding definitions. There's some decent info in help(encoding) though.

The interaction with the import system could also be documented better - you can actually blacklist codecs by manipulating sys.modules and the encodings namespace, and you can search additional locations for codec modules by manipulating encodings.__path__ (even without it being declared as a namespace package)

----------

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


More information about the Python-bugs-list mailing list