commit | d297f1ad78f1058c62bf47c2f1e2c2488f7e9d25 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 15 19:53:12 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jun 15 19:53:12 2008 +0000 |
tree | c606b83be063adf121665b1c875bc30fabaa717d | |
parent | 7eb4a82182cf5b886a86f5051c64e1dc3755a9d4 [diff] [blame] |
#3117: backport r55087, fixes segfault with lambda (None,): None.
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 6a9e512..09ccde7 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py
@@ -277,6 +277,7 @@ verify(l5(1, 2) == 5) verify(l5(1, 2, 3) == 6) check_syntax("lambda x: x = 2") +check_syntax("lambda (None,): None") ### stmt: simple_stmt | compound_stmt # Tested below