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] |
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.
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] |