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-July/154483.html below:

[Python-Dev] Call for prudence about PEP-572

[Python-Dev] Call for prudence about PEP-572 [Python-Dev] Call for prudence about PEP-572Chris Angelico rosuav at gmail.com
Sat Jul 7 09:13:47 EDT 2018
On Sat, Jul 7, 2018 at 11:09 PM, Giampaolo Rodola' <g.rodola at gmail.com> wrote:
> To me this looks like the perfect example of where this functionality can be
> abused. Also, I'm not clear what PEP-572 intend to do about "all other
> places". E.g. should these cases be allowed? (IMO no)
>
>     >>> yield x := 3
>     >>> assert y := 3

Special cases aren't special enough to break the rules.

Can we stop trying to nerf this into complexity, please?

ChrisA
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