Title: unicode kwargs are received as str type in the function
Type: Severity: normal
Components: Core Versions: Jython 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: irmen, santa4nt
Priority: Keywords:

Created on 2013-08-26.16:46:14 by irmen, last changed 2013-08-27.00:14:32 by santa4nt.

msg8094 (view) Author: Irmen de Jong (irmen) Date: 2013-08-26.16:46:13
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-27 00:14:32santa4ntsetnosy: + santa4nt
2013-08-26 16:46:14irmencreate