On Apr 23, 2018, at 18:04, Tim Peters <tim.pet...@gmail.com> wrote: > However, against "as" is that its current use in "with" statements > does something quite different: > > with f() as name: > > does not bind the result of `f()` to `name`, but the result of > `f().__enter__()`. Whether that "should be" fatal, I don't know, but > it's at least annoying ;-)
Prior art: COBOL uses "GIVING", as in: ADD x, y GIVING z No need to re-invent the wheel ;) -- Ned Deily n...@python.org -- [] _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com