On 1/10/2014 10:20 AM, Nick Coghlan wrote: > On 10 January 2014 07:41, Eric V. Smith <eric at trueblade.com> wrote: >> I'm not sure how format_map helps in porting from 2 to 3, since it >> doesn't exist in any version of 2. >> >> Although that said, it's no doubt a useful feature, just not useful in >> code that supports both 2 and 3 with a single code base or when porting >> to 3. > > It's purely a matter of consistency with str - if we're adding binary > interpolation back to Python 3 (which I have been persuaded is a good > idea), then we should provide the same three typical spellings of the > operation that str provides. > > Cheers, > Nick. I'm perfectly okay with that, and it was on my list of things to suggest. I just think that the PEP should be focused on porting code from 2 to 3 and on code that runs on both 2 and 3. I think the Rationale should state this clearly. Eric.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4