Message73131
find_recursion_limit.py in trunk is broken: it fails with an
AttributeError while a RuntimeError is expected. This has appeared due
to the recent changes in recursion limit handling, but the problem is
deeper. As I explained on the ML, functions like PyDict_GetItem()
discard any exception that occur inside them, and return NULL instead.
The caller can then interpret the NULL as an "attribute missing" and
raise AttributeError.
The obvious quick fix is to replace "except RuntimeError" with "except
(RuntimeError, AttributeError)" in find_recursion_limit.py. |
|
Date |
User |
Action |
Args |
2008-09-12 20:06:55 | pitrou | set | recipients:
+ pitrou |
2008-09-12 20:06:55 | pitrou | set | messageid: <1221250015.74.0.0718109598315.issue3850@psf.upfronthosting.co.za> |
2008-09-12 20:06:54 | pitrou | link | issue3850 messages |
2008-09-12 20:06:54 | pitrou | create | |
|