Message8094
When using unicode kwargs in a function call, the keyword is received as a str type in the function:
>>> def func(*vargs, **kwargs):
... print "vargs=%r kwargs=%r" % (vargs, kwargs)
...
>>> func(u'\u20ac', **{u'\u20ac': 42})
vargs=(u'\u20ac',) kwargs={'\u20ac': 42}
>>>
Expected behavior: unicode kwargs should be of type unicode in the function. |
|
Date |
User |
Action |
Args |
2013-08-26 16:46:14 | irmen | set | recipients:
+ irmen |
2013-08-26 16:46:14 | irmen | set | messageid: <1377535574.06.0.405632367007.issue2080@psf.upfronthosting.co.za> |
2013-08-26 16:46:14 | irmen | link | issue2080 messages |
2013-08-26 16:46:13 | irmen | create | |
|