cpython/Python
Neal Norwitz 37c0844b35 Fix SF bug #1167751, Argument genexp corner case
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.

I'm uncertain whether this should be backported.  It makes
something that was Syntactically valid invalid.  However,
the code would either be completely broken or do the wrong thing.
2005-10-21 06:24:02 +00:00
..
.cvsignore
asdl.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
ast.c Oops, "=" is not a comparison operator 2005-10-21 05:15:07 +00:00
atof.c
bltinmodule.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
ceval.c Fix some mods that got dropped from the AST merge 2005-10-21 04:28:38 +00:00
codecs.c Fix a couple of signed/unsigned comparison warnings 2004-07-08 01:55:58 +00:00
compile.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
dup2.c
dynload_aix.c Include Python.h first which defines _XOPEN_SOURCE 2003-03-22 16:35:37 +00:00
dynload_atheos.c
dynload_beos.c
dynload_dl.c
dynload_hpux.c
dynload_next.c Fix for 838140: don't call NSUnlinkModule when we fail to find our 2004-07-15 22:28:48 +00:00
dynload_os2.c
dynload_shlib.c Print verbose messages to stderr. Fixes #1036752. 2004-10-03 08:51:35 +00:00
dynload_stub.c
dynload_win.c When importing an extension on Windows, the code reads the PE 'import 2004-07-02 08:53:57 +00:00
errors.c -X died some time ago; remove a tiny bit of associated cruft. 2005-01-18 15:26:11 +00:00
exceptions.c PEP 342 implementation. Per Guido's comments, the generator throw() 2005-08-02 00:46:46 +00:00
fmod.c
frozen.c
frozenmain.c
future.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
getargs.c Complete format code support in getargs.c::skipitem(), which is called when 2005-09-14 19:29:53 +00:00
getcompiler.c
getcopyright.c happy new year! (on the trunk) 2005-01-25 12:40:01 +00:00
getcwd.c
getmtime.c
getopt.c
getplatform.c
getversion.c
graminit.c Fix SF bug #1167751, Argument genexp corner case 2005-10-21 06:24:02 +00:00
hypot.c
import.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
importdl.c Patch #794826: Add __file__ in dynamically loaded modules for multiple 2003-09-04 18:45:59 +00:00
importdl.h PEP 302 + zipimport: 2002-12-30 22:08:05 +00:00
mactoolboxglue.c SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core 2004-11-05 07:02:59 +00:00
marshal.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
memmove.c
modsupport.c This is Pete Shinners' patch from his bug report 2004-07-14 11:28:06 +00:00
mysnprintf.c
mystrtoul.c Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
pyfpe.c
pystate.c Forward port bugfix: 2005-09-30 08:20:24 +00:00
pystrtod.c Patch #774665: Make Python LC_NUMERIC agnostic. 2004-06-08 18:52:54 +00:00
Python-ast.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
pythonrun.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
sigcheck.c
strdup.c
strerror.c Getting rid of all the code inside #ifdef macintosh too. 2003-11-20 01:44:59 +00:00
strtod.c
structmember.c Patch #1115086: support PY_LONGLONG in structmember. 2005-03-03 23:00:26 +00:00
symtable.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
sysmodule.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00
thread.c - Changes donated by Elemental Security to make it work on HP-UX 11 on 2005-09-14 17:49:54 +00:00
thread_atheos.h
thread_beos.h
thread_cthread.h
thread_foobar.h
thread_lwp.h
thread_nt.h bug [ 1234979 ] Lock.acquire treats only 1 as True 2005-07-08 22:26:13 +00:00
thread_os2.h make thread stack size compile-time tunable on OS/2 2005-01-17 12:16:36 +00:00
thread_pth.h Patch #805613: Fix usage of the PTH library. 2003-09-20 11:13:36 +00:00
thread_pthread.h Don't call memset() before checking that the ptr is not NULL. 2005-09-20 18:07:47 +00:00
thread_sgi.h Remove support for DYNIX, IRIX 4, --with-sgi-dl, --with-dl-dld 2004-01-17 04:04:13 +00:00
thread_solaris.h Patch #716969: Detect thread creation failure. Will backport to 2.2. 2003-04-19 07:44:52 +00:00
thread_wince.h bug 1234979 addition 2005-07-09 15:26:33 +00:00
traceback.c Merge ast-branch to head 2005-10-20 19:59:25 +00:00