[Python-checkins] python/dist/src/Python compile.c,2.285,2.286
symtable.c,2.10,2.11
Jeremy Hylton
jeremy@alum.mit.edu
22 May 2003 15:06:16 -0400
On Thu, 2003-05-22 at 12:22, Raymond Hettinger wrote:
> > Modified Files:
> > compile.c symtable.c
> > Log Message:
> > Fix for SF [ 734869 ] Lambda functions in list comprehensions
> >
> > The compiler was reseting the list comprehension tmpname counter for each function, but the symtable was using the same counter
> for the entire module. Repair by move tmpname into the symtable entry.
> >
> > Bugfix candidate.
>
> It would be great if this were backported to 2.2.3.
> I applying it directly with cvs -j but that led to an
> C assertion failure in: python_d regrtest.py test_symtable
It is backported! There are lots of unrelated changes in compile.c, so
I applied the changes by hand.
Jeremy