On Fri, Jan 23, 2009 at 9:45 AM, António Piteira
<[email protected]> 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
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to