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

Don't catch ImportError when trying to unpack module functions #2395

Merged
merged 1 commit into from Sep 29, 2012

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 7, 2012

If the ImportError is encountered, it is more informative to raise it rather than hide it, possibly resulting in confusing NameErrors due to the import failure.

If the ImportError is encountered, it is more informative to raise it rather than hide it, possibly resulting in confusing NameErrors due to the import failure.
@minrk
Copy link
Member Author

minrk commented Sep 8, 2012

Test results for commit 46ee6cb merged into master (a743924)
Platform: darwin

  • python2.6: OK (libraries not available: azure cython matplotlib oct2py pygments pymongo qt rpy2 tornado wx wx.aui)
  • python2.7: OK (libraries not available: azure oct2py wx wx.aui)
  • python3.2: OK (libraries not available: azure cython matplotlib oct2py pygments pymongo qt rpy2 wx wx.aui)

Extra args: ['-x', '--all']
Not available for testing:

@Carreau
Copy link
Member

Carreau commented Sep 8, 2012

ok for me.

@Carreau
Copy link
Member

Carreau commented Sep 29, 2012

I'm merging this one.

Carreau added a commit that referenced this pull request Sep 29, 2012
Don't catch ImportError when trying to unpack module functions
@Carreau Carreau merged commit d1ec46f into ipython:master Sep 29, 2012
@minrk minrk deleted the allowimporterror branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Don't catch ImportError when trying to unpack module functions
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.

None yet

2 participants