Author Bartosz Gołaszewski
Recipients Bartosz Gołaszewski
Date 2018-06-11.09:54:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528710870.35.0.592728768989.issue33829@psf.upfronthosting.co.za>
In-reply-to
Content
If we want to call an object's method from C code and pass it the args and kwargs tuples unchanged, we need to first retrieve the callable object using PyObject_GetAttrString(), then call it using PyObject_Call().

I would like to propose wrapping the two calls in a new helper.
History
Date User Action Args
2018-06-11 09:54:30Bartosz Gołaszewskisetrecipients: + Bartosz Gołaszewski
2018-06-11 09:54:30Bartosz Gołaszewskisetmessageid: <1528710870.35.0.592728768989.issue33829@psf.upfronthosting.co.za>
2018-06-11 09:54:30Bartosz Gołaszewskilinkissue33829 messages
2018-06-11 09:54:30Bartosz Gołaszewskicreate