Jeremy Hylton
cb17ae8b19
Relax the rules for using 'from ... import *' and exec in the presence
...
of nested functions. Either is allowed in a function if it contains
no defs or lambdas or the defs and lambdas it contains have no free
variables. If a function is itself nested and has free variables,
either is illegal.
Revise the symtable to use a PySymtableEntryObject, which holds all
the revelent information for a scope, rather than using a bunch of
st_cur_XXX pointers in the symtable struct. The changes simplify the
internal management of the current symtable scope and of the stack.
Added new C source file: Python/symtable.c. (Does the Windows build
process need to be updated?)
As part of these changes, the initial _symtable module interface
introduced in 2.1a2 is replaced. A dictionary of
PySymtableEntryObjects are returned.
2001-02-09 22:22:18 +00:00
..
2000-09-21 21:09:45 +00:00
2001-01-27 18:58:04 +00:00
2001-01-29 20:47:59 +00:00
2000-09-26 05:46:01 +00:00
2001-01-16 07:37:30 +00:00
2001-02-04 03:09:53 +00:00
2000-10-29 00:44:43 +00:00
2001-02-02 21:10:53 +00:00
2000-06-30 16:09:01 +00:00
2000-09-01 23:29:29 +00:00
2001-01-25 22:12:43 +00:00
2000-09-01 23:29:29 +00:00
2001-01-09 02:11:57 +00:00
2000-12-15 00:59:32 +00:00
2000-09-01 23:29:29 +00:00
2000-07-01 00:16:13 +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-08-03 02:06:16 +00:00
2001-01-23 21:46:57 +00:00
2000-12-19 02:08:38 +00:00
2000-08-03 02:34:44 +00:00
2000-10-06 19:24:23 +00:00
2000-09-01 23:29:29 +00:00
2001-01-22 15:29:14 +00:00
2000-10-11 21:44:02 +00:00
2000-09-01 23:29:29 +00:00
2001-01-25 10:10:39 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-01-04 01:01:12 +00:00
2000-10-04 16:34:09 +00:00
2000-12-17 07:14:13 +00:00
2000-07-21 06:00:07 +00:00
2001-01-24 17:13:11 +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
2001-01-17 19:31:29 +00:00
2000-12-15 22:00:54 +00:00
2001-01-27 21:43:40 +00:00
2000-10-12 19:42:00 +00:00
2000-09-26 05:46:01 +00:00
2000-09-28 02:54:51 +00:00
2000-09-01 23:29:29 +00:00
2001-01-14 05:05:51 +00:00
2001-02-06 22:33:45 +00:00
2001-02-01 19:50:29 +00:00
2001-01-21 23:34:12 +00:00
2000-09-17 16:09:27 +00:00
2001-01-07 05:59:59 +00:00
2000-09-01 23:29:29 +00:00
2001-01-31 07:30:29 +00:00
2000-09-01 09:01:32 +00:00
2000-09-01 23:29:29 +00:00
2001-02-08 15:39:08 +00:00
2000-08-02 13:41:18 +00:00
2000-07-22 23:57:55 +00:00
2001-01-10 21:03:32 +00:00
2001-01-22 15:29:14 +00:00
2000-07-21 06:00:07 +00:00
2000-07-16 12:04:32 +00:00
2000-09-01 23:29:29 +00:00
2000-07-21 06:00:07 +00:00
2001-01-10 21:03:32 +00:00
2000-12-12 01:18:41 +00:00
2001-01-17 18:55:13 +00:00
2001-02-06 09:34:40 +00:00
2000-09-01 23:29:29 +00:00
2001-01-29 22:46:35 +00:00
2000-09-19 00:46:46 +00:00
2001-02-07 20:41:17 +00:00
2000-08-03 02:06:16 +00:00
2001-01-15 12:46:09 +00:00
2000-08-03 16:29:50 +00:00
2000-09-26 05:46:01 +00:00
2000-09-26 05:46:01 +00:00
2000-09-01 23:29:29 +00:00
2000-09-01 23:29:29 +00:00
2001-02-09 22:22:18 +00:00
2000-09-01 09:01:32 +00:00
2000-07-21 06:00:07 +00:00
2000-08-03 02:34:44 +00:00
2001-01-23 01:47:18 +00:00
2001-01-19 23:16:56 +00:00
2000-09-01 09:01:32 +00:00
2000-08-04 15:53:06 +00:00
2001-01-21 22:41:08 +00:00
2001-01-24 07:59:11 +00:00
2001-01-21 22:41:08 +00:00
2001-01-19 00:29:06 +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-31 19:39:44 +00:00