]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89653: PEP 670: Limited API doesn't cast arguments (#92654)
authorVictor Stinner <vstinner@python.org>
Wed, 11 May 2022 22:01:42 +0000 (00:01 +0200)
committerGitHub <noreply@github.com>
Wed, 11 May 2022 22:01:42 +0000 (00:01 +0200)
commit7d3b469e475e6e52ce4f0bad7198bb05ead77b1d
tree879c8bda5f64cfd2f301e07a50a3003e15123b38
parenteb88f21301931449718cd4d105018d167a02788b
gh-89653: PEP 670: Limited API doesn't cast arguments (#92654)

The limited API version 3.11 no longer casts arguments to expected
types of functions of functions:

* PyList_GET_SIZE(), PyList_SET_ITEM()
* PyTuple_GET_SIZE(), PyTuple_SET_ITEM()
* PyWeakref_GET_OBJECT()
Include/cpython/listobject.h
Include/cpython/tupleobject.h
Include/cpython/weakrefobject.h