##// END OF EJS Templates
Minor bug fixes and comments to address review....
Brian Granger -
Show More
@@ -65,12 +65,12 b' used, and this module (and the readline module) are silently inactive.'
65 import __builtin__
65 import __builtin__
66 import __main__
66 import __main__
67 import glob
67 import glob
68 import itertools
68 import keyword
69 import keyword
69 import os
70 import os
70 import re
71 import re
71 import shlex
72 import shlex
72 import sys
73 import sys
73 import itertools
74 import types
74 import types
75
75
76 from IPython.core.error import TryNext
76 from IPython.core.error import TryNext
@@ -34,7 +34,7 b' import sys'
34 from IPython.core import ipapi
34 from IPython.core import ipapi
35 from IPython.core.error import TryNext
35 from IPython.core.error import TryNext
36 from IPython.utils.genutils import (
36 from IPython.utils.genutils import (
37 chop, Term
37 chop, Term, USE_CURSES
38 )
38 )
39
39
40 if os.name == "nt":
40 if os.name == "nt":
@@ -23,6 +23,6 b' this mode, there is no way to pass IPython any command-line options, as those'
23 are trapped first by Python itself.
23 are trapped first by Python itself.
24 """
24 """
25
25
26 import IPython.core.ipapi import launch_new_instance
26 from IPython.core.ipapi import launch_new_instance
27
27
28 launch_new_instance()
28 launch_new_instance()
@@ -11,6 +11,14 b' Ref: Modified from wxPython source code wxPython/samples/simple/simple.py'
11 This example can only be run once in a given IPython session because when
11 This example can only be run once in a given IPython session because when
12 the frame is closed, wx goes through its shutdown sequence, killing further
12 the frame is closed, wx goes through its shutdown sequence, killing further
13 attempts. I am sure someone who knows wx can fix this issue.
13 attempts. I am sure someone who knows wx can fix this issue.
14
15 Furthermore, once this example is run, the Wx event loop is mostly dead, so
16 even other new uses of Wx may not work correctly. If you know how to better
17 handle this, please contact the ipython developers and let us know.
18
19 Note however that we will work with the Matplotlib and Enthought developers so
20 that the main interactive uses of Wx we are aware of, namely these tools, will
21 continue to work well with IPython interactively.
14 """
22 """
15
23
16 import wx
24 import wx
General Comments 0
You need to be logged in to leave comments. Login now