[Python-checkins] r50597 - in python/trunk: Lib/test/test_grammar.py Misc/NEWS Python/ast.c Python/import.c
Brett Cannon
brett at python.org
Wed Jul 12 19:21:22 CEST 2006
On 7/12/06, Georg Brandl <g.brandl at gmx.net> wrote:
>
> neal.norwitz wrote:
> > Author: neal.norwitz
> > Date: Wed Jul 12 07:26:17 2006
> > New Revision: 50597
> >
> > Modified:
> > python/trunk/Lib/test/test_grammar.py
> > python/trunk/Misc/NEWS
> > python/trunk/Python/ast.c
> > python/trunk/Python/import.c
> > Log:
> > Bug #1520864: unpacking singleton tuples in for loop (for x, in) work
> again.
>
> > Modified: python/trunk/Python/import.c
> >
> ==============================================================================
> > --- python/trunk/Python/import.c (original)
> > +++ python/trunk/Python/import.c Wed Jul 12 07:26:17 2006
> > @@ -60,6 +60,7 @@
> > Python 2.5a0: 62081 (ast-branch)
> > Python 2.5a0: 62091 (with)
> > Python 2.5a0: 62092 (changed WITH_CLEANUP opcode)
> > + Python 2.5c1: 62101 (fix wrong code: for x, in ...)
> > .
> > */
> > #define MAGIC (62092 | ((long)'\r'<<16) | ((long)'\n'<<24))
>
> Shouldn't MAGIC itself be changed too?
Since no new bytecode was introduced I don't see why.
-Brett
Georg
>
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-checkins/attachments/20060712/875383a8/attachment.html
More information about the Python-checkins
mailing list