Show More
@@ -41,6 +41,11 b' except ImportError:' | |||
|
41 | 41 | except ImportError: |
|
42 | 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 | 49 | import IPython |
|
45 | 50 | from IPython.core import debugger, oinspect |
|
46 | 51 | from IPython.core.error import TryNext |
General Comments 0
You need to be logged in to leave comments.
Login now