##// END OF EJS Templates
Check for .pyd as extension for binary files....
Thomas Kluyver -
Show More
@@ -549,7 +549,7 b' class Inspector:'
549 fname = inspect.getabsfile(obj.__class__)
549 fname = inspect.getabsfile(obj.__class__)
550 if fname.endswith('<string>'):
550 if fname.endswith('<string>'):
551 fname = 'Dynamically generated function. No source code available.'
551 fname = 'Dynamically generated function. No source code available.'
552 if (fname.endswith('.so') or fname.endswith('.dll')):
552 if any(fname.endswith(e) for e in ['.so', '.dll', '.pyd']):
553 binary_file = True
553 binary_file = True
554 out['file'] = fname
554 out['file'] = fname
555 except:
555 except:
General Comments 0
You need to be logged in to leave comments. Login now