Re: [Ironpython-users] Reload module within embedded C# app

2011-12-20 Thread Jeff Hardy
On Tue, Dec 20, 2011 at 6:33 PM, Daniel Fernandez wrote: > Hi All, > > I have an embedded Python engine in my C# app that executes python scripts. > I have a filewatcher watching if any python scripts have been modified.  I > am trying to perform a reload within my C# app but I didn't couldn't fig

Re: [Ironpython-users] bug / issue tracking for ironpython releases

2011-12-20 Thread Jeff Hardy
On Tue, Dec 20, 2011 at 7:36 PM, Peter Schwalm wrote: > Hi ironpython, > > I have a question regarding issues for ironpython. Where should I place > indications for (possible) errors in the latest release? (I use 2.7.1) > > I have found an issue tracker at > >    http://ironpython.codeplex.com/wor

[Ironpython-users] bug / issue tracking for ironpython releases

2011-12-20 Thread Peter Schwalm
Hi ironpython, I have a question regarding issues for ironpython. Where should I place indications for (possible) errors in the latest release? (I use 2.7.1) I have found an issue tracker at http://ironpython.codeplex.com/workitem/list/advanced but it looks orphaned since October this ye

[Ironpython-users] Reload module within embedded C# app

2011-12-20 Thread Daniel Fernandez
Hi All, I have an embedded Python engine in my C# app that executes python scripts. I have a filewatcher watching if any python scripts have been modified. I am trying to perform a reload within my C# app but I didn't couldn't figure out how to perform this. The best I could figured out was

Re: [Ironpython-users] Simulating Python's scoping at the DLR level

2011-12-20 Thread Curt Hagenlocher
I don't think you can replicate Python's semantics exactly, because Python compiles an entire block at once but your scope would only see reads and writes sequentially as they happen. For instance, in Python, the following code will generate an error: a = 1 def test(): print(a) a = 2 That

[Ironpython-users] Simulating Python's scoping at the DLR level

2011-12-20 Thread Doug Blank
What would be a good way to simulate Python's scoping rules at the DLR level? For example, if I were running two DLR-based scripts, I can just use the same ScriptScope for both to have shared globals. But how would you replicate Python's exact idea of a local environment in each, while falling ba