py/objgenerator: Check stack before resuming a generator.
This turns a hard crash in a recursive generator into a 'maximum recursion depth exceeded' exception.
Showing
tests/stress/recursive_gen.py
0 → 100644
想要评论请 注册 或 登录