[Python-Dev] test_grammar failing

Skip Montanaro skip@mojam.com (Skip Montanaro)
Mon, 22 Jan 2001 20:36:24 -0600 (CST)


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.

Skip