Message158513
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. |
|
Date |
User |
Action |
Args |
2012-04-16 22:58:43 | georg.brandl | set | recipients:
+ georg.brandl, pitrou, r.david.murray, docs@python, TheBiggerGuy |
2012-04-16 22:58:43 | georg.brandl | set | messageid: <1334617123.53.0.80308519999.issue14586@psf.upfronthosting.co.za> |
2012-04-16 22:58:42 | georg.brandl | link | issue14586 messages |
2012-04-16 22:58:42 | georg.brandl | create | |
|