[Python-checkins] CVS: python/dist/src/Lib/test/output test_scope,1.6,1.7
Jeremy Hylton
jhylton@users.sourceforge.net
Thu, 26 Apr 2001 19:29:29 -0700
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv14760
Modified Files:
test_scope
Log Message:
Fix 2.1 nested scopes crash reported by Evan Simpson
The new test case demonstrates the bug. Be more careful in
symtable_resolve_free() to add a var to cells or frees only if it
won't be added under some other rule.
XXX Add new assertion that will catch this bug.
Index: test_scope
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_scope,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** test_scope 2001/03/21 16:44:39 1.6
--- test_scope 2001/04/27 02:29:27 1.7
***************
*** 18,19 ****
--- 18,20 ----
17. class and global
18. verify that locals() works
+ 19. var is bound and free in class