On 9/19/13 1:51 AM, William Stein wrote:
> By the way, when I wasn't looking, somebody deprecated, then
> completely changed the behavior of "%load" on the Sage command line to
> something else entirely... to be the same as what it is now in
> IPython. I don't think what it is in IPython is named well, and
> disagree with this change... Sigh. Anyways, load (and attach) were
> one of the very first things I ever added to sage, and I designed them
> to be like the analogues commands in Magma.
That was me, in the move to IPython 1.0. It was an effort to unify the
two communities, to ease migration back and forth, but I'm less certain
of the change now (I'm not sure how many people actually will be moving
back and forth, and the cost of the switch does seem pretty high).
Anyways, given that it's just deprecated, not actually changed yet, we
could undeprecate and just keep around the %runfile replacement command
as an alias for IPython compatibility, and because some people have
switched to it.
FYI, the IPython %load actually loads the contents of the file into the
current prompt, so you can edit it. It makes sense in the interactive
console IPython if a file is small, but huge files get really unwieldy.
It would be interesting to see how many people actually use %load in
the IPython community.
I should have probably asked for a vote on sage-devel before. I'll ask
for a vote on sage-devel about switching back for the move to IPython 1.0.
Thanks,
Jason