[Python-checkins] r67998 - sandbox/trunk/io-c/_textio.c
Benjamin Peterson
benjamin at python.org
Mon Dec 29 01:49:41 CET 2008
On Sun, Dec 28, 2008 at 6:40 PM, Amaury Forgeot d'Arc
<amauryfa at gmail.com> wrote:
> Benjamin Peterson wrote:
>> On Sun, Dec 28, 2008 at 5:48 PM, amaury. forgeotdarc
>> <python-checkins at python.org> wrote:
>> > Author: amaury.forgeotdarc
>> > Date: Mon Dec 29 00:48:35 2008
>> > New Revision: 67998
>> >
>> > Log:
>> > It seems necessary to add an extra level of parentheses to parse a tuple.
>>
>> Technically you should be using PyArg_ParseTuple anyway.
>
> >From the documentation I thought that PyArg_ParseTuple was reserved
> for parsing function arguments.
> In any case the error message can be misleading if the tuple does not
> have the requested number of items.
Oh, I didn't realize you weren't using it for arg parsing.
--
Regards,
Benjamin Peterson
More information about the Python-checkins
mailing list