Re: [IronPython] ThrowingErrorSink and CompilerContext

2009-01-07 Thread Dan Eloff
l Message- > From: users-boun...@lists.ironpython.com > [mailto:users-boun...@lists.ironpython.com] On Behalf Of Dan Eloff > Sent: Wednesday, January 07, 2009 12:51 PM > To: Discussion of IronPython > Subject: [IronPython] ThrowingErrorSink and CompilerContext > > Internall

Re: [IronPython] ThrowingErrorSink and CompilerContext

2009-01-07 Thread Dino Viehland
on of IronPython Subject: [IronPython] ThrowingErrorSink and CompilerContext 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?

[IronPython] ThrowingErrorSink and CompilerContext

2009-01-07 Thread Dan Eloff
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.