[IronPython] Infinite recursion and System.StackOverflowException
sanxiyn at gmail.com
Wed Sep 27 07:44:06 CEST 2006
2006/9/27, Mike McGavin <iizogii at gmail.com>:
> What's the expected behaviour with infinite recursion in IronPython,
> and is there some way I can set a maximum recursion depth on a
> PythonEngine object?
It's same as CPython. The difference is that the maximum recursion
depth is not set by default on IronPython. So just set it.
IronPython 1.0.2448 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
And you will get a nice RuntimeError.
More information about the Ironpython-users