[Python-Dev] PEP 309: Partial method application
"Martin v. Löwis"
martin at v.loewis.de
Fri Aug 19 22:08:23 CEST 2005
Josiah Carlson wrote:
> Steven Bethard <steven.bethard at gmail.com> wrote:
>>I agree that an operator.methodcaller() shouldn't try to support
>>multiple methods. OTOH, the syntax
>> methodcall.method(*args, **kwargs)
>>doesn't really lend itself to multiple methods either.
> But that's OK, we don't want to be calling multiple methods anyways, do
> we? I'd personally like to see an example it makes sense if someone
> says that we do.
Several people argued that the version with a string method name
should be added "for consistency". I only pointed out that doing
so would not be completely consistent.
More information about the Python-Dev