Subject: python, comint-mode: Large output makes Emacs freeze

From: [email-masked] (Fabián Ezequiel Gallina)
Date: Tue, 24 Jun 2014 22:19:08 -0300

This looks related to:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13675

Some ways to attenuate irresponsiveness:

1. Disable python shell font-locking:
   (setq python-shell-enable-font-lock nil)

2. Use Python's pprint to print such expressions, this makes it behave
   pretty much like iPython:

        >>> import pprint
        >>> pprint.pprint([[[False] * 200 for i in range(3)] for j in range(200)])

>From the python.el side there's not much we can do.

Fabián