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 georg.brandl
Recipients TheBiggerGuy, docs@python, georg.brandl, pitrou, r.david.murray
Date 2012-04-16.22:58:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334617123.53.0.80308519999.issue14586@psf.upfronthosting.co.za>
In-reply-to
Content
The patch is wrong: PyArg_ParseTupleAndKeywords already handles the correct assignment of positional and keyword args, and raises exceptions accordingly.  Did you test that code?

The question is also: why only truncate()? There are several other fileio_* methods that take VARARGS only.
History
Date User Action Args
2012-04-16 22:58:43georg.brandlsetrecipients: + georg.brandl, pitrou, r.david.murray, docs@python, TheBiggerGuy
2012-04-16 22:58:43georg.brandlsetmessageid: <1334617123.53.0.80308519999.issue14586@psf.upfronthosting.co.za>
2012-04-16 22:58:42georg.brandllinkissue14586 messages
2012-04-16 22:58:42georg.brandlcreate