On 27-Jun-08, at 6:23 PM, Benjamin Peterson wrote:
On Fri, Jun 27, 2008 at 2:11 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote:Sounds like a regression in 2.5 (and in 2.6, and in 3.0). Probably dueto the switch to the new AST-based compiler. Can you file a bug? I think we should leave 2.5 alone (too much risk of breaking code) but fix it in 2.6 and 3.0 if we can.I think code that uses this is probably already quite broken in some fundamental way and putting the fix in 2.5 isn't much of a risk.
I don't have 2.4 handy to test it, but it is more likely that a keyword and dictionary are passed, both containing the same item:
>>> f(a=3, **{'a': 4})
Would that be a potential risk?
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
