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
..
2000-05-02 18:34:30 +00:00
2000-09-01 23:29:29 +00:00
2001-01-19 21:36:19 +00:00
2001-02-16 11:52:31 +00:00
2000-09-26 05:46:01 +00:00
2001-02-19 23:52:49 +00:00
2000-07-22 18:47:25 +00:00
2000-09-04 00:54:56 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-19 23:34:06 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-10 21:17:27 +00:00
2000-09-01 23:29:29 +00:00
2000-10-05 10:54:45 +00:00
2000-12-15 21:58:52 +00:00
2001-01-23 16:08:34 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-02-12 22:13:26 +00:00
2000-09-05 04:40:39 +00:00
2001-01-18 14:50:11 +00:00
2000-09-01 23:29:29 +00:00
2001-01-18 03:03:16 +00:00
2000-11-03 08:18:37 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-08-24 20:11:32 +00:00
2000-07-31 15:28:04 +00:00
2001-02-20 21:43:24 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-28 00:27:39 +00:00
2000-09-01 23:29:29 +00:00
2000-09-26 05:46:01 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2001-01-23 01:46:06 +00:00
2001-02-17 22:02:34 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2000-09-01 23:29:29 +00:00
2000-07-22 18:47:25 +00:00
2001-01-27 06:20:08 +00:00
2001-02-09 22:22:18 +00:00
2001-01-13 22:06:05 +00:00
2000-09-01 23:29:29 +00:00
2000-11-13 19:45:45 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-10-12 20:58:32 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2000-10-06 15:48:38 +00:00
2000-09-01 23:29:29 +00:00