summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 23:47:55 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-02-28 23:47:55 (GMT)
commit3dd5ad3b4f1e7be153d272a2ac3848028a6c306b (patch)
tree0c5d2359261c92fb1b88e23b1669bc810087b118
parent1874c8f23b99aecd66fa9eb7fa66b2258c74b0c1 (diff)
downloadcpython-3dd5ad3b4f1e7be153d272a2ac3848028a6c306b.zip
cpython-3dd5ad3b4f1e7be153d272a2ac3848028a6c306b.tar.gz
cpython-3dd5ad3b4f1e7be153d272a2ac3848028a6c306b.tar.bz2
undo introduction of st_global_star
-rw-r--r--Python/compile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 80a5fbf..0be168c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4366,7 +4366,6 @@ symtable_init()
st->st_nscopes = 0;
st->st_errors = 0;
st->st_tmpname = 0;
- st->st_global_star = 0;
st->st_private = NULL;
return st;
fail:
@@ -5004,8 +5003,6 @@ symtable_import(struct symtable *st, node *n)
}
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) {
node *c = CHILD(n, i);