[IPython-dev] Fwd: [GitHub] show() blocks in pylab mode with ipython 0.10.1 [ipython/ipython GH-185]

Fernando Perez fperez.net at gmail.com
Tue Oct 26 15:42:55 EDT 2010


Hi all,

Paul Ivanov just posted this minimally invasive change to fix the GTK
pylab bug in 0.10.1.

The change is a trivial one-line fix:

http://github.com/ivanov/ipython/commit/8ed54e466932c326868a82c68adc92345325ca93

I'm posting here so affected users can just go and edit that one file
themselves for now, untill we roll the fix out.

I think we should roll a bugfix 0.10.2 so that distributions can
update and push the fix to their users, sooner rather than later.
I'll leave this for feedback for a few days, and unless I hear
otherwise I'll push the 0.10.2 with this single fix over the weekend.

If anyone knows of a better/more solid fix, I'm all ears.  I don't use
pygtk myself *at all* so I'm the least qualified person to be doing
this (in case that wasn't already abundantly clear from the mess I
made...).

Many thanks to Mark Voorhies and Paul Ivanov for tracking this one down!

Regards,

f


---------- Forwarded message ----------
From: GitHub <noreply at github.com>
Date: Tue, Oct 26, 2010 at 1:02 AM
Subject: [GitHub] show() blocks in pylab mode with ipython 0.10.1
[ipython/ipython GH-185]
To: fperez.net at gmail.com


From: ivanov

Keeping simple things simple - I can confirm that:
 $ ipython -pylab -gthread
 In [1]: ax = subplot(111); ax.plot(rand(10)); show()
all work, without blocking with just one line change to the current
0.10.2 branch, by uncommenting gtk.set_interactive(False) after gtk is
imported on line 781 of Shell.py

http://github.com/ivanov/ipython/tree/fix185

View Issue: http://github.com/ipython/ipython/issues#issue/185/comment/493228



More information about the IPython-dev mailing list