On Sun, Jun 10, 2018 at 10:08 PM, Juancarlo Añez <apal...@gmail.com> wrote: > > There can be cases in which combining both syntaxes is useful: > > x = None > while compute(x := v for v in next_series_value(x)) as comp: > ... > x = comp
Why not just: while comp := compute(x := v for v in next_series_value(x)): Why have two syntaxes, one of which is a shackled version of the other? If we have :=, there's no point having as. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/