diff Python/symtable.c @ 18148:7bc473b2c654 legacy-trunk

Merging the gen-branch into the main line, at Guido's direction. Yay! Bugfix candidate in inspect.py: it was referencing "self" outside of a method.
author Tim Peters <tim.peters@gmail.com>
date Mon, 18 Jun 2001 22:08:13 +0000
parents 08d937107fe6
children 3faabf54b8b8
line wrap: on
line diff
--- a/Python/symtable.c	Mon Jun 18 19:21:11 2001 +0000
+++ b/Python/symtable.c	Mon Jun 18 22:08:13 2001 +0000
@@ -69,6 +69,7 @@
 	else
 		ste->ste_nested = 0;
 	ste->ste_child_free = 0;
+	ste->ste_generator = 0;
 
 	if (PyDict_SetItem(st->st_symbols, ste->ste_id, (PyObject *)ste) < 0)
 	    goto fail;