summaryrefslogtreecommitdiff
path: root/Python/pythonmain.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-23 16:00:54 +0000
committerFred Drake <fdrake@acm.org>2000-10-23 16:00:54 +0000
commitf95e7c798961819d7ab870ec03ab525b779d4c63 (patch)
tree1f768468f9b7101397210529caa963a77778c2fd /Python/pythonmain.c
parent38345d0e0ab680a911208d5254b62d1ac528da3f (diff)
downloadcpython-f95e7c798961819d7ab870ec03ab525b779d4c63.tar.gz
Added exception to the rule that the buffer returned by PyString_AsString()
and PyString_AsStringAndSize() for strings that were just created using PyString_FromStringAndSize(NULL, n). This closes bug #117377. Added warning about passing NULL to the concrete object functions; many of them use the appropriate Py<Type>_Check() test, but do not check for NULL. "de-allocated" --> "deallocated"
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions