[issue44114] Incorrect function signatures in dictobject.c

2021-05-12 Thread Joe Marshall
Change by Joe Marshall : -- keywords: +patch pull_requests: +24703 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26062 ___ Python tracker <https://bugs.python.org/issu

[issue44114] Incorrect function signatures in dictobject.c

2021-05-12 Thread Joe Marshall
New submission from Joe Marshall : There's a couple of wrong function signatures in dictobject.c, dictkeys_reversed and dictitems_reversed are defined as single arg functions like so: PyObject *(PyObject *), and are then passed around and called as PyCFunctions, which should be PyO