#10855: reset() doesn't quite forget()
-------------------------+--------------------------------------------------
Reporter: dsm | Owner: burcin
Type: defect | Status: new
Priority: minor | Milestone:
Component: symbolics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-------------------------+--------------------------------------------------
{{{
sage: help(reset)
...
Delete all user defined variables, reset all globals variables
back to their default state, and reset all interfaces to other
computer algebra systems.
...
sage: assumptions()
[]
sage: x
x
sage: bool(x > 3)
False
sage: assume(x > 4)
sage: assumptions()
[x > 4]
sage: bool(x > 3)
True
sage: reset()
sage: assumptions()
[x > 4]
sage: # still assumed! but fortunately
sage: bool(x > 3)
False
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10855>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.