bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16875: python, comint-mode: Large output makes Emacs freeze


From: Fabián Ezequiel Gallina
Subject: bug#16875: python, comint-mode: Large output makes Emacs freeze
Date: Tue, 24 Jun 2014 22:19:08 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]