Don't search for *.so modules since we can't handle them!

This commit is contained in:
Guido van Rossum 1994-10-03 16:43:15 +00:00
parent 619e1beda9
commit 011813444c
1 changed files with 1 additions and 2 deletions

View File

@ -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>'