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

Tidy up error raising in magic decorators. #1779

Merged
merged 1 commit into from May 28, 2012
Merged

Conversation

takluyver
Copy link
Member

Closes gh-1778

Also turned a couple of ValueErrors into TypeError, which seemed more appropriate.

@fperez
Copy link
Member

fperez commented May 28, 2012

Thanks, @takluyver! Looks good, merging now.

fperez added a commit that referenced this pull request May 28, 2012
Tidy up error raising in magic decorators, change a few exceptions for more appropriate kinds in new magics code.

Closes gh-1778.
@fperez fperez merged commit 5e21b9e into ipython:master May 28, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Tidy up error raising in magic decorators, change a few exceptions for more appropriate kinds in new magics code.

Closes ipythongh-1778.
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.

string exception in IPython/core/magic.py:232
2 participants