SIGN IN SIGN UP

[3.12] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) (#122495)

Fix crash when importing ssl after re-initialization

The current METH_FASTCALL|METH_KEYWORDS functions in a non-builtin module can cause segfaults after restarting the main interpreter, invoking _PyArg_UnpackKeywords() with an insufficiently cleared _PyArg_Parser struct.

This patch fixes the invalidation of the static argument parsers.
N
neonene committed
6b8a9a10617817180f546e537d1b4407625390b9
Parent: 372df19
Committed by GitHub <noreply@github.com> on 8/2/2024, 1:44:55 PM