SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 68 Python

Check whether a string resize is necessary at the end

of PyString_DecodeEscape(). This prevents a call to
_PyString_Resize() for the empty string, which would
result in a PyErr_BadInternalCall(), because the
empty string has more than one reference.

This closes SF bug http://www.python.org/sf/603937
W
Walter Dörwald committed
8709a420c46aac08c2e692ab8fe181c1deb61e11
Parent: 8e790e7