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/
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com