<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
<br>
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.<br>
<br>
<br>
<i>/arry</i><br>
<br>
On 02/09/2015 03:14 PM, Antoine Pitrou wrote:<br>
</div>
<blockquote cite="mid:20150210001432.0be7747f@fsol" type="cite">
<pre wrap="">On Tue, 10 Feb 2015 08:43:53 +1000
Nick Coghlan <a class="moz-txt-link-rfc2396E" href="mailto:ncoghlan@gmail.com"><ncoghlan@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
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
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/options/python-dev/larry%40hastings.org">https://mail.python.org/mailman/options/python-dev/larry%40hastings.org</a>
</pre>
</blockquote>
<br>
</body>
</html>