##// END OF EJS Templates
Merge pull request #1160 from ipython/inputhookqt4...
Merge pull request #1160 from ipython/inputhookqt4 Don't ignore ctrl-C during `%gui qt` PR #815 ignores ctrl-C during normal code execution, this restores the sigint handler outside the inputhook. Closes #1157.

File last commit:

r2661:595fc3b9
r5744:464cb892 merge
Show More
main.py
24 lines | 551 B | text/x-python | PythonLexer
Barry Wark
moved frontend from ipython1-dev. Got engineservice.ThreadedEngineService running, but does nto correctly propagate errors during execute()
r1263 #
# main.py
# IPython1Sandbox
#
# Created by Barry Wark on 3/4/08.
# Copyright __MyCompanyName__ 2008. All rights reserved.
#
#import modules required by application
import objc
import Foundation
import AppKit
from PyObjCTools import AppHelper
from twisted.internet import _threadedselect
reactor = _threadedselect.install()
# import modules containing classes required to start application and load MainMenu.nib
import IPython1SandboxAppDelegate
import IPython.frontend.cocoa.cocoa_frontend
# pass control to AppKit
AppHelper.runEventLoop()