[issue41140] cgitb uses the locale encoding for log files

2020-07-20 Thread Rhodri James
Change by Rhodri James : -- nosy: -Rhodri James ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41140] cgitb uses the locale encoding for log files

2020-06-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : If logdir is not None the exception handler in cgitb tries to save the description of an error in that directory using the locale encoding. It will fail if the description contains non-encodable characters. We should either use corresponding error