[IronPython] Thread local storage in IronPython 2.6

Dino Viehland dinov at microsoft.com
Mon Oct 5 21:57:16 CEST 2009


Michael wrote:
> The recompiling issue is slightly concerning as well. Is it the case
> that if we compile all our libraries with Pyc with frames off then we
> can't use them  from an engine with the tracing / frames / debugging
> options on (taking advantage of frames and debugging support)?

Unfortunately yes - we need to be able to recompile the code to 
include the frame support.  We could look at making this work but the
end result would be that we'd need to include either the Python AST
or the DLR AST in the compiled code (rather than just including the
version compiled to IL).  At this point I doubt we'd do this for 
2.6.0 though.

That'd also have the consequence of making it much easier to reverse 
engineer the compiled code so I'm not sure how comfortable you'd be
with that.



More information about the Ironpython-users mailing list