##// END OF EJS Templates
set import for python 2.3 in shell.py
vivainio2 -
Show More
@@ -46,6 +46,13 b' from IPython.ipmaker import make_IPython'
46 from IPython.Magic import Magic
46 from IPython.Magic import Magic
47 from IPython.ipstruct import Struct
47 from IPython.ipstruct import Struct
48
48
49 try: # Python 2.3 compatibility
50 set
51 except NameError:
52 import sets
53 set = sets.Set
54
55
49 # Globals
56 # Globals
50 # global flag to pass around information about Ctrl-C without exceptions
57 # global flag to pass around information about Ctrl-C without exceptions
51 KBINT = False
58 KBINT = False
General Comments 0
You need to be logged in to leave comments. Login now