[Python-ideas] Allow parentheses to be used with "with" block

Neil Girdhar mistersheik at gmail.com
Mon Feb 16 23:18:36 CET 2015


I think the most consistent way to do this if we would do it is to support
parentheses around the "with statement".  We now know that though it's not
"trivial", it's not too hard to implement it in the way that Andrew
suggests.  I'd consider doing it if there were an approved PEP and a
guaranteed fast review.

Best,

Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150216/51b2f301/attachment-0001.html>


More information about the Python-ideas mailing list