From 214678e44bf7773c0ed9c3684818354001d8f9ca Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Mon, 28 Nov 2016 10:52:05 +0200 Subject: Issue #12844: More than 255 arguments can now be passed to a function. --- Python/ast.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'Python/ast.c') diff --git a/Python/ast.c b/Python/ast.c index 82f4529bf9..e6786d47f9 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2738,11 +2738,6 @@ ast_for_call(struct compiling *c, const node *n, expr_ty func) return NULL; } - if (nargs + nkeywords + ngens > 255) { - ast_error(c, n, "more than 255 arguments"); - return NULL; - } - args = _Py_asdl_seq_new(nargs + ngens, c->c_arena); if (!args) return NULL; -- cgit v1.2.1