Show More
@@ -593,14 +593,18 b' python-profiler package from non-free.""")' | |||||
593 | # user (run by exec in pdb itself). |
|
593 | # user (run by exec in pdb itself). | |
594 | self.shell.InteractiveTB(etype, value, tb, tb_offset=3) |
|
594 | self.shell.InteractiveTB(etype, value, tb, tb_offset=3) | |
595 | else: |
|
595 | else: | |
596 |
if |
|
596 | if 'm' in opts: | |
597 |
|
|
597 | def run(): | |
598 | if runner is None: |
|
598 | self.shell.safe_run_module(modulename, prog_ns) | |
599 |
|
|
599 | else: | |
600 |
|
600 | if runner is None: | ||
601 | def run(): |
|
601 | runner = self.default_runner | |
602 |
runner |
|
602 | if runner is None: | |
603 |
|
|
603 | runner = self.shell.safe_execfile | |
|
604 | ||||
|
605 | def run(): | |||
|
606 | runner(filename, prog_ns, prog_ns, | |||
|
607 | exit_ignore=exit_ignore) | |||
604 |
|
608 | |||
605 | if 't' in opts: |
|
609 | if 't' in opts: | |
606 | # timed execution |
|
610 | # timed execution |
General Comments 0
You need to be logged in to leave comments.
Login now