[Python-ideas] allow tuples in a with statement?

Fredrik Johansson fredrik.johansson at gmail.com
Tue Jan 13 21:57:12 CET 2009

On Tue, Jan 13, 2009 at 9:07 PM, Sturla Molden <sturla at molden.no> wrote:
> Sometimes multiple arguments in a with statement would be convinient.

This has occurred to me as well.

In sympy, we have considered using the with statement for assumptions
on variables. Tuples would provide a very natural syntax for multiple

with x>0, y>0:


More information about the Python-ideas mailing list