summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-09-03 13:53:40 +0000
committerWalter Dörwald <walter@livinglogic.de>2002-09-03 13:53:40 +0000
commit8709a420c46aac08c2e692ab8fe181c1deb61e11 (patch)
tree995b63b7da361cdefe0042cfdc2b5dccbf013869 /Python/sysmodule.c
parent8e790e700777cdb0fdecf3acaf53d5ad06784501 (diff)
downloadcpython-git-8709a420c46aac08c2e692ab8fe181c1deb61e11.tar.gz
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
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions