]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Backport r50681 | neal.norwitz]
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 19:38:17 +0000 (19:38 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 5 Oct 2006 19:38:17 +0000 (19:38 +0000)
commit32f378b0d925d960c3f72c0fd646c7b1b3237b5f
tree1fbb4a069b73bedc3d3df0797bd23a85c68f69bb
parent20cc6be1aada880f0267eaca39ebb70d0e790692
[Backport r50681 | neal.norwitz]

PyFunction_SetDefaults() is documented as taking None or a tuple.
A NULL would crash the PyTuple_Check().  Now make NULL return a SystemError.

Reported by Klocwork #73.
Objects/funcobject.c