[sage-support] Re: Symbolic rings

2007-05-30 Thread William Stein
On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: There is currently no function to clear these, so I just wrote one. The attached patch adds a function clear_vars() that when called removes all 1-letter symbolic variables that are currently defined. I absolutely agree with the OP

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Wednesday 30 May 2007 12:14, William Stein wrote: On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: There is currently no function to clear these, so I just wrote one. The attached patch adds a function clear_vars() that when called removes all 1-letter symbolic variables that

[sage-support] Re: Symbolic rings

2007-05-30 Thread Bobby Moretti
On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: On Wednesday 30 May 2007 12:14, William Stein wrote: On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: There is currently no function to clear these, so I just wrote one. The attached patch adds a function clear_vars() that

[sage-support] Re: Symbolic rings

2007-05-30 Thread Joel B. Mohler
On Wednesday 30 May 2007 14:00, Bobby Moretti wrote: On Wednesday 30 May 2007 12:14, William Stein wrote: On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: There is currently no function to clear these, so I just wrote one. The attached patch adds a function clear_vars()

[sage-support] Re: Symbolic rings

2007-05-30 Thread Bobby Moretti
On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: On Tuesday 29 May 2007 23:50, William Stein wrote: Is there a global toggle to turn on/off this behavior? I can see the value of this in an interactive setting, but when programming I would sometimes rather get an error when trying

[sage-support] Re: Symbolic rings

2007-05-30 Thread William Stein
On 5/30/07, Joel B. Mohler [EMAIL PROTECTED] wrote: So -- if you want to implement you suggestion, we just remove the import of predefined in calculus/all.py and put it in both all_cmdline.py and all_notebook.py. That's it. Would you take such a patch? No, since I just wrote one -- which

[sage-support] Re: Symbolic rings

2007-05-29 Thread William Stein
On 5/29/07, Kiran S. Kedlaya [EMAIL PROTECTED] wrote: I see that in recent versions of SAGE, referring to an object not previously created generates a Maxima symbolic object. That's not what's actually happening. What's happening is that the file sage/calculus/predefined.py