Yes, please create a new issue. You can cc me, but I don't know the best way to fix it.
I saw the other issue (that %lsmagic isn't helpful by default), but fortunately "%<TAB>" works. It would be great to fix this, too. On Wednesday, March 1, 2023 at 12:09:41 AM UTC-8 Emmanuel Charpentier wrote: > Thank you for the explanation. > > The short-term fix works, but is noisy. Furthermore, it seems that it > *must* be executed at toplevel : wrapping it in a function and calling > this function doesn't work. So including it in a startup file doesn't seem > reasonable. > > The issue you pointed has been closed on Jan 6, 2023. Do I need to create > a new issue for this problem ? > > BTW, diagnosting the problem is complicated by this issue > <https://github.com/sagemath/sage/issues/30661>, which seems to be at the > bottom of the stack... > > Le mercredi 1 mars 2023 à 04:24:36 UTC+1, John H Palmieri a écrit : > >> I think it's due to https://github.com/sagemath/sage/issues/34547. That >> ticket was created because with the old behavior in Sage, instance of >> Octave(), Mathematica(), etc. were created when Sage started up, regardless >> of the availability of the corresponding software. Once those became lazy >> imports, they are apparently not detected by the code in >> sage/repl/interface_magic.py. We could restore the old non-lazy imports, or >> we could not be so clever about magic commands and define them manually, or >> there are probably other solutions. >> >> The following sequence of commands seems to restore them, at least in the >> command line (haven't tested the notebook), if you want a short-term fix: >> >> from sage.repl.interface_magic import InterfaceMagic >> import sage.interfaces.all >> sage.interfaces.all.__dict__ >> InterfaceMagic.register_all() >> >> >> On Tuesday, February 28, 2023 at 7:03:24 AM UTC-8 Emmanuel Charpentier >> wrote: >> >>> I don’t use them very often, bu the %mathematica and %%mathematica >>> magics seem to have recently disappeared. They don’t appear in the >>> %lsmagic output, and raise an error when one attempts to use them. >>> >>> Can someone shed any light on this ? >>> >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/541a4edc-23e8-4cfe-afdc-37b96c590d4bn%40googlegroups.com.