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

escaped backslash at end of line in notebook #7969

Closed
wjp mannequin opened this issue Jan 17, 2010 · 6 comments
Closed

escaped backslash at end of line in notebook #7969

wjp mannequin opened this issue Jan 17, 2010 · 6 comments

Comments

@wjp
Copy link
Mannequin

wjp mannequin commented Jan 17, 2010

The following input in the notebook produces the wrong output:

%python
2+2
print """\
a\\
n
c
"""

It should return

a\
n
c

but instead prints

a

c

Component: notebook

Author: Tim Dumol, Willem Jan Palenstijn

Reviewer: Mitesh Patel

Merged: sagenb-0.7

Issue created by migration from https://trac.sagemath.org/ticket/7969

@wjp wjp mannequin added this to the sage-4.3.2 milestone Jan 17, 2010
@wjp wjp mannequin added c: user interface labels Jan 17, 2010
@wjp wjp mannequin assigned williamstein and TimDumol and unassigned williamstein Jan 17, 2010
@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 17, 2010

Attachment: trac_7969-escaped-backslash.patch.gz

Prevents end-of-line backslashse from being replaced in sage and python systems.

@TimDumol TimDumol mannequin added the s: needs review label Jan 19, 2010
@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 19, 2010

Author: Tim Dumol, Willem Palenstijn

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 19, 2010

comment:4

Fixes the example above and a few others I've tried. SageNB doctests pass.

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 19, 2010

Reviewer: Mitesh Patel

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 25, 2010

Merged: sagenb-0.7

@qed777 qed777 mannequin removed the s: positive review label Jan 25, 2010
@qed777 qed777 mannequin closed this as completed Jan 25, 2010
@fchapoton
Copy link
Contributor

Changed author from Tim Dumol, Willem Palenstijn to Tim Dumol, Willem Jan Palenstijn

@qed777 qed777 mannequin mentioned this issue Feb 10, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants