A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-August/141200.html below:

[Python-Dev] PEP 498 f-string: please remove the special case for spaces

[Python-Dev] PEP 498 f-string: please remove the special case for spaces [Python-Dev] PEP 498 f-string: please remove the special case for spacesCameron Simpson cs at zip.com.au
Tue Aug 11 01:58:51 CEST 2015
On 11Aug2015 01:00, Victor Stinner <victor.stinner at gmail.com> wrote:
>By the way, I don't think that fu'...' syntax should be allowed. IMHO
>u'...' was only reintroduced to Python 3.3 to ease transition from Python 2
>to Python 3 of the existing u'...' Syntax. Since f'...' is a new syntax,
>backward compatibility doesn't matter here.

There's another reason to resist the fu'...' prefix: political correctness.

To illustrate, there's a consumer rights TV snow here with a segment called 
"F.U. Tube", where members of the public describe ripoffs and other product 
failures in video form. While a phonetic play on the name "YouTube", the 
abbreviation also colloquially means just what you think it might. I can just 
imagine reciting one of these new strings out loud...

Cheers,
Cameron Simpson <cs at zip.com.au>

People shouldn't be allowed to build overpasses ...
        - Dianne "I know what's best for you" Feinstein after the '94 LA quake.
More information about the Python-Dev mailing list

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