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

Cosider adding an option to show the cythonized code in ipython-magic #2855

Open
realead opened this Issue Feb 20, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@realead
Copy link
Contributor

realead commented Feb 20, 2019

When prototyping with IPython there is one reason I often switch to compiling the cython extension on the command line: to see the whole cythonized code. While --anotate is great to spot issues it is not enough to see what is really going on.

Please consider adding an option to show also the whole cythonized code.

@realead realead referenced a pull request that will close this issue Feb 20, 2019

Open

Show cythonized code in ipython #2856

@scoder

This comment has been minimized.

Copy link
Contributor

scoder commented Feb 20, 2019

Ok, but wouldn't this just flood your notebook with tons of hard to read C gibberish? If there is anything to improve in the -a output, I'd rather see that done.

@realead

This comment has been minimized.

Copy link
Contributor Author

realead commented Feb 21, 2019

I must confess, that with my proposed solution I miss code-highlightning from time to time...

When using annotate from the command-line one has a link to the generated c-file, but this link is missing in IPython.

What about adding an new "+"-section at the and of the annotate-output, so one can click on it and see the whole C-code?

Please see #2858 for a proof of concept.

@realead realead referenced a pull request that will close this issue Feb 21, 2019

Open

adding complete code to the annotated html-file #2858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.