This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients giampaolo.rodola, loewis, pitrou, rosslagerwall
Date 2011-02-26.08:11:04
SpamBayes Score 0.00014459155
Marked as misclassified No
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-26 08:11:07pitrousetrecipients: + pitrou, loewis, giampaolo.rodola, rosslagerwall
2011-02-26 08:11:07pitrousetmessageid: <[email protected]>
2011-02-26 08:11:04pitroulinkissue10866 messages
2011-02-26 08:11:04pitroucreate