Re: [Python.NET] PyScope in Python.NET

2017-06-27 Thread Denis Akhiyarov
Please file an issue on github with reproducible code sample and also what you expect for PyScope. From a quick glance I do not see any issue with using the globals across scopes, see examples from @yagweb in his pull request and in the tests. You can define globals outside of scope. The NUnit t

[Python.NET] PyScope in Python.NET

2017-06-27 Thread WARD Steve
Hi Denis, I've had to stop development for now because PyScope global variables don't seem to be working in similar fashion to IronPython. I want a global variable assigned at start-up with PyScope.Set(name,value), where value is most likely a .NET object, to be available later on in any module

Re: [Python.NET] PyScope

2017-04-26 Thread Denis Akhiyarov
Hi Steve Ward, We are waiting for at least one more core developer to review and approve this pull request. Since it is very large code addition and exposes a lot of API, this is taking some time. If you have any feedback or input, then feel free to comment on the issue or pull request. For now

[Python.NET] PyScope

2017-04-26 Thread WARD Steve
Hi, I'm keen to use the PyScope class as I'm working to replace an IronPython interactive scripting environment in a .NET application. I read about this feature here: https://github.com/pythonnet/pythonnet/pull/381 Is this due for release soon, and is there an alternative way to create somethi