History log of /external/python/cpython2/Python/importdl.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Python/importdl.h
52e14d640be3a7fa2c17f5a2a6bc9626d622aa40 30-Dec-2002 Just van Rossum <just@letterror.com> PEP 302 + zipimport:
- new import hooks in import.c, exposed in the sys module
- new module called 'zipimport'
- various changes to allow bootstrapping from zip files

I hope I didn't break the Windows build (or anything else for that
matter), but then again, it's been sitting on sf long enough...

Regarding the latest discussions on python-dev: zipimport sets
pkg.__path__ as specified in PEP 273, and likewise, sys.path item such as
/path/to/Archive.zip/subdir/ are supported again.
/external/python/cpython2/Python/importdl.h
d940054ad4bcd39e31f6e22d0fd6f674ec4a99b3 26-Feb-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port changes (Python part of patch #450267):
Python/
dynload_shlib.c // EMX port emulates dlopen() etc. for DL extensions
import.c // changes to support 8.3 DLL name limit (VACPP+EMX)
// and case sensitive import semantics
importdl.h
thread_os2.h
/external/python/cpython2/Python/importdl.h
603c6831d08d8598f76e767acdd6d37227b3e9ec 05-Nov-2001 Tim Peters <tim.peters@gmail.com> SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
Changes enabling Python to compile under OS/2 Visual Age C++.
/external/python/cpython2/Python/importdl.h
8586991099e4ace18ee94163a96b8ea1bed77ebe 02-Sep-2000 Guido van Rossum <guido@python.org> REMOVED all CWI, CNRI and BeOpen copyright markings.
This should match the situation in the 1.6b1 tree.
/external/python/cpython2/Python/importdl.h
dbd9ba6a6c19c3d06f5684b3384a934f740038db 09-Jul-2000 Tim Peters <tim.peters@gmail.com> Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
/external/python/cpython2/Python/importdl.h
ffcc3813d82e6b96db79f518f4e67b940a13ce64 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice - 2nd try.
/external/python/cpython2/Python/importdl.h
fd71b9e9d496caa510dec56a9b69966558d6ba5d 01-Jul-2000 Guido van Rossum <guido@python.org> Change copyright notice.
/external/python/cpython2/Python/importdl.h
95288862bb499796e8d4dedc56e0913408316487 20-Dec-1999 Guido van Rossum <guido@python.org> For Windows, need to add #include <windows.h>.
/external/python/cpython2/Python/importdl.h
9f65081d90dcc40650adffd2ed730ff5eb1e47c0 20-Dec-1999 Guido van Rossum <guido@python.org> Some rearrangements for the importdl.c restructuring.

This is part of a set of patches by Greg Stein.
/external/python/cpython2/Python/importdl.h
9c241ba014f5b3ff9b4a6c980f1c20585199b874 06-Aug-1998 Guido van Rossum <guido@python.org> Added declarations for Mac code resource modules (Jack Jansen).
/external/python/cpython2/Python/importdl.h
aee0bad0a50f9f533267d241bea97a0b2118f238 05-Sep-1997 Guido van Rossum <guido@python.org> First part of package support.

This doesn't yet support "import a.b.c" or "from a.b.c import x", but
it does recognize directories. When importing a directory, it
initializes __path__ to a list containing the directory name, and
loads the __init__ module if found.

The (internal) find_module() and load_module() functions are
restructured so that they both also handle built-in and frozen modules
and Mac resources (and directories of course). The imp module's
find_module() and (new) load_module() also have this functionality.
Moreover, imp unconditionally defines constants for all module types,
and has two more new functions: find_module_in_package() and
find_module_in_directory().

There's also a new API function, PyImport_ImportModuleEx(), which
takes all four __import__ arguments (name, globals, locals, fromlist).
The last three may be NULL. This is currently the same as
PyImport_ImportModule() but in the future it will be able to do
relative dotted-path imports.

Other changes:

- bltinmodule.c: in __import__, call PyImport_ImportModuleEx().

- ceval.c: always pass the fromlist to __import__, even if it is a C
function, so PyImport_ImportModuleEx() is useful.

- getmtime.c: the function has a second argument, the FILE*, on which
it applies fstat(). According to Sjoerd this is much faster. The
first (pathname) argument is ignored, but remains for backward
compatibility (so the Mac version still works without changes).

By cleverly combining the new imp functionality, the full support for
dotted names in Python (mini.py, not checked in) is now about 7K,
lavishly commented (vs. 14K for ni plus 11K for ihooks, also lavishly
commented).

Good night!
/external/python/cpython2/Python/importdl.h
ef3d02ebb955d01b2a8484d7c25f5ced4bf2036d 21-Jul-1997 Guido van Rossum <guido@python.org> Removed some variables that are used to exchange data between import.c and
importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and
the modules dictionary is now passed using PyImport_GetModuleDict().

Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists
but we don't want to use it.
/external/python/cpython2/Python/importdl.h
af5dfb4cebd670679612ddb0a0520fe711830a1d 14-May-1997 Guido van Rossum <guido@python.org> One last rename glitch: import_modules -> _PyImport_Modules.
/external/python/cpython2/Python/importdl.h
79f25d9a7b853a9f491a0cfe4b81eeb9e2d19569 29-Apr-1997 Guido van Rossum <guido@python.org> Quickly renamed the remaining files -- this directory is done.
/external/python/cpython2/Python/importdl.h
d266eb460e20ded087d01a29da0a230e235afc40 25-Oct-1996 Guido van Rossum <guido@python.org> New permission notice, includes CNRI.
/external/python/cpython2/Python/importdl.h
fbe6d33ffd64ce1b31b2dab332c617f96b5e3fbf 12-Jun-1995 Sjoerd Mullender <sjoerd@acm.org> Check if we've already loaded a dynamic module under a different name.
/external/python/cpython2/Python/importdl.h
9c96a923fb3be046489ff486d41194658c9b015a 15-Feb-1995 Jack Jansen <jack.jansen@cwi.nl> Added hooks to support importing pyc code from a resource on the mac.
/external/python/cpython2/Python/importdl.h
6d023c98b06e8b4558f3558335433f371a89cc9b 04-Jan-1995 Guido van Rossum <guido@python.org> Added 1995 to copyright message.
bltinmodule.c: fixed coerce() nightmare in ternary pow().
modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject().
pythonrun.c: move flushline() into and around print_error().
/external/python/cpython2/Python/importdl.h
1ae940a5870df2f706fa884afd533847f6b0b1a8 02-Jan-1995 Guido van Rossum <guido@python.org> Lots of changes, most minor (fatal() instead of abort(), use of
err_fetch/err_restore and so on). But...
NOTE: import.c has been rewritten and all the DL stuff is now in the
new file importdl.c.
/external/python/cpython2/Python/importdl.h