]> granicus.if.org Git - python/commit
The 3.1 compiler don't check for keyword assignments in all places.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 19 Aug 2010 22:29:49 +0000 (22:29 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 19 Aug 2010 22:29:49 +0000 (22:29 +0000)
commit72356338cb60198d45ebf6737bdc173088c38a17
treec9954872cd7288d24e15253e549e09d4eb4b878e
parenta1e5c69d5bc50b57ac10a27c77a6016947919abd
The 3.1 compiler don't check for keyword assignments in all places.
Find another way to generate a SyntaxError in the tests.

Previously, these statements would raise something strange like
   TypeError: "'int' object is not iterable"
Lib/test/test_syntax.py