[issue23676] Add support of UnicodeTranslateError in standard error handlers

Serhiy Storchaka report at bugs.python.org
Sun Mar 15 22:59:08 CET 2015


New submission from Serhiy Storchaka:

Proposed patch adds support of UnicodeTranslateError in standard error handlers "xmlcharrefreplace", "namereplace" and "surrogatepass". Support in "backslashreplace" was added in issue22286, support in "strict", "ignore" and "replace" was always, support in "surrogateescape" is unlikely possible.

This can be used with issue18814.

----------
components: Interpreter Core
files: translate_error_handlers.patch
keywords: patch
messages: 238163
nosy: doerwalter, lemburg, ncoghlan, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add support of UnicodeTranslateError in standard error handlers
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file38502/translate_error_handlers.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23676>
_______________________________________


More information about the Python-bugs-list mailing list