Groups
Groups
Sign in
Groups
Groups
sage-devel
Conversations
About
Send feedback
Help
%lsmagic broken in sage interpreter
40 views
Skip to first unread message
Vincent Delecroix
unread,
Mar 13, 2022, 5:57:50 AM
3/13/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
Dear all,
The IPython magic %lsmagic is supposed to list the available
magic functions. However, this does not seem to work within
the sage interpreter
$ sage -ipython
[1]: %lsmagic
Available line magics:
%alias %alias_magic %autoawait ...
But
$ sage
sage: %lsmagic
<IPython.core.magics.basic.MagicsDisplay object at 0x7f7c07996530>
Any idea on what is going wrong?
Vincent
Eric Gourgoulhon
unread,
Mar 13, 2022, 1:14:48 PM
3/13/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
This is
https://trac.sagemath.org/ticket/30661
A workaround is
sage: %display unicode_art # actually anything but plain
sage: %lsmagic
Eric.
Emmanuel Charpentier
unread,
Mar 14, 2022, 10:55:15 AM
3/14/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-devel
That's
Trac#30661
...
HTH,
Reply all
Reply to author
Forward
0 new messages