[Python-checkins] r58001 - in sandbox/trunk/2to3: fixes/fix_tuple_params.py tests/test_fixers.py
collinw at gmail.com
Thu Sep 6 18:44:42 CEST 2007
On 9/6/07, Georg Brandl <g.brandl at gmx.net> wrote:
> collin.winter schrieb:
> > Author: collin.winter
> > Date: Thu Sep 6 07:16:31 2007
> > New Revision: 58001
> > Modified:
> > sandbox/trunk/2to3/fixes/fix_tuple_params.py
> > sandbox/trunk/2to3/tests/test_fixers.py
> > Log:
> > Fix an overly-greedy pattern in fix_tuple_params, add tests.
> This doesn't seem to fix #1107... lambda (x): x is now left intact,
> while it is a SyntaxError in 3k.
I was actually fixing a bug Guido had pointed out, where the (x) was
treated as a 1-tuple. I'll fix #1107 sometime today.
More information about the Python-checkins