[issue7615] unicode_escape codec does not escape quotes

Richard Hansen report at bugs.python.org
Tue Jan 5 22:28:09 CET 2010


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

Attaching updated unicode_escape_reorg.patch.  This fixes two additional issues:
  * don't call _PyString_Resize() on an empty string because there is only one empty string instance, and that instance is returned when creating an empty string
  * make sure the size parameter is nonnegative

----------
Added file: http://bugs.python.org/file15748/unicode_escape_reorg.patch

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


More information about the Python-bugs-list mailing list