summaryrefslogtreecommitdiff
path: root/Python/importdl.c
AgeCommit message (Collapse)AuthorLines
1997-12-02Add the flag RTLD_GLOBAL to the dlopen() options.Guido van Rossum-3/+7
This exports symbols defined by the loaded extension to other extensions (loaded later). (I'm not quite sure about this but suppose it can't hurt...)
1997-11-22os2 patch by Jeff RushGuido van Rossum-0/+38
1997-11-19Fix importing of shared libraries from inside packages.Guido van Rossum-3/+16
This is a bit of a hack: when the shared library is loaded, the module name is "package.module", but the module calls Py_InitModule*() with just "module" for the name. The shared library loader squirrels away the true name of the module in _Py_PackageContext, and Py_InitModule*() will substitute this (if the name actually matches).
1997-10-10Shared libraries didn't quite work under AIX because of the change inGuido van Rossum-0/+11
status of the GNU readline interface. Here's a patch, by Vladimir Marangozov.
1997-08-16set sharedlib extensions properly for NeXT (Ted Horst)Guido van Rossum-0/+2
1997-08-02The last of the mass checkins for separate (sub)interpreters.Guido van Rossum-4/+10
Everything should now work again. See the comments for the .h files mass checkin (e.g. pystate.h) for more detail.
1997-07-21Removed some variables that are used to exchange data between import.c andGuido van Rossum-9/+2
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.
1997-05-14One last rename glitch: import_modules -> _PyImport_Modules.Guido van Rossum-1/+1
1997-05-05Remove 2 out of 3 __FreeBSD__ tests.Guido van Rossum-2/+2
These are no longer needed as of FreeBSD 2.0.5, according to Thomas Gellekum <tg@ihf.rwth-aachen.de>.
1997-04-30Avoid some potential (though unlikely) sprintf buffer overflows.Guido van Rossum-3/+6
1997-04-29Quickly renamed the remaining files -- this directory is done.Guido van Rossum-65/+83
1997-04-11(Jack:) On the Mac, don't automatically enable dynamic loading.Guido van Rossum-8/+0
1997-04-09Tweaks to keep the Microsoft compiler quier.Guido van Rossum-0/+3
1996-12-05Some extra flags that an HPUX user wants me to add.Guido van Rossum-2/+2
1996-10-25New permission notice, includes CNRI.Guido van Rossum-12/+19
1996-09-11Rationalized MS ifdefsGuido van Rossum-15/+7
1996-08-20Don't require <dlfcn.h> -- rely on existence of dlopen().Guido van Rossum-1/+3
1996-08-19Many little fixes:Guido van Rossum-3/+19
- support for SCO_SV dynamic loading - on Mac, auto-detect dynamic loading by __CFM68K__ or _powerc) - on Mac, long shared library extension is .cfm68k.slb or .ppc.slb - on hp, don't redefine hpux if already defined - add __file__ property to successfully loaded module
1996-08-09Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB)Guido van Rossum-0/+6
1996-07-31Changes for AIX sharedlibs.Guido van Rossum-14/+120
1996-07-31If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail.Guido van Rossum-0/+4
1996-06-26Corrections to aix_loaderror(), by Manus Hand.Guido van Rossum-5/+7
1996-05-23removed verbose decl; added win3.1 dynamic linking.Guido van Rossum-3/+19
1996-04-09Under NT, change "long" sharedlib extension to ".dll". (Mark H.)Guido van Rossum-1/+1
1996-02-25__FreeBSD__ shared librariesGuido van Rossum-3/+4
1996-01-12__hpux -> hpux equivalenceGuido van Rossum-0/+4
1995-10-23Added missing include for <Aliases.h>Jack Jansen-3/+1
1995-07-18NT specific change for nicer error message (Mark H)Guido van Rossum-3/+32
1995-06-27Porting to CW CFM68KJack Jansen-1/+4
1995-06-14re-enabled NeXT dynamic linking (#ifdef NeXT)Guido van Rossum-2/+2
1995-06-14Mac dynloading is now enabled by USE_MAC_DYNAMIC_LOADING.Jack Jansen-11/+42
Mac dynloading changed to allow multiple modules to live in with each other in the same file.
1995-06-12Check if we've already loaded a dynamic module under a different name.Sjoerd Mullender-2/+35
1995-02-27for BorlandCGuido van Rossum-1/+5
1995-02-21change ifdefs and fix "%#s" formatGuido van Rossum-2/+2
1995-02-18ported to 68K Mac; changed suffix to .slbGuido van Rossum-26/+18
1995-02-13Added code to import dynamic modules using mac CFM.Jack Jansen-2/+41
1995-01-20added changes for NetBSD dynamic linking; removed shared linking for NeXTGuido van Rossum-3/+16
1995-01-09remove nogus reload checkGuido van Rossum-5/+0
1995-01-07NT dlls have .pyd extension instead of .dllGuido van Rossum-2/+2
1995-01-04Added 1995 to copyright message.Guido van Rossum-2/+2
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().
1995-01-02Lots of changes, most minor (fatal() instead of abort(), use ofGuido van Rossum-0/+381
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.