Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage Math Server's behavior is clearly misleading the user and should be changed immediately.

def issage():
    try:
        import sage.all
        return True
    except ImportError:
        return False
print(issage())

This should work independent of the preparser.