[issue29684] Minor regression in PyEval_CallObjectWithKeywords()

INADA Naoki report at bugs.python.org
Wed Mar 1 04:20:00 EST 2017


New submission from INADA Naoki:

This issue is spin off issue29548.

PyEval_CallObjectWithKeywords(PyObject *func, PyObject *args, PyObject *kwargs)
should raise TypeError when kwargs is not dict.
But after this commit [1], assert(PyDict_Check(kwargs)) can be called when args==NULL.

[1] https://github.com/python/cpython/commit/155ea65e5c88d250a752ee5321860ef11ede4085

----------
keywords: 3.6regression
messages: 288748
nosy: haypo, inada.naoki
priority: normal
severity: normal
status: open
title: Minor regression in PyEval_CallObjectWithKeywords()

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29684>
_______________________________________


More information about the Python-bugs-list mailing list