diff Python/dynload_dl.c @ 76754:257cbd2fac38

Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. This introduces a new function, imp.extension_suffixes(), which is currently undocumented. That is forthcoming once issue #14657 is resolved and how to expose file suffixes is decided.
author Brett Cannon <brett@python.org>
date Fri, 04 May 2012 15:20:40 -0400
parents 42f61304f77d
children
line wrap: on
line diff
--- a/Python/dynload_dl.c	Fri May 04 13:52:49 2012 -0400
+++ b/Python/dynload_dl.c	Fri May 04 15:20:40 2012 -0400
@@ -9,10 +9,7 @@
 
 extern char *Py_GetProgramName(void);
 
-const struct filedescr _PyImport_DynLoadFiletab[] = {
-    {".o", "rb", C_EXTENSION},
-    {0, 0}
-};
+const char *_PyImport_DynLoadFiletab[] = {".o", NULL};
 
 
 dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname,