cpython/Lib/test/test_import
Miss Islington (bot) f320f747da
[3.13] gh-128030: Avoid error from PyModule_GetFilenameObject for non-module (GH-128047) (#128114)
gh-128030: Avoid error from PyModule_GetFilenameObject for non-module (GH-128047)

I missed the extra `PyModule_Check` in GH-127660 because I was looking at
3.12 as the base implementation for import from. This meant that I
missed the `PyModuleCheck` introduced in GH-112661.
(cherry picked from commit 45e6dd63b8)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-12-20 08:46:54 +00:00
..
data [3.13] gh-123880: Allow recursive import of single-phase-init modules (GH-123950) (#124273) 2024-09-23 12:56:00 -07:00
__init__.py [3.13] gh-128030: Avoid error from PyModule_GetFilenameObject for non-module (GH-128047) (#128114) 2024-12-20 08:46:54 +00:00
__main__.py