Show More
@@ -765,7 +765,12 b' class IPCompleter(Completer):' | |||||
765 | if self.merge_completions: |
|
765 | if self.merge_completions: | |
766 | self.matches = [] |
|
766 | self.matches = [] | |
767 | for matcher in self.matchers: |
|
767 | for matcher in self.matchers: | |
768 | self.matches.extend(matcher(text)) |
|
768 | try: | |
|
769 | self.matches.extend(matcher(text)) | |||
|
770 | except: | |||
|
771 | # Show the ugly traceback if the matcher causes an | |||
|
772 | # exception, but do NOT crash the kernel! | |||
|
773 | sys.excepthook() | |||
769 | else: |
|
774 | else: | |
770 | for matcher in self.matchers: |
|
775 | for matcher in self.matchers: | |
771 | self.matches = matcher(text) |
|
776 | self.matches = matcher(text) |
General Comments 0
You need to be logged in to leave comments.
Login now