[issue2646] Python does not accept unicode keywords

2009-04-26 Thread Daniel Diniz
Daniel Diniz added the comment: Fixed in r68805, #4978. -- nosy: +ajaksu2 resolution: -> out of date stage: -> committed/rejected status: open -> closed superseder: -> allow unicode keyword args ___ Python tracker

[issue2646] Python does not accept unicode keywords

2008-05-13 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- keywords: +26backport -patch priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue2646] Python does not accept unicode keywords

2008-04-16 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue2646] Python does not accept unicode keywords

2008-04-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10045/issue2646.diff __ Tracker <[EMAIL PROTECTED]> __ ___ P

[issue2646] Python does not accept unicode keywords

2008-04-16 Thread Alexander Belopolsky
Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: I would say this is a good idea for 2.6. Note that C functions are more forgiving: >>> from datetime import * >>> date(1,2,**{u'day':10}) datetime.date(1, 2, 10) >>> dict(**{u'x':1,2:3,():5}) {u'x': 1, 2: 3, (): 5} but >>> date(1,2,*

[issue2646] Python does not accept unicode keywords

2008-04-16 Thread John (J5) Palmieri
John (J5) Palmieri <[EMAIL PROTECTED]> added the comment: Someone has convinced me that it is not worth bothering the dev team since they will have this fixed in P3k the right way. If it is easy then please fix this, otherwise feel free to close. __ Tracker <[EMAI

[issue2646] Python does not accept unicode keywords

2008-04-16 Thread John (J5) Palmieri
New submission from John (J5) Palmieri <[EMAIL PROTECTED]>: # given this function def a(**kwargs): pass # this works a(**{'b':'c'}) # this throws a format error a(**{u'b':'c'}) I am using a web framework (TurboGears w/ genshi templating) which often pass around dictionaries as keyword arg