On 10/4/07, William Stein <[EMAIL PROTECTED]> wrote: > > This is precisely the behavior you're describing. > > Actually it isn't precisely the same behavior. If I do
Another difference is that sage: edit(foo) will work even if the function foo is defined in compiled Cython code. The modifications needed to make all this work might be too sage-specific for inclusion in IPython. I'm not sure yet. > > sage: %edit factor > > then this edits the factor function installed in > > SAGE_ROOT/local/lib/python/site-packages/sage/... > > (which will be overwritten by 'sage -br'), whereas > > sage: edit(factor) > > edits > > SAGE_ROOT/devel/sage/sage/rings/arith.py > > Moreover, we'll extend the edit command so when called in the notebook > it creates an textarea editor on the relevant file. > > -- William > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---