Amaury Forgeot d'Arc <[email protected]> added the comment:
The patch works when the unicode contains only ascii, but crashes with
the following input:
>>> def f(hehe): return 42
...
>>> f(**{u'hehe': 1})
42
>>> f(**{u'héhé': 1})
Segmentation fault
The two PyString_AsString(keyword) calls are now wrong and should be
changed.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com