diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-20 18:41:11 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-20 18:41:11 (GMT) |
commit | c229e6e8ff6de61581f59266dc553f04f2c870c3 (patch) | |
tree | 3183a8ab52345140643c99700cd7b828aba7eed8 /Python/dynload_shlib.c | |
parent | ea6b4d5f70469071912e81cb29319996cfd990e0 (diff) | |
download | cpython-c229e6e8ff6de61581f59266dc553f04f2c870c3.zip cpython-c229e6e8ff6de61581f59266dc553f04f2c870c3.tar.gz cpython-c229e6e8ff6de61581f59266dc553f04f2c870c3.tar.bz2 |
Issue #14040: Remove rarely used file name suffixes for C extensions (under POSIX mainly).
This will improve import performance a bit (especially under importlib).
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r-- | Python/dynload_shlib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 1c215c3..ab24238 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -39,7 +39,6 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { #ifdef __CYGWIN__ {".dll", "rb", C_EXTENSION}, - {"module.dll", "rb", C_EXTENSION}, #else /* !__CYGWIN__ */ #if defined(PYOS_OS2) && defined(PYCC_GCC) {".pyd", "rb", C_EXTENSION}, @@ -48,15 +47,10 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { #ifdef __VMS {".exe", "rb", C_EXTENSION}, {".EXE", "rb", C_EXTENSION}, - {"module.exe", "rb", C_EXTENSION}, - {"MODULE.EXE", "rb", C_EXTENSION}, #else /* !__VMS */ {"." SOABI ".so", "rb", C_EXTENSION}, - {"module." SOABI ".so", "rb", C_EXTENSION}, {".abi" PYTHON_ABI_STRING ".so", "rb", C_EXTENSION}, - {"module.abi" PYTHON_ABI_STRING ".so", "rb", C_EXTENSION}, {".so", "rb", C_EXTENSION}, - {"module.so", "rb", C_EXTENSION}, #endif /* __VMS */ #endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */ #endif /* __CYGWIN__ */ |