PEP 3149: Try to load the extension with the SOABI before trying

to load the one without the SOABI in the name.
This commit is contained in:
Matthias Klose 2010-09-08 16:22:10 +00:00
parent 9a9dd1c140
commit f69af1e959
1 changed files with 1 additions and 1 deletions

View File

@ -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) */