IPShellWX blocks until command line code is run.

Bug #396761 reported by mulicheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Fix Committed
Undecided
Brian Granger

Bug Description

Other threaded shells create self.IP after hijacking the main loop of the target front end. The WX shell creates self.IP, checks wxversion, and then hijacks the main thread. The result is that

> ipython -wthread myapp.py

Will block until myapp finished.

Seems like the only thing wxversion needed IP for, was to use the InteractiveTB method. Perhaps a different ordering of calls can be established so that launching wx apps from the command line does not block.

Revision history for this message
Brian Granger (ellisonbg) wrote :

The new PyOS_InputHook implementation completely solves this issue.

Changed in ipython:
assignee: nobody → Brian Granger (ellisonbg)
status: New → Won't Fix
status: Won't Fix → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.