[Python-Dev] (no subject)
Larry Hastings
larry at hastings.org
Tue Feb 10 01:30:08 CET 2015
What's an example of a way inspect.signature must change? I thought PEP
448 added new unpacking shortcuts which (for example) change the
*caller* side of a function call. I didn't realize it impacted the
*callee* side too.
//arry/
On 02/09/2015 03:14 PM, Antoine Pitrou wrote:
> On Tue, 10 Feb 2015 08:43:53 +1000
> Nick Coghlan <ncoghlan at gmail.com> wrote:
>> For example, the potential for arcane call arguments suggests the need for
>> a PEP 8 addition saying "first standalone args, then iterable expansions,
>> then mapping expansions", even though syntactically any order would now be
>> permitted at call time.
> There are other concerns:
>
> - inspect.signature() must be updated to cover the new call
> possibilities
>
> - function call performance must not be crippled by the new
> possibilities
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/larry%40hastings.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150209/0a0bc067/attachment.html>
More information about the Python-Dev
mailing list