[Python-ideas] Make partial a built-in
Jonathan Slenders
jonathan at slenders.be
Tue Sep 20 13:04:39 EDT 2016
Le 20 sept. 2016 18:42, "Ryan Gonzalez" <rymg19 at gmail.com> a écrit :
> Doing something like:
>
> lambda x, y: myfunc(partial_arg, x, y)
>
> is more error-prone to changes in myfunc's signature.
No, if the signature of the function changes, then the signature of the
partial would also change. The risk is the same.
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160920/f704624e/attachment.html>
More information about the Python-ideas
mailing list