commit | 8902442e2f8040c368f4a3750031baa3e4bfc5d0 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Mon Oct 23 16:00:54 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Mon Oct 23 16:00:54 2000 +0000 |
tree | ce490f639c6204f770f22520c097f933034d45bd | |
parent | 246f65f2bb387e71a26ddbbdab9dfd50ab2ebcbe [diff] |
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"