cpython/Python
Guido van Rossum 85cd1d690c The code in PyImport_Import() tried to save itself a bit of work and
save the __builtin__ module in a static variable.  But this doesn't
work across Py_Finalise()/Py_Initialize()!  It also doesn't work when
using multiple interpreter states created with PyInterpreterState_New().

So I'm ripping out this small optimization.

This was probably broken since PyImport_Import() was introduced in
1997!  We really need a better test suite for multiple interpreter
states and repeatedly initializing.

This fixes the problems Barry reported in Demo/embed/loop.c.
2001-02-20 21:43:24 +00:00
..
.cvsignore
atof.c
bltinmodule.c Backed out the unistr() builtin. 2001-01-19 21:36:19 +00:00
ceval.c Remove trailing comma from 'why_code' enum, which was introduced by the 2001-02-16 11:52:31 +00:00
codecs.c
compile.c Fix for implicit tuple + default arguments, courtesy of Michael Hudson. 2001-02-19 23:52:49 +00:00
dup2.c
dynload_aix.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_mac.c Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef. 2001-01-19 23:34:06 +00:00
dynload_next.c
dynload_os2.c
dynload_shlib.c Oops, one more part of the cygwin patch (SF patch #102409 by jlt63: 2001-01-10 21:17:27 +00:00
dynload_stub.c
dynload_win.c
errors.c
exceptions.c Leak pluggin', bug fixin' and better documentin'. Specifically, 2001-01-23 16:08:34 +00:00
fmod.c
frozen.c
frozenmain.c
getargs.c Related to SF bug 132008 (PyList_Reverse blows up). 2001-02-12 22:13:26 +00:00
getcompiler.c
getcopyright.c Add my name to the copyright notice. 2001-01-18 14:50:11 +00:00
getcwd.c
getmtime.c Move distributed and duplicated config for stat() and fstat() into pyport.h. 2001-01-18 03:03:16 +00:00
getopt.c
getplatform.c
getversion.c
graminit.c
hypot.c
import.c The code in PyImport_Import() tried to save itself a bit of work and 2001-02-20 21:43:24 +00:00
importdl.c
importdl.h
marshal.c It's unclear whether PyMarshal_XXX() are part of the public or private API. 2001-01-28 00:27:39 +00:00
memmove.c
modsupport.c
mystrtoul.c
pyfpe.c
pystate.c Add a new API, PyThreadState_DeleteCurrent() that combines 2001-01-23 01:46:06 +00:00
pythonmain.c
pythonrun.c Bug #132850 unix line terminator on windows. 2001-02-17 22:02:34 +00:00
sigcheck.c
strdup.c
strerror.c
strtod.c
structmember.c SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470 2001-01-27 06:20:08 +00:00
symtable.c Relax the rules for using 'from ... import *' and exec in the presence 2001-02-09 22:22:18 +00:00
sysmodule.c Neil discovered a bad DECREF on warnoptions, that caused repeated 2001-01-13 22:06:05 +00:00
thread.c
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h
thread_os2.h
thread_pth.h
thread_pthread.h
thread_sgi.h
thread_solaris.h
thread_wince.h
traceback.c