[ python-Bugs-1113984 ] keywords in keyword_arguments not possible

SourceForge.net noreply at sourceforge.net
Tue Feb 1 18:46:55 CET 2005


Bugs item #1113984, was opened at 2005-02-01 08:47
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1113984&group_id=5470

Category: Parser/Compiler
Group: Python 2.4
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: keywords in keyword_arguments not possible

Initial Comment:
Currently it is not possible to use keywords in
expressions of the type "keyword_arguments". Example:

d  = {'fi': 1, 'if': 1}

d.update(fi = 2) # ok
d.update(if = 2) # error

If possible, this restriction should be removed.

----------------------------------------------------------------------

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-02-01 12:46

Message:
Logged In: YES 
user_id=80475

It's possible, but hard to implement and unwise in any case.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1113984&group_id=5470


More information about the Python-bugs-list mailing list