消息 [126221]
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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-01-14 00:36:31 | vstinner | 修改 | recipients:
+ vstinner, lemburg, loewis, jafo, ronaldoussoren, amaury.forgeotdarc, belopolsky, ezio.melotti, Arfrever |
| 2011-01-14 00:36:29 | vstinner | 链接 | issue6697 messages |
| 2011-01-14 00:36:29 | vstinner | 创建 | |
|