Show More
@@ -41,6 +41,11 b' except ImportError:' | |||||
41 | except ImportError: |
|
41 | except ImportError: | |
42 | profile = pstats = None |
|
42 | profile = pstats = None | |
43 |
|
43 | |||
|
44 | # print_function was added to __future__ in Python2.6, remove this when we drop | |||
|
45 | # 2.5 compatibility | |||
|
46 | if not hasattr(__future__,'CO_FUTURE_PRINT_FUNCTION'): | |||
|
47 | __future__.CO_FUTURE_PRINT_FUNCTION = 65536 | |||
|
48 | ||||
44 | import IPython |
|
49 | import IPython | |
45 | from IPython.core import debugger, oinspect |
|
50 | from IPython.core import debugger, oinspect | |
46 | from IPython.core.error import TryNext |
|
51 | from IPython.core.error import TryNext |
General Comments 0
You need to be logged in to leave comments.
Login now