On 2018-05-21 05:22, Juancarlo Añez wrote: >
This is a good summary of the choices. I think the second one is a good compromise. More elegant, yet avoiding the problems with assignment-expressions available everywhere.
It is true that := handles more (perhaps less-common) use cases, but subjectively it is not as "Pythonic." Also doesn't appear to be the direction the surveyed languages are going.
YMMV, -Mike _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/