[issue28005] Broken encoding modules are silently skipped.

Marc-Andre Lemburg report at bugs.python.org
Thu Sep 8 03:35:38 EDT 2016


Marc-Andre Lemburg added the comment:

Thinking about this some, we could go ahead and document somewhere that if a codec wants to tell the search function that it cannot work due to some missing dependency, it will have to raise an ImportError from the codec module level (instead of just lettering ImportError bubble up), possibly reraising the error to assure this.

----------

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


More information about the Python-bugs-list mailing list