summaryrefslogtreecommitdiff
path: root/Python/dynload_next.c
AgeCommit message (Collapse)AuthorLines
2003-02-25Partial backport of 2.11: better error messages on import failures.Jack Jansen-2/+10
Fixes #652590.
2001-12-06Don't fail on importing things with undefined references. Unfortunately weJack Jansen-1/+2
still fail on importing modules that link with libraries that fail their initialization code (such as windowing libraries when we don't have access to the window server) and that is what I really wanted to fix.
2001-11-28Use PyOS_snprintf instead of sprintf.Jeremy Hylton-1/+1
2001-08-11Patch by Jonathan Wight (slightly reformatted) to forestall loading theJack Jansen-3/+7
same module twice, which apparently crashes Python. I could not test the error condition, but in normal life it seems to have no adverse effects. Also removed an unsued variable, and corrected 2 glaring errors (missing 'case' in front of a label).
2000-09-01REMOVED all CWI, CNRI and BeOpen copyright markings.Guido van Rossum-9/+0
This should match the situation in the 1.6b1 tree.
2000-07-16Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters-1/+1
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
2000-06-30Change copyright notice - 2nd try.Guido van Rossum-6/+0
2000-06-30Change copyright notice.Guido van Rossum-21/+6
2000-04-10Skip Montanaro: add string precisions to calls to PyErr_FormatGuido van Rossum-1/+3
to prevent possible buffer overruns.
1999-12-22Cleanup patches from Greg Stein:Guido van Rossum-1/+4
* in import.c, #ifdef out references to dynamic loading based on HAVE_DYNAMIC_LOADING * clean out the platform-specific crud from importdl.c. [ maybe fold this function into import.c and drop the importdl.c file? Greg.] * change GetDynLoadFunc's "funcname" parameter to "shortname". change "name" to "fqname" for clarification. * each GetDynLoadFunc now creates its own funcname value. WARNING: as I mentioned previously, we may run into an issue with a missing "_" on some platforms. Testing will show this pretty quickly, however. * move pathname munging into dynload_shlib.c
1999-12-20The old platform-specific contents of importdl.c, broken down into oneGuido van Rossum-0/+194
file per platform (really: per style of Dl API; e.g. all platforms using dlopen() are grouped together in dynload_shlib.c.). This is part of a set of patches by Greg Stein.