the code in src/sage/misc/log.py is quite old, and has no doctests. As a result it has bitrotted due to an ipytthon update some years ago.
See https://trac.sagemath.org/ticket/29621 I think we should just remove this completely, as ipython nowadays has %history magic which certainly can do the same as log_text() Dima -- 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/CAAWYfq0tWZd9u6JJK1mY0On2wHKZymQmG2qF%2BzapD4hJ4RC%3Ddg%40mail.gmail.com.