[Python-Dev] any support for a methodcaller HOF?
Hye-Shik Chang
hyeshik at gmail.com
Fri Feb 3 17:41:25 CET 2006
On 2/4/06, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> On Fri, 3 Feb 2006 07:00:26 -0800, Alex Martelli <aleaxit at gmail.com> wrote:
> >
> >I understand your worry re the syntax issue. So what about Michael
> >Hudson's "placeholder class" idea, where X[1] returns the callable
> >that will do x[1] when called, etc? Looks elegant to me...
> >
>
> FWIW,
>
> <http://cvs.twistedmatrix.com/cvs/sandbox/glyph/eacher.py?view=markup&rev=12804>
> <http://cvs.twistedmatrix.com/cvs/sandbox/cake.py?view=markup&rev=12804>
>
Yet another implementation,
http://mail.python.org/pipermail/python-announce-list/2004-January/002801.html
Hye-Shik
More information about the Python-Dev
mailing list