[Python-checkins] python/dist/src/Lib/test/output test_scope,1.6.2.2,1.6.2.3

jhylton@sourceforge.net jhylton@sourceforge.net
Sat, 20 Apr 2002 11:21:09 -0700


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv7244

Modified Files:
      Tag: release21-maint
	test_scope 
Log Message:
Backport fixes for two nested scopes bugs.

frameobject.c: make sure free and cell vars make it into locals, which
    makes eval work.

bltinmodule.c & ceval.c: make sure a code object with free variables
    that is passed to exec or eval raises an exception.

Also duplicate the current trunk test suite in the 2.1 branch, except
for certain necessary changes: different warnings raised by 2.1, need
for __future__.



Index: test_scope
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_scope,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -C2 -d -r1.6.2.2 -r1.6.2.3
*** test_scope	23 May 2001 13:26:29 -0000	1.6.2.2
--- test_scope	20 Apr 2002 18:21:07 -0000	1.6.2.3
***************
*** 20,21 ****
--- 20,24 ----
  19. var is bound and free in class
  20. interaction with trace function
+ 20. eval and exec with free variables
+ 21. list comprehension with local variables
+ 22. eval with free variables