]> granicus.if.org Git - python/commit
Issue #29360: _PyStack_AsDict() doesn't check kwnames
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Jan 2017 14:05:30 +0000 (15:05 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Jan 2017 14:05:30 +0000 (15:05 +0100)
commitc3858bd7c6e6ef37978b8483a9fe594f29b4b2de
tree0725e4f21874d89776a14be75c9104e64617413f
parent90f6332382d616ce5a3329c1176ffa1cff27ea7e
Issue #29360: _PyStack_AsDict() doesn't check kwnames

Remove two assertions which can fail on legit code. Keyword arguments are
checked later with better tests and raise a regular (TypeError) exception.
Include/abstract.h
Objects/abstract.c