| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Um, I thought I'd already checked this in. | Guido van Rossum | 2006-03-10 | 1 | -10/+22 |
| | | | | | | | | Anyway, this is the changes to the with-statement so that __exit__ must return a true value in order for a pending exception to be ignored. The PEP (343) is already updated. | ||||
| * | Updates to the with-statement: | Guido van Rossum | 2006-02-28 | 1 | -14/+70 |
| | | | | | | | | | | | | | | | | | - New semantics for __exit__() -- it must re-raise the exception if type is not None; the with-statement itself doesn't do this. (See the updated PEP for motivation.) - Added context managers to: - file - thread.LockType - threading.{Lock,RLock,Condition,Semaphore,BoundedSemaphore} - decimal.Context - Added contextlib.py, which defines @contextmanager, nested(), closing(). - Unit tests all around; bot no docs yet. | ||||
| * | from __future__ import with_statement addon for 'with', mostly written by | Thomas Wouters | 2006-02-28 | 1 | -0/+2 |
| | | | | | Neal. | ||||
| * | Set EOL style to native. | Tim Peters | 2006-02-28 | 1 | -560/+560 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2006-02-28 | 1 | -560/+560 |
| | | |||||
| * | PEP 343 -- the with-statement. | Guido van Rossum | 2006-02-27 | 1 | -0/+560 |
| 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). | |||||
