]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-145006: add ModuleNotFoundError hints when a module for a differen… (#145007)
authorFilipe Laíns <lains@riseup.net>
Wed, 25 Feb 2026 00:53:01 +0000 (00:53 +0000)
committerGitHub <noreply@github.com>
Wed, 25 Feb 2026 00:53:01 +0000 (00:53 +0000)
commit1ac9d138ae0563f2829ba91efe7989af507f47e0
tree44b46d42ec9e42e65525b2ec6a9c6616420f6198
parent4e45c9c309abb12c622334c7a419503d169af380
GH-145006: add ModuleNotFoundError hints when a module for a differen… (#145007)

* GH-145006: add ModuleNotFoundError hints when a module for a different ABI exists

Signed-off-by: Filipe Laíns <lains@riseup.net>
* Fix deprecation warnings

Signed-off-by: Filipe Laíns <lains@riseup.net>
* Use SHLIB_SUFFIX in test_find_incompatible_extension_modules when available

Signed-off-by: Filipe Laíns <lains@riseup.net>
* Add test_incompatible_extension_modules_hint

Signed-off-by: Filipe Laíns <lains@riseup.net>
* Fix Windows

Signed-off-by: Filipe Laíns <lains@riseup.net>
* Show the whole extension module file name in hint

Signed-off-by: Filipe Laíns <lains@riseup.net>
---------

Signed-off-by: Filipe Laíns <lains@riseup.net>
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS.d/next/Library/2026-02-19-17-50-47.gh-issue-145006.9gqA0Q.rst [new file with mode: 0644]