[issue29360] Don't check if all keys are strings in _PyStack_AsDict()
STINNER Victor
report at bugs.python.org
Tue Jan 24 04:41:41 EST 2017
STINNER Victor added the comment:
Serhiy Storchaka: "The assertion was valid while all keywords did came from a constant keywords tuple in CALL_FUNCTION_KW. But if the FASTCALL protocol is extended for var-keyword arguments, keywords can be arbitrary and the assertion can fail. The assertion on the next line can fail too."
Oh right, I didn't notice that. Since it's an issue of the tp_fastnew/tp_fastinit patch, I replied there:
http://bugs.python.org/issue29358#msg286161
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29360>
_______________________________________
More information about the Python-bugs-list
mailing list