mirror of https://github.com/python/cpython
Don't search for *.so modules since we can't handle them!
This commit is contained in:
parent
619e1beda9
commit
011813444c
|
@ -95,8 +95,7 @@ def scanfile(filename):
|
|||
|
||||
builtins = sys.builtin_module_names
|
||||
if 'sys' not in builtins: builtins.append('sys')
|
||||
# XXX this table may have to be changed depending on your platform:
|
||||
tails = ['.so', 'module.so', '.py', '.pyc']
|
||||
tails = ['.py', '.pyc']
|
||||
|
||||
def findmodule(modname, path = sys.path):
|
||||
if modname in builtins: return '<builtin>'
|
||||
|
|
Loading…
Reference in New Issue