]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38644: Pass tstate to _Py_CheckFunctionResult() (GH-17050)
authorVictor Stinner <vstinner@python.org>
Tue, 5 Nov 2019 00:22:12 +0000 (01:22 +0100)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 00:22:12 +0000 (01:22 +0100)
commit17269090940aa20f6079a6b9f27ae319f8cdae14
treef2c785c3fb8efb972639df7179b6d5b3b315e888
parentbe434dc0380d9f5c7c800de9943cc46d55fd9491
bpo-38644: Pass tstate to _Py_CheckFunctionResult() (GH-17050)

* Add tstate parameter to _Py_CheckFunctionResult()
* Add _PyErr_FormatFromCauseTstate()
* Replace PyErr_XXX(...) with _PyErr_XXX(state, ...)
Include/cpython/abstract.h
Include/internal/pycore_pyerrors.h
Objects/call.c
Objects/methodobject.c
Objects/typeobject.c
Python/ceval.c
Python/errors.c