sagemath command line echo has commands I didn't make

62 views
Skip to first unread message

Zachary Gershkoff

unread,
Jun 4, 2017, 7:34:51 PM6/4/17
to sage-support
After rebuilding and running sage, these three things appeared when I press the up key:

sage: trace('print(factor(10))'); print(3+97) 
sage: print([sys.stdin.isatty(), sys.stdout.isatty()]) 
sage: 3^33    

I have no idea what to make of that. I never typed any of those.

Volker Braun

unread,
Aug 30, 2017, 6:12:35 AM8/30/17
to sage-support
This is from unit tests that tested the IPython repl. We should be using a different history file for unit tests...

slelievre

unread,
Aug 30, 2017, 9:35:03 AM8/30/17
to sage-support
This issue is now tracked in Sage trac ticket #23752:
https://trac.sagemath.org/ticket/23752

Wed 2017-08-30 12:12:35 UTC+2, Volker Braun:

slelievre

unread,
Sep 3, 2017, 7:32:40 PM9/3/17
to sage-support
John Palmieri proposed a fix at ticket #23752:
Reply all
Reply to author
Forward
0 new messages