#6729: notebook -- bug when input contains uniform leading space
--------------------------+-------------------------------------------------
Reporter: was | Owner: boothby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.1
Component: notebook | Keywords:
Author: Alex Leone | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------+-------------------------------------------------
Changes (by newvalueoldvalue):
* cc: timdumol (added)
* status: new => needs_review
* upstream: => N/A
* author: => Alex Leone
Comment:
Ok, trac_6729-leading_space.patch adds the expected behavior.
{{{
CELL 1:
u = 2
u = 3
CELL 2:
print u # = 3
}}}
However, this fails silently (regardless of the patch):
{{{
CELL 1:
u = 2
u = 3
CELL 2:
print u # = 2
}}}
With {{{%python}}}, it correctly throws an indentation error:
{{{
CELL 1:
%python
u = 2
u = 3
# Identation error
}}}
So this is a bug in the {{{%sage}}} compile system.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6729#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.