[issue28005] Broken encoding modules are silently skipped.
Steve Dower
report at bugs.python.org
Thu Sep 8 09:18:20 EDT 2016
Steve Dower added the comment:
Is it deliberate that inner import errors should be treated as if the codec is missing? Another search function isn't going to help in that case unless it finds the same encoding in another place. I didn't see any evidence of that, and apparently neither did Eric (but I was bitten by a misspelt import within my new encodings/oem.py giving a confusing message).
I don't think any encoding modules in the stdlib should fail to import. This change ensures that we hear about it if they do fail.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28005>
_______________________________________
More information about the Python-bugs-list
mailing list