New submission from Jeroen Demeyer <j.deme...@ugent.be>:

Document and add an assertion that the "keyword names" tuple of the 
CALL_FUNCTION_KW opcode must be non-empty. This is already the case with the 
current compiler: if there are no keyword arguments in a call, then the 
CALL_FUNCTION_KW opcode is not used.

In light of https://github.com/python/peps/pull/1049 it's good to make this an 
explicit guarantee.

----------
components: Interpreter Core
messages: 342631
nosy: Mark.Shannon, jdemeyer, petr.viktorin, vstinner
priority: normal
severity: normal
status: open
title: CALL_FUNCTION_KW opcode: keyword names must be non-empty
type: enhancement
versions: Python 3.8

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

Reply via email to