[issue7615] unicode_escape codec does not escape quotes

Richard Hansen report at bugs.python.org
Sun Jan 10 03:00:07 CET 2010


Richard Hansen <rhansen at bbn.com> added the comment:

Attaching a patch that eliminates duplicate code:
  * Merge unicodeescape_string(), PyUnicode_EncodeRawUnicodeEscape(), and modified_EncodeRawUnicodeEscape() into one function called _PyUnicode_EncodeCustomUnicodeEscape().

This patch is meant to be applied after unicode_escape_3_check_size_nonnegative.patch.

----------
Added file: http://bugs.python.org/file15813/unicode_escape_4_eliminate_duplicate_code.patch

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


More information about the Python-bugs-list mailing list