[Python-checkins] r50597 - in python/trunk: Lib/test/test_grammar.py Misc/NEWS Python/ast.c Python/import.c
Georg Brandl
g.brandl at gmx.net
Wed Jul 12 09:11:47 CEST 2006
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?
Georg
More information about the Python-checkins
mailing list