[IronPython] IronPython 2.0 Errors...

Slide 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:
> Hi,
>
>
>
> 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?
>
>
>
> Thanks,
>
> Vision
>


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 :)

slide



More information about the Ironpython-users mailing list