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

Notebook trims trailing underscores from output. #7924

Closed
robertwb opened this issue Jan 14, 2010 · 7 comments
Closed

Notebook trims trailing underscores from output. #7924

robertwb opened this issue Jan 14, 2010 · 7 comments

Comments

@robertwb
Copy link
Contributor

Try

print "___x___"

In a notebook cell.

Component: notebook

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

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 15, 2010

comment:1

More data:

sage: from sagenb.interfaces.expect import WorksheetProcess_ExpectImplementation 
sage: wp = WorksheetProcess_ExpectImplementation() 
sage: wp.execute('print "___x___"')
sage: wp.output_status()
Output Status:
        output: '___x'
        filenames: []
        done: True

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 15, 2010

comment:2

str.rstrip

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 15, 2010

comment:3

This may be a duplicate of #7663.

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 15, 2010

comment:4

The patch at #7663 should fix this. If it does and that ticket merges, please close this one.

@qed777
Copy link
Mannequin

qed777 mannequin commented Jan 18, 2010

Work Issues: Close with #7663

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 19, 2010

comment:6

Works with sagenb-0.6.

@TimDumol
Copy link
Mannequin

TimDumol mannequin commented Jan 19, 2010

Changed work issues from Close with #7663 to none

@TimDumol TimDumol mannequin closed this as completed Jan 19, 2010
@TimDumol TimDumol mannequin added r: duplicate and removed p: minor / 4 labels Jan 19, 2010
@TimDumol TimDumol mannequin removed this from the sage-4.3.1 milestone Jan 19, 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