[Python-checkins] CVS: python/dist/src/Python compile.c,2.181,2.182
Jeremy Hylton
jhylton@users.sourceforge.net
Wed, 28 Feb 2001 15:47:57 -0800
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv14912/Python
Modified Files:
compile.c
Log Message:
undo introduction of st_global_star
Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.181
retrieving revision 2.182
diff -C2 -r2.181 -r2.182
*** compile.c 2001/02/28 23:44:45 2.181
--- compile.c 2001/02/28 23:47:55 2.182
***************
*** 4367,4371 ****
st->st_errors = 0;
st->st_tmpname = 0;
- st->st_global_star = 0;
st->st_private = NULL;
return st;
--- 4367,4370 ----
***************
*** 5005,5010 ****
if (TYPE(CHILD(n, 3)) == STAR) {
st->st_cur->ste_optimized |= OPT_IMPORT_STAR;
- if (st->st_nscopes == 1)
- st->st_global_star = 1;
} else {
for (i = 3; i < NCH(n); i += 2) {
--- 5004,5007 ----