]> granicus.if.org Git - python/commit
SF # 654974, fix unchecked return values in structseq
authorNeal Norwitz <nnorwitz@gmail.com>
Wed, 18 Dec 2002 23:20:39 +0000 (23:20 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Wed, 18 Dec 2002 23:20:39 +0000 (23:20 +0000)
commit8feeabb975f416a8cc8bc44d466982da44cf0f54
tree5d3c3d1761ee040ebc8c2f52da8d1a4102dc1e1f
parent543c9253cd19ae99c218c5b5e9d5b8dd49e2468e
SF # 654974, fix unchecked return values in structseq

Check return values after memory allocation.
Also use Py_True instead of PyInt_FromLong(1) for bool value.

Backport candidate.
Objects/structseq.c