This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Inferior Functions Calls and Python Values


On 09/09/2009 09:22 AM, Phil Muldoon wrote:
This patch allows a Python value to become "callable", and to execute any underlying function by means of an inferior function call. This is implemented purely as a function that is registered within the call field on the PyTypeObject. When a Python value is now called, the arguments are converted into a list of values. This value list, along with the value representing the function, is passed to the call_method_by_hand function.


I've regenerated this patch against the new Python 8.3 names/merge that was committed last night. Attached.


Regards

Phil

Attachment: pyval_inferiorcall_rename.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]