Skip to content

bpo-44717: refactor _PyModuleSpec helpers #27344

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

Closed
wants to merge 1 commit into from

Conversation

FFY00
Copy link
Member

@FFY00 FFY00 commented Jul 25, 2021

This PR refactors _PyModuleSpec_IsInitializing, as suggested in #26822, and adds the exception cleaning side effect to _PyModuleSpec_IsUninitializedSubmodule. The exception cleaning is not really needed in _PyModuleSpec_IsUninitializedSubmodule as we are using it, but it makes the code too fragile, so I think it would be best to align it with _PyModuleSpec_IsInitializing, this was an oversight of the initial implementation. Btw, sorry for all of the back and forward on this bpo 😕

https://bugs.python.org/issue44717

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Aug 25, 2021
@FFY00
Copy link
Member Author

FFY00 commented Oct 20, 2021

Closing this as there doesn't seem to be enough interest.

@FFY00 FFY00 closed this Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review skip news stale Stale PR or inactive for long period of time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants