A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-May/126375.html below:

[Python-Dev] Ordering keyword dicts

[Python-Dev] Ordering keyword dicts [Python-Dev] Ordering keyword dictsGreg Ewing greg.ewing at canterbury.ac.nz
Mon May 20 03:35:49 CEST 2013
Joao S. O. Bueno wrote:
> Actually, when I was thinking on the subject I came to the same idea, of having
> some functions marked differently so they would use a different call mechanism -
> but them I wondered around having a different opcode for the ordered-dict calls.
> 
> Would that be feasible?

No, because the callee is the only one that knows whether it
requires its keyword args to be ordered.

In fact, not even the callee might know at the time of the
call. Consider a function that takes **kwds and passes them
on to another function that requires ordered keywords.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4