]> granicus.if.org Git - python/commit
Added exception to the rule that the buffer returned by PyString_AsString()
authorFred Drake <fdrake@acm.org>
Mon, 23 Oct 2000 16:00:54 +0000 (16:00 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 23 Oct 2000 16:00:54 +0000 (16:00 +0000)
commit8902442e2f8040c368f4a3750031baa3e4bfc5d0
treece490f639c6204f770f22520c097f933034d45bd
parent246f65f2bb387e71a26ddbbdab9dfd50ab2ebcbe
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"
Doc/api/api.tex