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/2018-March/152503.html below:

[Python-Dev] Subtle difference between f-strings and str.format()

[Python-Dev] Subtle difference between f-strings and str.format() [Python-Dev] Subtle difference between f-strings and str.format()Guido van Rossum guido at python.org
Wed Mar 28 15:04:31 EDT 2018
Yes, #3, and what Tim says.

On Wed, Mar 28, 2018, 11:44 Serhiy Storchaka <storchaka at gmail.com> wrote:

> 28.03.18 19:20, Guido van Rossum пише:
>
> > Hm, without thinking too much about it I'd say it's okay to change the
> > evaluation order.
>
> Do you mean the option 3, right? This is the simplest option. I have
> already wrote a PR for optimizing old-style formating [1], but have not
> merged it yet due to this change of semantic.
>
> > Can these optimizations be disabled with something like -O0?
>
> Currently there is no way to disable optimizations. There is an open
> issue with a request for this. [2]
>
> [1] https://github.com/python/cpython/pull/5012
> [2] https://bugs.python.org/issue2506
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180328/9d10fa8a/attachment.html>
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