On Sun, Mar 23, 2014 at 4:50 PM, William Stein <wst...@gmail.com> wrote:

> On Sun, Mar 23, 2014 at 4:31 PM, R. Andrew Ohana <andrew.oh...@gmail.com>
> wrote:
> >
> > On Sun, Mar 23, 2014 at 3:36 PM, William Stein <wst...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> In Sage 0.0 - 5.12, I could create a file foo.sage and type
> >>
> >>   sage: load foo.sage   # or %load foo.sage
> >>
> >> and evaluate its contents.  In sage-6.2(beta) I get some interactive
> >> script loaded, that makes me evaluate the contents interactively, and
> >> sort of edit it.  Umh, yuck.  How do I get %load behavior back?
> >
> >
> > So the current %load matches the %load behavior of ipython, I think this
> was
> > changed when we upgraded to 0.13 (maybe?).
>
> -1.  But I guess we've had this discussion before...
>

We did, but it seemed to die off with no clear vote one way or another.


>  >  In ipython %run matches the
> > behavior of our old load command, but it doesn't handle preparsing, which
> > was why the mostly redundant %runfile was introduced to replace the load
> > behavior. The best fix for this would be in upstream ipython to have
> %run to
> > use the transformers that the interpreter already uses.
> >
> > I've been of-and-on working on cleaning up and refactoring code
> surrounding
> > this (haven't posted anything yet, since it is still a mess), but I've
> > noticed a number of other broken things (like actually editing the lines
> > that you get with %iload).
> >
> >>
> >> There's also %run on a sage file, but it doesn't preparse.
> >>
> >> William
> >>
> >> --
> >> William Stein
> >> Professor of Mathematics
> >> University of Washington
> >> http://wstein.org
> >>
> >> --
> >> 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 http://groups.google.com/group/sage-devel.
> >> For more options, visit https://groups.google.com/d/optout.
> >
> >
> >
> >
> > --
> > Andrew
> >
> > --
> > 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 http://groups.google.com/group/sage-devel.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> William Stein
> Professor of Mathematics
> University of Washington
> http://wstein.org
>
> --
> 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 http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew

-- 
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 http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to