[issue36936] CALL_FUNCTION_KW opcode: keyword names must be non-empty

Jeroen Demeyer report at bugs.python.org
Thu May 16 06:37:23 EDT 2019


Jeroen Demeyer <J.Demeyer at UGent.be> added the comment:

> What happens when pass an empty tuple?

The way how bytecode is compiled, that doesn't actually happen so it's an entirely hypothetical question.

The various XXX_FastCallKeywords functions seem to allow passing an empty tuple to mean "no keyword arguments", so I guess that nothing breaks when you would actually pass an empty tuple

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36936>
_______________________________________


More information about the Python-bugs-list mailing list