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
Update stdlib to use ModuleNotFoundError #62400
Comments
The common idiom:: try: should be updated to use ModuleNotFoundError instead to not accidentally swallow ImportError exceptions which signal actual errors. |
Changeset 84105:281857369a78 and 84106:c4d7228421df have some updates to use ModuleNotFoundError. |
Here is a patch that uses ModuleNotFoundError in the stdlib sans test modules. |
New changeset 8d28d44f3a9a by Brett Cannon in branch 'default': |
As ModuleNotFoundError is going to be reverted so should the changesets for this issue. |
New changeset 7769c4d72806 by Brett Cannon in branch 'default': |
Could you possibly clarify this?. Pointers? |
Discussion occurred on http://bugs.python.org/issue15767 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: