消息 [129508]
I'm not sure why you use PyTuple_Size() and PyTuple_GetItem().
You should be able to do a first call to PyArg_ParseTuple() (using the "S" specifier to mandate a bytes object), and call PyErr_Clear() and fallback to the second PyArg_ParseTuple() if the first one fails. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-02-26 08:11:07 | pitrou | 修改 | recipients:
+ pitrou, loewis, giampaolo.rodola, rosslagerwall |
| 2011-02-26 08:11:07 | pitrou | 修改 | messageid: <1298707867.81.0.604079085855.issue10866@psf.upfronthosting.co.za> |
| 2011-02-26 08:11:04 | pitrou | 链接 | issue10866 messages |
| 2011-02-26 08:11:04 | pitrou | 创建 | |
|