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-28 17:58:27 +00:00
2006-02-28 17:58:27 +00:00
2001-07-26 13:41:06 +00:00
2006-02-28 16:09:29 +00:00
2006-02-28 21:57:43 +00:00
2006-02-28 16:09:29 +00:00
2006-02-28 20:02:27 +00:00
2006-02-09 02:43:14 +00:00
2005-12-19 06:05:18 +00:00
2002-06-11 06:22:31 +00:00
2002-01-23 15:51:12 +00:00
2001-11-28 20:42:20 +00:00
2002-11-02 20:58:05 +00:00
2004-07-15 22:28:48 +00:00
2001-11-28 20:42:20 +00:00
2006-01-04 01:30:17 +00:00
2004-07-02 08:53:57 +00:00
2006-02-28 21:57:43 +00:00
2006-02-16 07:11:33 +00:00
2001-07-26 13:41:06 +00:00
2002-08-15 14:59:02 +00:00
2002-06-30 15:26:10 +00:00
2006-02-28 19:02:24 +00:00
2006-02-27 16:46:16 +00:00
2006-02-11 15:30:36 +00:00
2001-07-26 13:41:06 +00:00
2001-11-28 20:42:20 +00:00
2006-02-28 16:09:29 +00:00
2001-07-26 13:41:06 +00:00
2006-02-28 16:09:29 +00:00
2003-09-04 18:45:59 +00:00
2002-12-30 22:08:05 +00:00
2006-02-15 17:27:45 +00:00
2006-02-16 14:37:48 +00:00
2006-02-16 14:37:16 +00:00
2001-12-21 16:32:15 +00:00
2003-11-19 15:24:47 +00:00
2006-02-28 19:57:06 +00:00
2001-07-26 13:41:06 +00:00
2006-02-27 17:15:31 +00:00
2006-02-15 17:27:45 +00:00
2006-02-28 19:02:24 +00:00
2006-02-28 19:02:24 +00:00
2003-11-20 01:44:59 +00:00
2001-07-26 13:41:06 +00:00
2005-12-24 06:03:06 +00:00
2006-02-27 22:32:47 +00:00
2006-02-16 14:37:16 +00:00
2002-06-11 06:22:31 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2002-01-19 22:02:55 +00:00
2006-02-15 17:27:45 +00:00
2005-01-17 12:16:36 +00:00
2003-09-20 11:13:36 +00:00
2005-09-20 18:07:47 +00:00
2004-01-17 04:04:13 +00:00
2003-04-19 07:44:52 +00:00
2005-07-09 15:26:33 +00:00
2005-09-14 17:49:54 +00:00
2006-02-16 14:37:16 +00:00