Staging
v0.5.1
https://github.com/python/cpython
Revision 32f378b0d925d960c3f72c0fd646c7b1b3237b5f authored by Andrew M. Kuchling on 05 October 2006, 19:38:17 UTC, committed by Andrew M. Kuchling on 05 October 2006, 19:38:17 UTC
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.
1 parent 20cc6be
History
Tip revision: 32f378b0d925d960c3f72c0fd646c7b1b3237b5f authored by Andrew M. Kuchling on 05 October 2006, 19:38:17 UTC
[Backport r50681 | neal.norwitz]
Tip revision: 32f378b

README

back to top