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.

Author eric.snow
Recipients eric.snow
Date 2016-09-07.18:17:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In Lib/encodings/, search_function() looks up an encoding by name.  It loads the encoding by importing the corresponding module in the encodings package.  If there's an ImportError while importing that module then the encoding gets silently ignored.  I noticed this while working on issue #16384.

While I don't have any direct interest in the matter, I expect that it would be more useful to users if we issued a warning or some other printed message when an encoding is ignored.
Date User Action Args
2016-09-07 18:17:08eric.snowsetrecipients: + eric.snow
2016-09-07 18:17:08eric.snowsetmessageid: <>
2016-09-07 18:17:08eric.snowlinkissue28005 messages
2016-09-07 18:17:08eric.snowcreate