summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-10-21 06:25:33 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-10-21 06:25:33 (GMT)
commit16af734bec30f15bb785b43a23761abb36dd762c (patch)
tree16286412113b163a63158c14367a75a1e1606b64 /Misc
parent37c0844b35b9a4d68f7ddf3a8b38d3e013f17d78 (diff)
downloadcpython-16af734bec30f15bb785b43a23761abb36dd762c.zip
cpython-16af734bec30f15bb785b43a23761abb36dd762c.tar.gz
cpython-16af734bec30f15bb785b43a23761abb36dd762c.tar.bz2
Incorrect code was generated for:
foo(a = i for i in range(10)) This should have generated a SyntaxError. Fix the Grammar so it raises a SyntaxError and test it.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 77e8569..36d5c45 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
+- SF bug #116775: fix incorrect code being for generator expressions.
+ The following code now raises a SyntaxError: foo(a = i for i in range(10))
+
- SF Bug #976608: fix SystemError when mtime of an imported file is -1.
- SF Bug #887946: fix segfault when redirecting stdin from a directory.