]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-104621: Check for Incompatible Extensions in import_find_extension() (gh...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 27 Jul 2023 21:51:34 +0000 (14:51 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 21:51:34 +0000 (21:51 +0000)
commitabaf89d908304891c99c6a0450cf7e160c17cdd3
treec05549d0e395f57e1a53eb47689b3e7d4ce0bb58
parent5daf19d763826a977a596b6fbc035ee03c0deafc
[3.12] gh-104621: Check for Incompatible Extensions in import_find_extension() (gh-107184) (gh-107360)

gh-104621: Check for Incompatible Extensions in import_find_extension() (gh-107184)

This fixes a bug where incompatible modules could still be imported if attempted multiple times.
(cherry picked from commit 75c974f5353685f338344618ad7344e64c2293d0)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Lib/test/test_capi/check_config.py
Lib/test/test_import/__init__.py
Misc/NEWS.d/next/Core and Builtins/2023-07-24-11-11-41.gh-issue-104621.vM8Y_l.rst [new file with mode: 0644]
Python/import.c