[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