(self, data)
| 491 | InteractiveInterpreter.__init__(self, locals) |
| 492 | |
| 493 | def write(self, data): |
| 494 | # if (data.find("global_vars") == -1 and data.find("pydevd") == -1): |
| 495 | if self.skip > 0: |
| 496 | self.skip -= 1 |
| 497 | else: |
| 498 | if data == "Traceback (most recent call last):\n": |
| 499 | self.skip = 1 |
| 500 | sys.stderr.write(data) |
| 501 | |
| 502 | def showsyntaxerror(self, filename=None): |
| 503 | """Display the syntax error that just occurred.""" |
no outgoing calls