all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: fgallina@gnu.org (Fabián Ezequiel Gallina)
To: 16875@debbugs.gnu.org
Subject: bug#16875: python, comint-mode: Large output makes Emacs freeze
Date: Tue, 24 Jun 2014 22:19:08 -0300	[thread overview]
Message-ID: <87bnth4whf.fsf@gnu.org> (raw)
In-Reply-To: <530C60A7.1030009@easy-emacs.de>


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	other threads:[~2014-06-25  1:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25  9:21 bug#16875: python, comint-mode: Large output makes Emacs freeze Andreas Röhler
2014-06-25  1:19 ` Fabián Ezequiel Gallina [this message]
2014-06-25  5:27   ` Andreas Röhler
2014-06-25 14:26     ` Stefan Monnier
2014-06-25 15:28       ` Andreas Röhler
2014-07-20 22:27       ` Fabián Ezequiel Gallina
2014-07-23  6:20         ` Andreas Röhler
2014-07-27  2:22 ` Fabián Ezequiel Gallina
2014-07-27  4:03   ` Eli Zaretskii
2014-07-28 21:35     ` Fabián Ezequiel Gallina
2014-07-29  7:32       ` Eli Zaretskii
2014-07-27 10:20   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnth4whf.fsf@gnu.org \
    --to=fgallina@gnu.org \
    --cc=16875@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.