The new jedi completion engine seems to have some problems. For example with IPython 7.6.1, invoking tab completion like
sage: 1 + <TAB>
causes the interpreter to freeze for about 1.5 minutes (apparently, a largish cache is created at ~/.cache/jedi/
). After that, several deprecated functions are imported into global scope causing deprecation warnings to be printed, such as:
Importing absolute_igusa_invariants_kohel from here is deprecated. If you need to use it, please import it directly from sage.schemes.hyperelliptic_curves.invariants
See https://trac.sagemath.org/28064 for details.
return getattr(handle.access, attribute)(*args, **kwargs)
This also seems to slow down exiting Sage.
As for the display of dictionaries during doctests, I suggest to open a separate ticket to remove the sorting. This can be done independently from the IPython upgrade, once Python 2 support is dropped by Sage (in 9.1 I assume).