[Python-Dev] The docstring hack for signature information has to go

"Martin v. Löwis" martin at v.loewis.de
Sun Feb 9 12:48:14 CET 2014


Am 05.02.14 17:04, schrieb Georg Brandl:
> Mostly unrelated question while seeing the "char *" here: do we (or do we
> want to) support non-ASCII names for functions implemented in C?

I didn't try, but I think it should work.
methodobject.c:meth_get__name__ uses PyUnicode_FromString, which in turn
decodes from UTF-8.

Regards,
Martin



More information about the Python-Dev mailing list