On Jan 17, 11:35 am, William Stein <wst...@gmail.com> wrote: > 2010/1/16 Shing Hing Man <mat...@yahoo.com>: > > > Hi, > > In a Sage session (within notebook or command console) , how to > > list all the loaded objects and how to remove them from the session ? > > Use show_identifiers and reset: > > sage: X = 10 > sage: show_identifiers() > ['X', 'Out', 'variables', 'In', 'view_all'] > sage: reset() > sage: show_identifiers() > []
When I use show_identifiers() from the command line, the behaviour is as described. But if I use it from a notebook, then it returns an array with 1746 elements, even if I call reset(). The first few elements are ['paretovariate', 'is_MPolynomial', 'cartan_matrix', 'is_NumberFieldElement', 'elliptic_curves', 'sleep', Would it be more sensible not to display these omnipresent identifiers? It's hard to find my own variables in the mess! (I'm on 10.6, core 2 duo, running 4.3, if this is a bug) Cheers, Felix
-- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org