Benjamin Peterson
565d78586b
normalize exceptions passed to the __exit__ method #7853
...
In Python 2.x, exceptions in finally blocks are not normalized. Since with
statements are implemented using finally blocks, ceval.c had to be tweaked to
distinguish between with finally blocks and normal ones.
A test for the finalization of generators containing with statements was also
added.
2010-02-05 02:12:14 +00:00
..
2010-01-15 01:31:45 +00:00
2008-06-11 07:41:16 +00:00
2010-01-11 22:36:12 +00:00
2009-12-13 00:54:15 +00:00
2010-02-05 02:12:14 +00:00
2009-10-22 15:42:32 +00:00
2010-02-05 02:12:14 +00:00
2010-01-23 21:25:53 +00:00
2005-12-19 06:05:18 +00:00
2002-06-11 06:22:31 +00:00
2006-05-19 07:05:01 +00:00
2004-07-15 22:28:48 +00:00
2006-01-04 01:30:17 +00:00
2009-01-27 23:12:23 +00:00
2009-12-28 08:34:58 +00:00
2009-10-15 17:45:39 +00:00
2009-04-30 00:58:58 +00:00
2002-08-15 14:59:02 +00:00
2002-06-30 15:26:10 +00:00
2008-10-30 23:59:18 +00:00
2010-01-01 17:27:30 +00:00
2010-01-01 04:00:55 +00:00
2006-04-25 15:29:46 +00:00
2008-04-13 20:50:29 +00:00
2010-01-11 22:36:12 +00:00
2010-01-11 22:36:12 +00:00
2003-09-04 18:45:59 +00:00
2002-12-30 22:08:05 +00:00
2008-06-09 04:58:54 +00:00
2009-10-31 12:47:47 +00:00
2008-06-09 04:58:54 +00:00
2008-05-26 22:07:28 +00:00
2008-03-28 04:58:51 +00:00
2009-06-29 14:44:49 +00:00
2006-07-22 16:20:49 +00:00
2009-04-27 19:04:37 +00:00
2009-12-21 15:22:00 +00:00
2008-08-04 07:33:37 +00:00
2008-03-23 06:19:57 +00:00
2010-01-22 16:18:09 +00:00
2010-01-11 22:46:43 +00:00
2009-10-20 21:29:37 +00:00
2008-02-07 08:04:07 +00:00
2009-12-30 19:34:10 +00:00
2010-01-11 22:36:12 +00:00
2010-01-31 22:32:15 +00:00
2002-06-11 06:22:31 +00:00
2009-01-12 08:11:24 +00:00
2006-07-23 13:00:04 +00:00
2003-09-20 11:13:36 +00:00
2006-06-13 15:04:24 +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
2009-01-12 08:11:24 +00:00
2009-09-09 11:42:57 +00:00