From: Matthias Klose Date: Wed, 8 Sep 2010 16:22:10 +0000 (+0000) Subject: PEP 3149: Try to load the extension with the SOABI before trying X-Git-Tag: v3.2a3~376 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f69af1e959292867fc032b25422e96b72d8443ff;p=thirdparty%2FPython%2Fcpython.git PEP 3149: Try to load the extension with the SOABI before trying to load the one without the SOABI in the name. --- diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 04542c9cd2bb..3d0fb5eb01af 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -52,8 +52,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { {"MODULE.EXE", "rb", C_EXTENSION}, #else /* !__VMS */ {"." SOABI ".so", "rb", C_EXTENSION}, - {".so", "rb", C_EXTENSION}, {"module." SOABI ".so", "rb", C_EXTENSION}, + {".so", "rb", C_EXTENSION}, {"module.so", "rb", C_EXTENSION}, #endif /* __VMS */ #endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */