[Python-Dev] Can Python guarantee the order of keyword-only parameters?
Larry Hastings
larry at hastings.org
Tue Nov 28 00:42:28 EST 2017
On 11/27/2017 03:58 PM, Yury Selivanov wrote:
> We can't say anything about the order if someone passes a partial
> object
Sure we could. We could ensure that functools.partial behaves in a sane
way, then document and guarantee that behavior.
> or sets custom Signature objects to func.__signature__.
Consenting Adults rule applies here. Obviously we should honor the
signature they set.
//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171127/b414f79c/attachment.html>
More information about the Python-Dev
mailing list