Meador Inge <mead...@gmail.com> added the comment:

On Thu, Dec 1, 2011 at 2:11 AM, STINNER Victor <rep...@bugs.python.org> wrote:

> Is there really an use case where you need 2 ** 20 (1,048,576) arguments? If 
> yes, I'm not against the torture in this case :-)

Not very likely :-)  However, the segfault can occur with less
arguments in low stack space situations (e.g. deep callstack).

> If no, why not raising an error if there are too many arguments? E.g. limit 
> to 1,024 arguments or maybe just 10?

That is certainly an option.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13097>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to