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 benjamin.peterson
Recipients benjamin.peterson
Date 2008-10-04.15:21:27
SpamBayes Score 3.878906e-06
Marked as misclassified No
Message-id <1223133689.63.0.365168051222.issue4040@psf.upfronthosting.co.za>
In-reply-to
Content
Given this code:

def f():
    for i in f():
        yield i

for i in f(): print i

2.6 gives:
Exception RuntimeError: 'maximum recursion depth exceeded in
__subclasscheck__' in <type 'exceptions.RuntimeError'> ignored
Exception RuntimeError: 'maximum recursion depth exceeded while calling
a Python object' in <type 'exceptions.RuntimeError'> ignored
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
...
  File "<stdin>", line 2, in f
RuntimeError: maximum recursion depth exceeded

2.5 and 3.0 do not have this problem.
History
Date User Action Args
2008-10-04 15:21:29benjamin.petersonsetrecipients: + benjamin.peterson
2008-10-04 15:21:29benjamin.petersonsetmessageid: <1223133689.63.0.365168051222.issue4040@psf.upfronthosting.co.za>
2008-10-04 15:21:28benjamin.petersonlinkissue4040 messages
2008-10-04 15:21:27benjamin.petersoncreate