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
Curly braces break %time #4140
Comments
That is an IPython feature. When using magics braces get expanded to variable content. You need to double them to actually insert a brace. |
Oh, I see. Should I close this issue then? |
Sorry, I have accidentally closed it. Thank for the reply :) |
We can try to catch the SyntaxError and see if we can add a warning. |
|
While running this trivial example is fine:
'{"abc", "def", "ghi"}'.replace('{','').replace('}','')
running it with
%time
magic gives error.%time '{"abc", "def", "ghi"}'.replace('{','').replace('}','')
jupyter --version is 4.4.0
jupyter notebook --version is 5.7.0
The text was updated successfully, but these errors were encountered: