Hi,
On Mon, Sep 19, 2016 at 12:49:27PM +0200, Jeroen Demeyer wrote:
> Hello,
>
> is there anybody who uses the functions reset() or restore() from
> src/sage/misc/reset.pyx
Various users are frequently asking for this, see e.g. this 3-hours-old
question on ask:
https://ask.sagemath.org/question/34855/how-to-kill-a-variable/
Ciao,
Thierry
> 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+...@googlegroups.com.
> To post to this group, send email to
sage-...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/sage-devel.
> For more options, visit
https://groups.google.com/d/optout.