Show More
@@ -2209,7 +2209,7 b' class InteractiveShell(object,Magic):' | |||||
2209 |
|
2209 | |||
2210 | try: |
|
2210 | try: | |
2211 | code = self.compile(source,filename,symbol) |
|
2211 | code = self.compile(source,filename,symbol) | |
2212 | except (OverflowError, SyntaxError, ValueError, TypeError): |
|
2212 | except (OverflowError, SyntaxError, ValueError, TypeError, MemoryError): | |
2213 | # Case 1 |
|
2213 | # Case 1 | |
2214 | self.showsyntaxerror(filename) |
|
2214 | self.showsyntaxerror(filename) | |
2215 | return None |
|
2215 | return None |
@@ -14,6 +14,7 b' for your operation system, from platutils_PLATFORMNAME module.' | |||||
14 |
|
14 | |||
15 | import os |
|
15 | import os | |
16 | import sys |
|
16 | import sys | |
|
17 | import warnings | |||
17 |
|
18 | |||
18 | # Import the platform-specific implementations |
|
19 | # Import the platform-specific implementations | |
19 | if os.name == 'posix': |
|
20 | if os.name == 'posix': |
General Comments 0
You need to be logged in to leave comments.
Login now