Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add 'with' statement support #239
All pull request should first start as an discussion issue see the Contributing Guide. Note: This was highlighted at the top of the Pull Request dialog.
Apart from that this is relatively straightforward and also useful. I was waiting for someone to ask for it before I added it. I'm surprised that no-one asked before now.
It will need a test. I'd suggest adding one to this testcase: test_simple01.py.
I'll make a couple of comments inline as well. After that, if you rebase and re-submit I'll merge it.