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] -|EXT|- Re: PyScope

2017-06-27 Thread Denis Akhiyarov
I updated wiki with more details, the log output for PTVS is under VS -> Tools -> Python Tools -> Diagnostic Info https://github.com/pythonnet/pythonnet/wiki/Various-debugging-scenarios-of-embedded-CPython On Mon, Jun 26, 2017 at 1:45 PM, WARD Steve wrote: > Update: Mixed mode is working – clea

Re: [Python.NET] -|EXT|- Re: PyScope

2017-06-27 Thread WARD Steve
Update: Mixed mode is working – clearly I hadn’t worked through all the combinations ☺. I would like to get Python-only working, but hey. Thanks Steve From: PythonDotNet [mailto:pythondotnet-bounces+steve.ward=oxinst@python.org] On Behalf Of WARD Steve Sent: 26 June 2017 16:05 To: A list