Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357567 - dev-python/ipython-0.10.1 wx main loop not running
Summary: dev-python/ipython-0.10.1 wx main loop not running
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 20:48 UTC by Eduardo Suarez-Santana
Modified: 2011-04-12 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Suarez-Santana 2011-03-05 20:48:56 UTC
IPython has an option to create a main event loop to run wx apps without blocking the shell. It does not work in ipython 0.10.1

Reproducible: Always

Steps to Reproduce:
$ ipython -wthread
Python 2.6.6 (r266:84292, Mar  4 2011, 21:12:10) 
Type "copyright", "credits" or "license" for more information.

IPython 0.10.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import wx

In [2]: wx.App.IsMainLoopRunning()
Out[2]: False

In [3]: 

Actual Results:  
Main Loop not running

Expected Results:  
Main Loop running

Seen in x86 and amd64.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-07 23:11:31 UTC
Please report this problem to upstream.
https://github.com/ipython/ipython/issues
Comment 2 Eduardo Suarez-Santana 2011-04-12 09:38:11 UTC
It works again with 0.10.2.

$ ipython -wthread
Python 2.7.1 (r271:86832, Mar 29 2011, 15:05:30)
Type "copyright", "credits" or "license" for more information.

IPython 0.10.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: import wx

In [2]: wx.App.IsMainLoopRunning()
Out[2]: True

In [3]:
Closing threads... Done.
$