Author ezio.melotti
Recipients exarkun, ezio.melotti, falsetru, giampaolo.rodola, pitrou
Date 2011-05-03.08:13:23
SpamBayes Score 0.00052896
Marked as misclassified No
Message-id <1304410404.68.0.65515971012.issue10169@psf.upfronthosting.co.za>
In-reply-to
Content
The original code was trying to call PyArg_ParseTuple assuming 2 args and in case of failure (*any* failure) was starting over assuming 3 args.
The attached patch makes PyArg_ParseTuple accept 2 or 3 args and re-arranges the last two if 'flags' is passed.
The tests pass, but a few more tests should be added.
History
Date User Action Args
2011-05-03 08:13:24ezio.melottisetrecipients: + ezio.melotti, exarkun, pitrou, falsetru, giampaolo.rodola
2011-05-03 08:13:24ezio.melottisetmessageid: <1304410404.68.0.65515971012.issue10169@psf.upfronthosting.co.za>
2011-05-03 08:13:23ezio.melottilinkissue10169 messages
2011-05-03 08:13:23ezio.melotticreate