Re: [Python-Dev] How about integrating "as" semantics and postpone PEP 572 to Python 4.0

2018-07-05 Thread Guido van Rossum
Thanks you for writing up a proposal. There have been many proposals made, including 'EXPR as NAME', similar to yours. It even has a small section in the PEP: https://www.python.org/dev/peps/pep-0572/#alternative-spellings. It's really hard to choose between alternatives, but all things considered

[Python-Dev] How about integrating "as" semantics and postpone PEP 572 to Python 4.0

2018-07-05 Thread Rin Arakaki
Hi, I bring a strong proposal that is prematurely rejected but indeed the most likely to be accepted to our community. That is to select `as` spelling not `:=` and modify `with` and `except` statements. Here is this. * Below is copy-pasted from my gist: https://gist.github.com/rnarkk/cdabceaedbdb