Message126221
Le jeudi 13 janvier 2011 à 23:05 +0000, Alexander Belopolsky a écrit :
> I take your comment as +1 for adding PyModule_GetNameObject().
I wrote a similar patch to add PyModule_GetNameObject() (I am working on
another huge patch, to fix #3080). You have to document the new function
in Doc/c-api/module.rst.
Yes, it's better to work on unicode than encode unicode to bytes
(PyModule_GetName() with UTF-8) and then decode bytes from unicode
(PyUnicode_FromFormat with %s).
I am too tired to review the patch. |
|
Date |
User |
Action |
Args |
2011-01-14 00:36:31 | vstinner | set | recipients:
+ vstinner, lemburg, loewis, jafo, ronaldoussoren, amaury.forgeotdarc, belopolsky, ezio.melotti, Arfrever |
2011-01-14 00:36:29 | vstinner | link | issue6697 messages |
2011-01-14 00:36:29 | vstinner | create | |
|