cloud icon indicating copy to clipboard operation
cloud copied to clipboard

when evaluating a cell with code that starts with a space, it silently doesn't do anything

Open williamstein opened this issue 11 years ago • 1 comments

For example:

  a = 5

In the Python command line, we get an error:

~/sage2014$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1/3
0
>>>  a = 5
  File "<stdin>", line 1
    a = 5
    ^
IndentationError: unexpected indent
>>>  

williamstein avatar Apr 04 '14 19:04 williamstein

I know. This is a specific bug in the parser for Sage worksheets.

williamstein avatar Mar 06 '15 22:03 williamstein