[IronPython] IronPython 2.0 Errors...
slide.o.mix at gmail.com
Fri Jan 23 17:49:45 CET 2009
On Fri, Jan 23, 2009 at 9:45 AM, António Piteira
<antonio.piteira at wtvision.com> wrote:
> I'm trying get all runtime errors without actually executing the code. I can
> get all syntax errors using the parser, but runtime errors like "import ys"
> and stuff like that I', not able to.
> Is there any way to do this?
Those things are run-time errors (failed imports et al). You would
possibly look at the parse tree for any imports and determine if the
modules to be imported exist, but that sounds like a lot of trouble :)
More information about the Ironpython-users