[Python-Dev] Can Python guarantee the order of keyword-only parameters? (original) (raw)
Larry Hastings larry at hastings.org
Tue Nov 28 00:42:28 EST 2017
- Previous message (by thread): [Python-Dev] Can Python guarantee the order of keyword-only parameters?
- Next message (by thread): [Python-Dev] Can Python guarantee the order of keyword-only parameters?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message (by thread): [Python-Dev] Can Python guarantee the order of keyword-only parameters?
- Next message (by thread): [Python-Dev] Can Python guarantee the order of keyword-only parameters?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]