I think there was a tiny bug in new_function() -- the 'defaults'
argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None.
Showing
Please register or sign in to comment
argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None.