[Python-checkins] CVS: python/dist/src/Lib/test/output test_grammar,1.11,1.12
Jeremy Hylton
jhylton@users.sourceforge.net
Thu, 01 Feb 2001 12:20:47 -0800
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv14180/Lib/test/output
Modified Files:
test_grammar
Log Message:
Undo recent change that banned using import to bind a global, as per
discussion on python-dev. 'from mod import *' is still banned except
at the module level.
Fix value for special NOOPT entry in symtable. Initialze to 0 instead
of None, so that later uses of PyInt_AS_LONG() are valid. (Bug
reported by Donn Cave.)
replace local REPR macros with PyObject_REPR in object.h
Index: test_grammar
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_grammar,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** test_grammar 2001/01/30 01:25:56 1.11
--- test_grammar 2001/02/01 20:20:45 1.12
***************
*** 38,42 ****
import_stmt
SyntaxError expected for "def f(): from sys import *"
- SyntaxError expected for "def f(): global time; import "
global_stmt
exec_stmt
--- 38,41 ----