[issue12844] Support more than 255 arguments

Serhiy Storchaka report at bugs.python.org
Fri Nov 25 04:27:13 EST 2016


Serhiy Storchaka added the comment:

No longer changes to Python/compile.c are needed. Here is a patch against 3.7 that just removes the limit of the number of passed arguments in Python/ast.c and adds tests.

But still there is a limitation on the number of function parameters. It is caused by using a bytes objects as co_cell2arg.

----------
stage:  -> patch review
versions: +Python 3.7
Added file: http://bugs.python.org/file45638/no-args-limit.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12844>
_______________________________________


More information about the Python-bugs-list mailing list