]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
undo introduction of st_global_star
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Feb 2001 23:47:55 +0000 (23:47 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 28 Feb 2001 23:47:55 +0000 (23:47 +0000)
Python/compile.c

index 80a5fbfb013b5e9021cef3051fabddf090dc4b04..0be168c2c639b39722bba9481f70dd5485ebb6c0 100644 (file)
@@ -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);