Message74314
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. |
|
Date |
User |
Action |
Args |
2008-10-04 15:21:29 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
2008-10-04 15:21:29 | benjamin.peterson | set | messageid: <1223133689.63.0.365168051222.issue4040@psf.upfronthosting.co.za> |
2008-10-04 15:21:28 | benjamin.peterson | link | issue4040 messages |
2008-10-04 15:21:27 | benjamin.peterson | create | |
|