Message135020
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. |
|
Date |
User |
Action |
Args |
2011-05-03 08:13:24 | ezio.melotti | set | recipients:
+ ezio.melotti, exarkun, pitrou, falsetru, giampaolo.rodola |
2011-05-03 08:13:24 | ezio.melotti | set | messageid: <1304410404.68.0.65515971012.issue10169@psf.upfronthosting.co.za> |
2011-05-03 08:13:23 | ezio.melotti | link | issue10169 messages |
2011-05-03 08:13:23 | ezio.melotti | create | |
|