Re: [Python-Dev] Python Call Mechanism

Guido van Rossum <guido@python.org> writes:
Yes, I realize this now. I made my suggestion having not actually looked at the code or thought about it very much. I still think there is (or at least might be) value in rewriting the code for the more complex cases, and moving the dictionary creation out of the implementation of CALL_FUNCTION. Then the following could be made essentially equivalent: f(a,b,c=d,e=f) dict = {c:d,e:f} f(a,b,**dict) (modulo evaluation order). (I've made some changes to get BUILD_MAP using it's argument and construct literal dictionaries using it, which I'll whack up onto sf just as soon as I get round to it... ah, it's at https://sourceforge.net/patch/index.php?func=detailpatch&patch_id=102227&group_id=5470 ). Cheers, M. -- Those who have deviant punctuation desires should take care of their own perverted needs. -- Erik Naggum, comp.lang.lisp
participants (1)
-
Michael Hudson