On Sat, 26 Mar 2011 15:00:29 -0400 Terry Reedy <[email protected]> wrote: > On 3/26/2011 2:17 PM, Georg Brandl wrote: > > "Refactor" doesn't sound like it belongs in the 3.1 branch... > > >> - for i in range(len(pattern)): > >> - c = pattern[i] > >> + for i, c in enumerate(pattern): > > I would call thin 'Replace obsolete idiom in' rather than 'Refactor'. > So are you criticizing the replacement or the mislabeling?
I think the criticism is that such gratuitous replacements in bugfix branches are both a waste of time and a possible regression. The only good reason to do them is if you think it will improve further merges of bugfix patches. Regards Antoine. _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
