Hello,

is there anybody who uses the functions reset() or restore() from src/sage/misc/reset.pyx

They are meant to "reset" the global state in the interactive session to what it was when Sage started up. This seems useless (why not just quit Sage and restart it?) and dangerous (it resets global variables but not all other places potentially storing global state).

I should also mention that the implementation of these functions is quite hacky, relying on Cython's old-style-globals behaviour and using the magic sage_mode variable (set on Sage startup).

I would prefer to remove these functions (after a deprecation period obviously). Thoughts?


Jeroen.

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to