Message345430
> 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? |
|
Date |
User |
Action |
Args |
2019-06-12 23:52:58 | methane | set | recipients:
+ methane, paul.moore, vinay.sajip, tim.golden, SilentGhost, zach.ware, steve.dower, jonathan-lp |
2019-06-12 23:52:58 | methane | set | messageid: <1560383578.37.0.964437769921.issue37111@roundup.psfhosted.org> |
2019-06-12 23:52:58 | methane | link | issue37111 messages |
2019-06-12 23:52:58 | methane | create | |
|