[IronPython] ThrowingErrorSink and CompilerContext

Dan Eloff dan.eloff at gmail.com
Wed Jan 7 21:51:21 CET 2009


Internally, in compile builtin, IronPython creates a CompilerContext like:

new CompilerContext(sourceUnit, opts, ThrowingErrorSink.Default)

But ThrowingErrorSink is internal, what can I do to get a equivalent
CompilerContext?

This is blocking the _ast module from running on unpatched IronPython.

Thanks,
-Dan



More information about the Ironpython-users mailing list