1 | initial version |
It seems doable as follows: from a terminal, type:
sage -sh
Then, from that shell, type:
python -O $(which sage-ipython)
Wait a bit, and it seems that you have a true Sage (with a preparser and so on), which understood the -O
option of python:
sage: 2^2
4
sage: assert(2<1)
<nothing>