[Python-checkins] r62226 - in sandbox/trunk/2to3: example.pylib2to3/fixes/fix_dict.py lib2to3/tests/test_fixers.py
Raymond Hettinger
python at rcn.com
Tue Apr 8 21:17:48 CEST 2008
> Log:
> Add min() and max() to the list of special contexts that don't require adding list() calls around dict methods.
Would it be worth having 2-to-3 emit a "grep -n" style log of all the places where it adds a list() call? In many cases the list()
isn't necessary but there is no way that 2-to-3 could know for sure.
Raymond
More information about the Python-checkins
mailing list