[New-bugs-announce] [issue2548] Undetected error in exception handling
Thomas Heller
report at bugs.python.org
Fri Apr 4 10:16:42 CEST 2008
New submission from Thomas Heller <theller at ctypes.org>:
[Found by Daniel Diniz (ajaksu2), see issue #2542]
The following code triggers an undetected error with a debug build:
"""
import sys
def g():
try:
return g()
except:
return sys.exc_info()
g()
print 42
"""
Running the code prints this:
C:\svn\trunk\PCbuild>python_d test2.py
42
XXX undetected error
Traceback (most recent call last):
File "test2.py", line 8, in <module>
print 42
RuntimeError: maximum recursion depth exceeded
[8826 refs]
C:\svn\trunk\PCbuild>
----------
components: Interpreter Core
messages: 64920
nosy: theller
severity: normal
status: open
title: Undetected error in exception handling
type: crash
versions: Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2548>
__________________________________
More information about the New-bugs-announce
mailing list