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-April/153165.html below:

[Python-Dev] PEP 572: Why not := as standard assignment operator?

[Python-Dev] PEP 572: Why not := as standard assignment operator? [Python-Dev] PEP 572: Why not := as standard assignment operator?Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 26 19:16:57 EDT 2018
Chris Angelico wrote:
> No. Any expression may be used as a statement, so this isn't "outside
> an expression".

It could be detected as a special case and rejected some
time later in the compilation process. The question is
whether it's worth making the rules more complicated just
to forbid something that some peple think is bad style.

-- 
Greg
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