]> granicus.if.org Git - python/commit
Add test for a list comprehension that is nested in the left-hand part
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 19 Mar 2001 20:42:11 +0000 (20:42 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 19 Mar 2001 20:42:11 +0000 (20:42 +0000)
commite241e29f3d0c4a2e4c7beee018ae409beb4239de
tree33916bded649f76b132bc93f6136d79ae3a9a915
parent23b4227ec899bb0e3e6f41d58e354418999fae8c
Add test for a list comprehension that is nested in the left-hand part
of another list comp.  This caused crashes reported as SF bugs 409230
and 407800.

Note that the new tests are in a function so that the name lookup code
isn't affected by how many *other* list comprehensions are in the same
scope.
Lib/test/output/test_grammar
Lib/test/test_grammar.py