Mercurial > cpython-lru_cache-weakref
diff Python/dynload_next.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_next.c Fri May 04 13:52:49 2012 -0400 +++ b/Python/dynload_next.c Fri May 04 15:20:40 2012 -0400 @@ -8,10 +8,7 @@ #include <mach-o/dyld.h> -const struct filedescr _PyImport_DynLoadFiletab[] = { - {".so", "rb", C_EXTENSION}, - {0, 0} -}; +const char *_PyImport_DynLoadFiletab[] = {".so", NULL}; /* ** Python modules are Mach-O MH_BUNDLE files. The best way to load these
