]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Don't search for *.so modules since we can't handle them!
authorGuido van Rossum <guido@python.org>
Mon, 3 Oct 1994 16:43:15 +0000 (16:43 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 3 Oct 1994 16:43:15 +0000 (16:43 +0000)
Tools/freeze/findmodules.py

index 177f1fdfde7c4dc50c4e885b3cd685b6a15a89f4..5041574aa31572e011a7e41d55c55e3de80a64ea 100644 (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>'