Show More
@@ -24,6 +24,8 b' import sys' | |||||
24 | import os |
|
24 | import os | |
25 | import textwrap |
|
25 | import textwrap | |
26 |
|
26 | |||
|
27 | sys_oldstdin = sys.stdin | |||
|
28 | ||||
27 | # The import below effectively obsoletes your old-style ipythonrc[.ini], |
|
29 | # The import below effectively obsoletes your old-style ipythonrc[.ini], | |
28 | # so consider yourself warned! |
|
30 | # so consider yourself warned! | |
29 | # import ipy_defaults |
|
31 | # import ipy_defaults | |
@@ -314,6 +316,7 b' def main():' | |||||
314 | """ % ( ",".join([ x for x in dir(zope_debug.utils) if not x.startswith("_") ] ) ) ) |
|
316 | """ % ( ",".join([ x for x in dir(zope_debug.utils) if not x.startswith("_") ] ) ) ) | |
315 |
|
317 | |||
316 |
|
318 | |||
|
319 | sys.stdin = sys_oldstdin | |||
317 | ip.user_ns.update( zope_debug.namespace ) |
|
320 | ip.user_ns.update( zope_debug.namespace ) | |
318 |
|
321 | |||
319 |
|
322 |
General Comments 0
You need to be logged in to leave comments.
Login now