[issue12892] UTF-16 and UTF-32 codecs should reject (lone) surrogates

STINNER Victor report at bugs.python.org
Tue Nov 29 22:13:32 CET 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Patch rejecting surrogates in UTF-16 and UTF-32 encoders.

I don't think that Python 2.7 and 3.2 should be changed in a minor version.

----------
dependencies:  -Refactor code using unicode_encode_call_errorhandler() in unicodeobject.c
keywords: +patch
Added file: http://bugs.python.org/file23810/utf_16_32_surrogates.patch

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


More information about the Python-bugs-list mailing list