-
Notifications
You must be signed in to change notification settings - Fork 954
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
Feature request: Support Jupyter notebooks and IPython #16
Comments
same issue |
If someone were to write a test case for this and add it to the test suite, I might be tempted to try implementing a solution. |
Everyone: If you want this to be fixed, I need you to find how to get the code from an iPython shell or a Jupyter notebook. If it's possible, send me the code and I could add that it to PySnooper. Also, adding a test case to the test suite would be helpful. |
I'd like to help but I do not really understand what do you mean by the code from iPython shell? The input code for PySnooper is same as the example you provided. As for what is actually going on in iPython, any suggestion to get it out? |
@YubinXie The function |
I just pushed a fix that'll at least make PySnooper fail gracefully when it can't show the source. Now the task remains to get the code out of IPython or Jupyter. |
I implemented IPython support! Now just Jupyter support left. |
Oh awesome, looks like that fixed Jupyter as well :) I made a separate task #43 to add testing for this feature. Any takers? |
I think it can not support jupyter right now, but I hope it could be done lately.
The text was updated successfully, but these errors were encountered: