Inada Naoki <songofaca...@gmail.com> added the comment:
> I've left it as is using the same rationale as I guess open() has at the > moment - "Errors should never pass silently. Unless explicitly silenced". But open() is general purpose, and logging is for logging. Note that stderr uses 'backslashreplace', even when PYTHONIOENCODING=ascii:strict is used. And if we don't log something due to encoding error, doesn't it mean "errors may ignored completely silently by default"? What logging does when UnicodeEncodeError is happened? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37111> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com