I find myself "partializing" in ways partial() doesn't support more often
than not. E.g.

lambda first, third: myfunc(first, 42, third)

I think it's good to have partial() in functools, but it's two orders of
magnitude less common than things that should be in builtins.

On Sep 20, 2016 9:42 AM, "Ryan Gonzalez" <rym...@gmail.com> wrote:
> lambda *args, **kw: myfunc(partial_arg, *args, **kw)
>
> which isn't more readable than just:
>
> partial(myfunc, partial_func)
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to