]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92356: Fix regression in ctypes function call overhead (#92357)
authorMichael Droettboom <mdboom@gmail.com>
Fri, 6 May 2022 03:59:45 +0000 (23:59 -0400)
committerGitHub <noreply@github.com>
Fri, 6 May 2022 03:59:45 +0000 (20:59 -0700)
commitadcb6a6055c7fe6e02621f66945be237b42e945a
treebf59f688896e913075c974b366bd1f0864e5d568
parent301351c6a227249770fdf498054e6bbce1c3ee3c
gh-92356: Fix regression in ctypes function call overhead (#92357)

38f331d introduced a delayed initialization routine to set up
ctypes formattable (`_ctypes_init_fielddesc`), but inadvertently
removed setting the `initialization` flag to 1 to avoid initting
each time.
Misc/NEWS.d/next/Library/2022-05-05-19-25-09.gh-issue-92356.uvxWdu.rst [new file with mode: 0644]
Modules/_ctypes/cfield.c