| 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>
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.