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 serhiy.storchaka
Recipients Rhodri James, ethan.furman, serhiy.storchaka, vinay.sajip
Date 2020-06-27.11:31:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593257483.85.0.980733000785.issue41140@roundup.psfhosted.org>
In-reply-to
Content
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 handlers (e.g. 'xmlcharrreplace' for html and 'backslashreplace' for text) for handling encoding errors or use the UTF-8 encoding.
History
Date User Action Args
2020-06-27 11:31:23serhiy.storchakasetrecipients: + serhiy.storchaka, vinay.sajip, ethan.furman, Rhodri James
2020-06-27 11:31:23serhiy.storchakasetmessageid: <1593257483.85.0.980733000785.issue41140@roundup.psfhosted.org>
2020-06-27 11:31:23serhiy.storchakalinkissue41140 messages
2020-06-27 11:31:23serhiy.storchakacreate