Skip to content
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

Allow all Exceptions when importing optional modules #82

Merged
merged 2 commits into from
Aug 25, 2020

Conversation

aivarannamaa
Copy link
Contributor

Importing a module may fail with other exceptions besides ImportError, eg. with OSError when the module is present in user site packages but for wrong architecture.

Here is an example case which would be solved by this PR: thonny/thonny#1141

Importing a module may fail with other exceptions besides ImportError, eg. with OSError when the module is present in user site packages but for wrong architecture.

Here is an example case which would be solved by this PR: thonny/thonny#1141
Allow any Exception when importing optional modules
@alexmojaki alexmojaki merged commit a95b781 into alexmojaki:master Aug 25, 2020
@alexmojaki
Copy link
Owner

Thanks!

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