(self)
| 791 | raise |
| 792 | |
| 793 | def _cmdloop(self): |
| 794 | while True: |
| 795 | try: |
| 796 | # keyboard interrupts allow for an easy way to cancel |
| 797 | # the current command, so allow them during interactive input |
| 798 | self.allow_kbdint = True |
| 799 | self.cmdloop() |
| 800 | self.allow_kbdint = False |
| 801 | break |
| 802 | except KeyboardInterrupt: |
| 803 | self.message('--KeyboardInterrupt--') |
| 804 | raise |
| 805 | |
| 806 | |
| 807 | def set_trace(frame=None): |