#15834: % mode switching on the command line is sometimes broken
----------------------+----------------------------
Reporter: was | Owner:
Type: defect | Status: new
Priority: minor | Milestone: sage-6.2
Component: misc | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------+----------------------------
Try typing each of these alone on a line, and you'll agree we have a
problem:
{{{
%maxima
%gap
%gp
%pari
%singular
%lisp
}}}
The relevant code is this in {{{misc/sage_extension.py}}}:
{{{
def register_interface_magics(self):
"""Register magics for each of the Sage interfaces"""
from sage.misc.superseded import deprecation
interfaces = [(name, obj)
for name, obj in
sage.interfaces.all.__dict__.items()
if isinstance(obj,
sage.interfaces.interface.Interface)]
for real_name, obj in interfaces:
def tmp(line, name=real_name):
self.shell.run_cell('%s.interact()' % name)
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/15834>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.