Serhiy Storchaka added the comment: Proposed patch fixes error message for var-positional arguments. It adds new opcode BUILD_TUPLE_UNPACK_WITH_CALL.
>>> min(1, *2) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: min() argument after * must be an iterable, not int >>> min(*[1], *2) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: min() argument after * must be an iterable, not int ---------- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file44856/built_tuple_unpack_with_call.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28257> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com