[Python-Dev] test_grammar failing
Guido van Rossum
guido@digicool.com
Mon, 22 Jan 2001 22:02:50 -0500
> At the end of this:
>
> make distclean ; ./configure ; make OPT='-g -pipe' ; make test
>
> I get this:
>
> rm -f ./Lib/test/*.py[co]
> PYTHONPATH=./build/lib.`cat platform` ./python -tt ./Lib/test/regrtest.py -l
> test_grammar
> name: None, in test_in_func, file './Lib/test/test_grammar.py', line 617
> locals: {'x': 2, '[1]': 1, 'l': 0}
> globals: {}
> Fatal Python error: compiler did not label name as local or global
> make: *** [test] Aborted
> PYTHONPATH=./build/lib.`cat platform` ./python -tt ./Lib/test/regrtest.py -l
> test_grammar
> name: None, in test_in_func, file './Lib/test/test_grammar.py', line 617
> locals: {'x': 2, '[1]': 1, 'l': 0}
> globals: {}
> Fatal Python error: compiler did not label name as local or global
> make: *** [test] Aborted
>
> Any ideas? I notice that Jeremy checked in some changes to test_grammar.py
> this evening.
Try another cvs update and rebuild. The test that Jeremy checked in
is supposed to catch a bug in the compiler code that he checked in.
The latest compile.c is 103277 bytes long (in Unix).
--Guido van Rossum (home page: http://www.python.org/~guido/)