mirror of https://github.com/python/cpython
Disable .DLL as an extension for extension modules.
This commit is contained in:
parent
72289a616c
commit
c95dd9488a
|
@ -11,10 +11,16 @@
|
||||||
const struct filedescr _PyImport_DynLoadFiletab[] = {
|
const struct filedescr _PyImport_DynLoadFiletab[] = {
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
{"_d.pyd", "rb", C_EXTENSION},
|
{"_d.pyd", "rb", C_EXTENSION},
|
||||||
|
/* Temporarily disable .dll, to avoid conflicts between sqlite3.dll
|
||||||
|
and the sqlite3 package. If this needs to be reverted for 2.5,
|
||||||
|
some other solution for the naming conflict must be found.
|
||||||
{"_d.dll", "rb", C_EXTENSION},
|
{"_d.dll", "rb", C_EXTENSION},
|
||||||
|
*/
|
||||||
#else
|
#else
|
||||||
{".pyd", "rb", C_EXTENSION},
|
{".pyd", "rb", C_EXTENSION},
|
||||||
|
/* Likewise
|
||||||
{".dll", "rb", C_EXTENSION},
|
{".dll", "rb", C_EXTENSION},
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue