]> granicus.if.org Git - python/commit
Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,
authorGregory P. Smith <greg@mad-scientist.com>
Wed, 9 Apr 2008 23:16:37 +0000 (23:16 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Wed, 9 Apr 2008 23:16:37 +0000 (23:16 +0000)
commitc00eb73a309d5e9a4e89c3114b32eda88bd83e98
treefaec1107bc64ecfc8f230d9f294a02503a530e45
parentf10832005599cb78b20ccbae63adf8a9450ba2bf
Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,
PyBytes_FromStringAndSize or PyUnicode_FromStringAndSize.  [issue2587]
Objects/bytesobject.c
Objects/stringobject.c
Objects/unicodeobject.c