[Python-Dev] Partial function application 'from the right'

Leif Walsh leif.walsh at gmail.com
Sat Jan 31 20:40:12 CET 2009


On Fri, Jan 30, 2009 at 7:38 PM, Calvin Spealman <ironfroggy at gmail.com> wrote:
> I am just replying to the end of this thread to throw in a reminder
> about my partial.skip patch, which allows the following usage:
>
> split_one = partial(str.split, partial.skip, 1)
>
> Not looking to say "mine is better", but if the idea is being given
> merit, I like the skipping arguments method better than just the
> "right partial", which I think is confusing combined with keyword and
> optional arguments. And, this patch already exists. Could it be
> re-evaluated?

+1 but I don't know where the patch is.

-- 
Cheers,
Leif


More information about the Python-Dev mailing list