Author llllllllll
Recipients llllllllll
Date 2015-12-01.02:07:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448935631.22.0.209196895729.issue25770@psf.upfronthosting.co.za>
In-reply-to
Content
This patch adds 3 properties to methodcaller objects for inspecting the object at runtime:

1. 'name': the name of the method to call
2. 'args': the position arguments to pass to the method
3. 'keywords': the keyword arguments to pass to the method

args and keywords act like functools.partial (that is why I did not name it kwargs).

I noticed that recently the repr changed to expose this information which helps in the debugging use case; however, this allows us to use the methodcaller to maybe construct a new methodcaller with different args, or call a different method with the same args.
History
Date User Action Args
2015-12-01 02:07:11llllllllllsetrecipients: + llllllllll
2015-12-01 02:07:11llllllllllsetmessageid: <1448935631.22.0.209196895729.issue25770@psf.upfronthosting.co.za>
2015-12-01 02:07:10lllllllllllinkissue25770 messages
2015-12-01 02:07:10llllllllllcreate