Message129508
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. |
|
Date |
User |
Action |
Args |
2011-02-26 08:11:07 | pitrou | set | recipients:
+ pitrou, loewis, giampaolo.rodola, rosslagerwall |
2011-02-26 08:11:07 | pitrou | set | messageid: <1298707867.81.0.604079085855.issue10866@psf.upfronthosting.co.za> |
2011-02-26 08:11:04 | pitrou | link | issue10866 messages |
2011-02-26 08:11:04 | pitrou | create | |
|