Disable .DLL as an extension for extension modules.

This commit is contained in:
Martin v. Löwis 2006-04-04 07:04:07 +00:00
parent 72289a616c
commit c95dd9488a
1 changed files with 6 additions and 0 deletions

View File

@ -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}
}; };