Files
cpython/Modules
Guido van Rossum 1a5e21e033 Updates to the with-statement:
- 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.
2006-02-28 21:57:43 +00:00
..
2006-02-27 17:20:04 +00:00
2006-01-03 06:48:38 +00:00
2006-02-27 17:20:04 +00:00
2006-02-28 18:33:35 +00:00
2006-02-15 17:27:45 +00:00
2006-02-27 17:20:04 +00:00
2006-02-27 17:20:04 +00:00
2006-02-15 17:27:45 +00:00
2006-02-15 17:27:45 +00:00
2006-02-15 17:27:45 +00:00
2006-02-27 23:10:11 +00:00
2004-07-02 18:57:45 +00:00
2006-02-15 17:27:45 +00:00
2006-02-15 17:27:45 +00:00
2006-02-25 22:38:04 +00:00
2006-02-27 15:23:19 +00:00
2006-02-27 17:20:04 +00:00
2006-02-15 17:27:45 +00:00
2006-02-15 17:27:45 +00:00
2006-02-27 17:20:04 +00:00
2006-02-27 17:20:04 +00:00
2002-08-07 16:21:51 +00:00
2006-02-08 12:53:56 +00:00
2006-02-15 17:27:45 +00:00
2006-02-27 17:20:04 +00:00
2006-02-17 15:49:09 +00:00
2006-02-28 21:57:43 +00:00