-
Notifications
You must be signed in to change notification settings - Fork 393
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
exclamation mark not correctly handled #437
Comments
Hello @ftalbrecht , thanks for reporting this. That should be easy to fix... we just need to allow spaces before the exclamation mark in this regular expression: Lines 23 to 24 in b2c0670
i.e. probably replace it with
But then, is the empty try statement valid in Python? |
@ftalbrecht , I'll do the fix. Just to mention, when the |
Sure, that was just meant to be the smallest failing example I could think of. Thx for the fix! |
I am having an issue with
which is not stable over round trip. Preserve the indentation when commenting out should help... let me see... |
I am using
pip freeze | grep jupytext jupytext==1.2.4
and the following MWE file (say
Untitled.md
)(which is intended to be run as a jupyter notebook inside a jupyter server using the jupytext extension, which works well, btw.) is not correctly converted to python on the command line. I.e., the output of
yields the following
Untitled.py
:I would expect the
!echo jo
statement to be commented out, but the presence of thetry:
seems to hinder this...This is related to #149, but not the same.
The text was updated successfully, but these errors were encountered: