]> granicus.if.org Git - python/commitdiff
Disable .DLL as an extension for extension modules.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 4 Apr 2006 07:04:07 +0000 (07:04 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 4 Apr 2006 07:04:07 +0000 (07:04 +0000)
Python/dynload_win.c

index 6e8f822efb18eb95d9197dda2e525f15abbc5a29..36746e2f10c2a4af35cfb5687838ad0fc40e709e 100644 (file)
 const struct filedescr _PyImport_DynLoadFiletab[] = {
 #ifdef _DEBUG
        {"_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},
+       */
 #else
        {".pyd", "rb", C_EXTENSION},
+       /* Likewise
        {".dll", "rb", C_EXTENSION},
+       */
 #endif
        {0, 0}
 };