Show More
@@ -823,6 +823,11 b' class VerboseTB(TBTools):' | |||
|
823 | 823 | # will illustrate the error, if this exception catch is |
|
824 | 824 | # disabled. |
|
825 | 825 | call = tpl_call_fail % func |
|
826 | ||
|
827 | # Don't attempt to tokenize binary files. | |
|
828 | if file.endswith(('.so', '.pyd', '.dll')): | |
|
829 | frames.append('%s %s\n' % (link,call)) | |
|
830 | continue | |
|
826 | 831 | |
|
827 | 832 | def linereader(file=file, lnum=[lnum], getline=linecache.getline): |
|
828 | 833 | if file.endswith(('.pyc','.pyo')): |
General Comments 0
You need to be logged in to leave comments.
Login now