Kaydet (Commit) f69af1e9 authored tarafından Matthias Klose's avatar Matthias Klose

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

to load the one without the SOABI in the name.
üst 9a9dd1c1
...@@ -52,8 +52,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { ...@@ -52,8 +52,8 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
{"MODULE.EXE", "rb", C_EXTENSION}, {"MODULE.EXE", "rb", C_EXTENSION},
#else /* !__VMS */ #else /* !__VMS */
{"." SOABI ".so", "rb", C_EXTENSION}, {"." SOABI ".so", "rb", C_EXTENSION},
{".so", "rb", C_EXTENSION},
{"module." SOABI ".so", "rb", C_EXTENSION}, {"module." SOABI ".so", "rb", C_EXTENSION},
{".so", "rb", C_EXTENSION},
{"module.so", "rb", C_EXTENSION}, {"module.so", "rb", C_EXTENSION},
#endif /* __VMS */ #endif /* __VMS */
#endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */ #endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment