[Python-ideas] Spelling of Assignment Expressions PEP 572 (was post #4)
Ethan Furman
ethan at stoneleaf.us
Mon Apr 16 13:48:11 EDT 2018
On 04/16/2018 10:36 AM, Chris Angelico wrote:
> Not after it got trimmed, no. Here's what I actually said in my original post:
>
> while (read_next_item() -> items[i + 1 -> i]) is not None:
> print("%d/%d..." % (i, len(items)), end="\r")
>
> Now, if THAT is your assignment target, are you still as happy as you
> had been, or are you assuming that the target is a simple name?
I'm okay with it, although I'd still prefer "as". But, really, as long as we get it* I'll be happy.
--
~Ethan~
* "it" being, of course, assignment-expressions. :)
More information about the Python-ideas
mailing list