-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
gh-85076: Document exceptions that can be raised by importlib.import_module #94662
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
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kj7rrv this looks good, thank you! Can you add the missing news entry, as the bot requested?
@FFY00 I didn't because it's just a documentation change. |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be poked with soft cushions! |
Hi @kj7rrv, are you still interested in getting this merged? I found this by looking at P.S:. If you're busy / have other priorities, I can also open another PR and we can close this one. But given there is already a 2nd open PR, I didn't want to add a 3rd one 😅 |
Co-authored-by: Brett Cannon <[email protected]>
@zormit Hi! I applied your suggested change. I am still interested in having it merged; is there anything else that needs to be changed? |
I'm not sure why it bedevere still says this is @kj7rrv Also a clarifying question: Did you mean to apply my changes? I think you have accepted the changes by Brett instead of mine. They are a bit less detailed. It would be okay for me, I could approve it, given it's much better than nothing, but I would be curious about your reasoning behind it. |
It's because @kj7rrv didn't say the triggering phrase as specified in #94662 (comment) to refresh review requests. |
@kj7rrv could you add a comment that includes this line? |
I have made the requested changes; please review again.
|
Thanks for making the requested changes! @brettcannon, @FFY00: please review the changes made to this pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Some phrasing like "cannot be found or loaded" instead of "cannot be imported" might make the sentence more technically accurate for modules like 1/0
which could also conceivably be described as not being able to be imported, but that's a bit of a nit
@kj7rrv thanks for the PR and apologies for the delay! @hauntsaninja thanks for the review! |
Closes #85076