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

Denis Akhiyarov denis.akhiyarov at gmail.com
Sun Jun 25 00:50:48 EDT 2017


All pythonnet debugging scenarios are now working and explained in this
detailed tutorial:

https://github.com/pythonnet/pythonnet/wiki/Various-debugging-scenarios-of-embedded-CPython

On Fri, Jun 23, 2017 at 6:31 AM, Denis Akhiyarov <denis.akhiyarov at gmail.com>
wrote:

> Hi Steve,
>
> Please try reporting to PTVS issue tracker on GitHub with your PTVS log
> from failed attaching of the Python debugger. Python.NET has no control
> over these Visual Studio settings.
>
> I'm going to meet with developer(s) of PTVS during PyData in Seattle. Feel
> free to send any feedback that you have so that we can look closer at key
> issues between pythonnet and PTVS. Particularly we are planning to resolve
> issues with remote and mixed-mode debugging.
>
> UCS and other compilation symbols are resolved by setup.py during build
> from the Python side. From VS side you have to resolve all these symbols
> manually. And the latter is really intended only for developers of
> pythonnet.
>
> Thanks,
> Denis
>
> On Fri, Jun 23, 2017, 6:10 AM WARD Steve <Steve.Ward at oxinst.com> wrote:
>
>> Unable to debug into embedded Python using this test:
>> https://github.com/pythonnet/pythonnet/issues/332#issuecomment-282608123
>>
>>
>>
>> I’m using Python 2.7.13 64 bit, Visual Studio 2015 with PVTS. Pythonnet
>> compiled from source with PYTHON2, PYTHON27, UCS2 – I had to change from
>> UCS4 as that throws Unicode errors.
>>
>>
>>
>> Any ideas? Thanks, Steve
>>
>>
>>
>> *From:* WARD Steve
>> *Sent:* 21 June 2017 12:06
>>
>>
>> *To:* 'A list for users and developers of Python for .NET'
>>
>> *Subject:* RE: [Python.NET] -|EXT|- Re: PyScope
>>
>>
>>
>> Hi Denis,
>>
>>
>>
>> Initial feedback is that it works. Had to change to UCS2 (PYTHON27
>> already), I am going with 64 bit by the way. Had to figure-out using
>> PyScope.Set() by checking the source.
>>
>>
>>
>> Now that I have a working platform, I have a lot to do to move the
>> project forward. So, thanks very much and I’ll keep you posted.
>>
>>
>>
>> Cheers
>>
>> Steve
>>
>>
>>
>> *From:* PythonDotNet [mailto:pythondotnet-bounces+
>> steve.ward=oxinst.com at python.org
>> <pythondotnet-bounces+steve.ward=oxinst.com at python.org>] *On Behalf Of *Denis
>> Akhiyarov
>>
>>
>> *Sent:* 18 June 2017 00:35
>> *To:* A list for users and developers of Python for .NET
>> *Subject:* Re: [Python.NET] -|EXT|- Re: PyScope
>>
>>
>>
>> Hi Steve,
>>
>>
>>
>> PyScope feature has been merged into master.
>>
>> Please note that more changes were made to the implementation.
>>
>>
>>
>> I would like to thank Wenguang Yang (@yagweb) for his patience with few
>> months of review cycle.
>>
>>
>>
>> We are planning a release soon, but would appreciate any feedback for
>> using this new API.
>>
>>
>>
>> Thanks,
>>
>> Denis
>>
>>
>>
>> On Fri, Apr 28, 2017 at 6:44 PM, Denis Akhiyarov <
>> denis.akhiyarov at gmail.com> wrote:
>>
>> Hi Steve,
>>
>>
>>
>> I updated installation instructions for latest master or for branches
>> from pending pull requests:
>>
>>
>>
>> https://github.com/pythonnet/pythonnet/wiki/Installation
>>
>>
>>
>> `pip install git+https://github.com/yagweb/pythonnet@add_scope`
>> <https://github.com/yagweb/pythonnet@add_scope>
>>
>>
>>
>>
>>
>>
>>
>> Collecting git+https://github.com/yagweb/pythonnet@add_scope
>>
>>   Cloning https://github.com/yagweb/pythonnet (to add_scope) to
>> c:\users\denis~1
>>
>> .akh\appdata\local\temp\pip-ifcgye-build
>>
>> Installing collected packages: pythonnet
>>
>>   Found existing installation: pythonnet 2.2.2
>>
>>     Uninstalling pythonnet-2.2.2:
>>
>>       Successfully uninstalled pythonnet-2.2.2
>>
>>   Running setup.py install for pythonnet ... done
>>
>> Successfully installed pythonnet-2.4.0.dev0
>>
>>
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Denis
>>
>> On Fri, Apr 28, 2017, 5:58 AM WARD Steve <Steve.Ward at oxinst.com> wrote:
>>
>> Hi Denis,
>>
>>
>>
>> Ok, well I’d be happy to build from source and try out the proposed new
>> feature here, if that’s possible?
>>
>>
>>
>> Thanks
>>
>> Steve
>>
>>
>>
>> *From:* PythonDotNet [mailto:pythondotnet-bounces+steve.ward=
>> oxinst.com at python.org] *On Behalf Of *Denis Akhiyarov
>> *Sent:* 26 April 2017 15:58
>> *To:* A list for users and developers of Python for .NET
>> *Subject:* -|EXT|- Re: [Python.NET] PyScope
>>
>>
>>
>> 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 (before PyScope is merged) you can use this very simple API using
>> dynamic (DLR):
>>
>> https://github.com/pythonnet/pythonnet/blob/master/README.md
>>
>> There is underlying API without DLR, but only available in tests.
>>
>> Regards,
>> Denis
>>
>>
>>
>> On Wed, Apr 26, 2017, 9:28 AM WARD Steve <Steve.Ward at oxinst.com> wrote:
>>
>> 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
>> something similar to a scope with the current release 2.3.0?
>>
>>
>>
>> Thanks
>>
>> Steve Ward
>>
>>
>>
>> *Steve Ward*
>> Senior Software Engineer
>>
>> *Oxford Instruments*
>>
>>
>>
>>
>>
>> ____________________________________________________________
>> _______________
>> This e-mail is confidential and is for the addressee only.   Please refer
>> to
>> www.oxinst.com/email-statement for regulatory information.
>>
>> _________________________________________________
>> Python.NET mailing list - PythonDotNet at python.org
>> https://mail.python.org/mailman/listinfo/pythondotnet
>>
>>
>>
>> Click here <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to
>> report this email as spam.
>>
>> _________________________________________________
>> Python.NET mailing list - PythonDotNet at python.org
>> https://mail.python.org/mailman/listinfo/pythondotnet
>>
>>
>> _________________________________________________
>> Python.NET mailing list - PythonDotNet at python.org
>> https://mail.python.org/mailman/listinfo/pythondotnet
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20170624/36b951d8/attachment-0001.html>


More information about the PythonDotNet mailing list