[Python-checkins] r58001 - in sandbox/trunk/2to3: fixes/fix_tuple_params.py tests/test_fixers.py

Georg Brandl g.brandl at gmx.net
Thu Sep 6 15:51:51 CEST 2007


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.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-checkins mailing list