Files
cpython/Lib
Armin Rigo 53c1692f6a Fix for an obscure bug introduced by revs 46806 and 46808, with a test.
The problem of checking too eagerly for recursive calls is the
following: if a RuntimeError is caused by recursion, and if code needs
to normalize it immediately (as in the 2nd test), then
PyErr_NormalizeException() needs a call to the RuntimeError class to
instantiate it, and this hits the recursion limit again...  causing
PyErr_NormalizeException() to never finish.

Moved this particular recursion check to slot_tp_call(), which is not
involved in instantiating built-in exceptions.

Backport candidate.
2006-06-21 21:58:50 +00:00
..
2006-05-01 03:03:02 +00:00
2006-06-19 12:04:15 +00:00
2006-06-19 07:45:16 +00:00
2004-08-20 03:47:14 +00:00
2005-07-17 23:16:17 +00:00
2006-05-18 06:18:06 +00:00
2006-05-28 19:13:17 +00:00
2006-03-07 16:16:07 +00:00
2006-05-26 12:52:53 +00:00
2005-10-20 19:59:25 +00:00
2004-07-07 20:54:48 +00:00
2005-08-25 07:32:42 +00:00
2006-05-18 06:51:46 +00:00
2006-02-26 04:21:50 +00:00
2006-02-08 12:53:56 +00:00
2006-05-11 19:57:09 +00:00
2006-06-14 04:13:00 +00:00
2006-06-12 03:05:03 +00:00
2006-05-31 14:08:48 +00:00
2006-06-13 17:14:36 +00:00
2006-02-19 21:26:07 +00:00
2005-08-21 18:45:59 +00:00
2005-08-31 10:50:03 +00:00
2006-02-28 22:50:17 +00:00
2006-05-18 02:06:40 +00:00
2005-08-21 18:45:59 +00:00
2006-02-27 22:32:47 +00:00
2006-06-11 19:42:51 +00:00
2005-02-07 15:28:45 +00:00
2006-06-11 07:26:27 +00:00
2006-04-17 13:37:15 +00:00
2005-07-17 02:36:59 +00:00
2006-06-11 07:27:56 +00:00
2006-03-16 06:30:02 +00:00
2006-05-01 03:03:02 +00:00
2004-12-17 13:52:20 +00:00
2005-08-21 18:45:59 +00:00
2006-06-14 22:38:13 +00:00
2006-03-16 06:33:21 +00:00
2006-02-27 22:32:47 +00:00
2006-06-11 19:42:51 +00:00
2006-02-25 22:38:04 +00:00
2006-06-15 18:06:29 +00:00