[Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().
Terry Reedy
tjreedy at udel.edu
Sat Mar 26 20:00:29 CET 2011
More information about the Python-Dev mailing list
Sat Mar 26 20:00:29 CET 2011
- Previous message: [Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().
- Next message: [Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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? -- Terry Jan Reedy
- Previous message: [Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().
- Next message: [Python-Dev] cpython (3.1): #2650: Refactor re.escape to use enumerate().
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list