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