Skip to content

Ipython 3 and Ipython 4 compatibility fix #43

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

Closed
wants to merge 1 commit into from
Closed

Ipython 3 and Ipython 4 compatibility fix #43

wants to merge 1 commit into from

Conversation

stonebig
Copy link

No description provided.

@@ -1,7 +1,12 @@
import re
from IPython.core.magic import Magics, magics_class, cell_magic, line_magic, needs_local_scope
from IPython.config.configurable import Configurable
from IPython.utils.traitlets import Bool, Int, Unicode
try: # Ipython 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to check the version instead of try/except?

@catherinedevlin
Copy link
Owner

My huge apologies - I had GitHub notifications misconfigured, and 4 (!) different people submitted this same enhancement. I merged #50, since it included the test file. Thank you so much for your contribution!

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.

3 participants