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