This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author theller
Recipients theller
Date 2008-04-04.08:16:39
SpamBayes Score 0.06978389
Marked as misclassified No
Message-id <1207297002.01.0.980429495002.issue2548@psf.upfronthosting.co.za>
In-reply-to
Content
[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>
History
Date User Action Args
2008-04-04 08:16:42thellersetspambayes_score: 0.0697839 -> 0.06978389
recipients: + theller
2008-04-04 08:16:42thellersetspambayes_score: 0.0697839 -> 0.0697839
messageid: <1207297002.01.0.980429495002.issue2548@psf.upfronthosting.co.za>
2008-04-04 08:16:40thellerlinkissue2548 messages
2008-04-04 08:16:40thellercreate