[Python-checkins] r84631 - python/branches/py3k/Python/dynload_shlib.c

matthias.klose python-checkins at python.org
Wed Sep 8 18:22:11 CEST 2010


Author: matthias.klose
Date: Wed Sep 8 18:22:10 2010
New Revision: 84631
Log:
PEP 3149: Try to load the extension with the SOABI before trying
to load the one without the SOABI in the name.
Modified:
 python/branches/py3k/Python/dynload_shlib.c
Modified: python/branches/py3k/Python/dynload_shlib.c
==============================================================================
--- python/branches/py3k/Python/dynload_shlib.c	(original)
+++ python/branches/py3k/Python/dynload_shlib.c	Wed Sep 8 18:22:10 2010
@@ -52,8 +52,8 @@
 {"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) */


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /