Show More
@@ -487,10 +487,14 b' class ListTB(TBTools):' | |||
|
487 | 487 | else: |
|
488 | 488 | list.append('%s\n' % str(stype)) |
|
489 | 489 | |
|
490 | # vds:>> | |
|
491 | if have_filedata: | |
|
492 | __IPYTHON__.hooks.synchronize_with_editor(filename, lineno, 0) | |
|
493 | # vds:<< | |
|
490 | # This is being commented out for now as the __IPYTHON__ variable | |
|
491 | # referenced here is not resolved and causes massive test failures | |
|
492 | # and errors. B. Granger, 04/2009. | |
|
493 | # See https://bugs.launchpad.net/bugs/362137 | |
|
494 | # # vds:>> | |
|
495 | # if have_filedata: | |
|
496 | # __IPYTHON__.hooks.synchronize_with_editor(filename, lineno, 0) | |
|
497 | # # vds:<< | |
|
494 | 498 | |
|
495 | 499 | return list |
|
496 | 500 | |
@@ -804,13 +808,17 b' class VerboseTB(TBTools):' | |||
|
804 | 808 | value = text_repr(getattr(evalue, name)) |
|
805 | 809 | exception.append('\n%s%s = %s' % (indent, name, value)) |
|
806 | 810 | |
|
807 | # vds: >> | |
|
808 | if records: | |
|
809 | filepath, lnum = records[-1][1:3] | |
|
810 | #print "file:", str(file), "linenb", str(lnum) # dbg | |
|
811 | filepath = os.path.abspath(filepath) | |
|
812 | __IPYTHON__.hooks.synchronize_with_editor(filepath, lnum, 0) | |
|
813 | # vds: << | |
|
811 | # This is being commented out for now as the __IPYTHON__ variable | |
|
812 | # referenced here is not resolved and causes massive test failures | |
|
813 | # and errors. B. Granger, 04/2009. | |
|
814 | # See https://bugs.launchpad.net/bugs/362137 | |
|
815 | # # vds: >> | |
|
816 | # if records: | |
|
817 | # filepath, lnum = records[-1][1:3] | |
|
818 | # #print "file:", str(file), "linenb", str(lnum) # dbg | |
|
819 | # filepath = os.path.abspath(filepath) | |
|
820 | # __IPYTHON__.hooks.synchronize_with_editor(filepath, lnum, 0) | |
|
821 | # # vds: << | |
|
814 | 822 | |
|
815 | 823 | # return all our info assembled as a single string |
|
816 | 824 | return '%s\n\n%s\n%s' % (head,'\n'.join(frames),''.join(exception[0]) ) |
General Comments 0
You need to be logged in to leave comments.
Login now