Richard Hansen <rhan...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue7615> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com