Skip to content

[3.13] gh-128030: Avoid error from PyModule_GetFilenameObject for non-module (GH-128047) #128114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 20, 2024

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 45e6dd6)

Co-authored-by: Shantanu 12621235+hauntsaninja@users.noreply.github.com

…module (pythonGH-128047)

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

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants