Language python does work work for some inputs

18 views
Skip to first unread message

ekwa...@gmail.com

unread,
Jun 2, 2025, 2:40:59 AMJun 2
to sage-cell
For example, "1+1" produces nothing. However, "print(1+1)" works. Strange..

Anyway, thank you for maintaining the sagecell server.

Kwankyu 

Andrey Novoseltsev

unread,
Jun 3, 2025, 11:42:04 PMJun 3
to sage-cell
Was it ever different? Other languages are wrapped into eval calls with potentially extra wrapping, so "the last object" is not necessarily getting printed.

ekwa...@gmail.com

unread,
Jun 3, 2025, 11:58:42 PMJun 3
to sage-cell
On Wednesday, June 4, 2025 at 12:42:04 PM UTC+9 novo...@gmail.com wrote:
Was it ever different?

I don't remember...
 
Other languages are wrapped into eval calls with potentially extra wrapping, so "the last object" is not necessarily getting printed.

That is a different behavior from most other languages, if not all, even from sage. I guess most users would find this surprising.
Reply all
Reply to author
Forward
0 new messages