PEP 343 -- the with-statement.
This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global).
Showing
Lib/test/contextmanager.py
0 → 100644
Lib/test/nested.py
0 → 100644
Lib/test/test_with.py
0 → 100644
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment