[Python-checkins] r50814 - peps/trunk/pep-0356.txt

Georg Brandl g.brandl at gmx.net
Tue Jul 25 11:52:48 CEST 2006


neal.norwitz wrote:

> +        http://python.org/sf/1523610 - PyArg_ParseTupleAndKeywords potential
> +                                        core dump

With respect to this bug (which is about stack issues in Python/getargs.c
involving misuse of the "levels" array), I think that we can drop the
"levels" thing completely. It's only there to tell the user which exact item
passed as part of a tuple argument cannot be accepted (and only if that
function is implemented in C code). As tuple arguments
are very rare "argument x" should be enough to tell the user that
something's wrong with that tuple.

Georg



More information about the Python-checkins mailing list