Re: [Python-Dev] Lost sight

2019-01-23 Thread Larry Hastings
You have been a marvel, and an enormous boon to the Python community.  You should not feel bad about anything.  Best wishes to you for your future endeavors! //arry/ On 1/21/19 7:26 AM, Serhiy Storchaka wrote: Thank you very match, all who have expressed compassion here and privately. I

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-23 Thread Stephan Reiter
You all do make me feel very welcome in this community! Thank you very much! :-) And thank you for all the thought and time you put into your message, Eric. I do appreciate in particular all the alternatives you presented; you provide a good picture of my options. Not ruling out any of them, I'll

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-23 Thread Eric Snow
Hi Stephan, On Tue, Jan 22, 2019 at 9:25 AM Stephan Reiter wrote: > I am new to the list and arriving with a concrete problem that I'd > like to fix myself. That is great! Statements like that are a good way to get folks interested in your success. :) > I am embedding Python (3.6) into my C++

Re: [Python-Dev] Source of truth for C-API

2019-01-23 Thread Victor Stinner
I suggest you to add a new function and leaves the existing function unchanged. "Just in case". You may deprecate the old functions at the same time using Py_DEPRECATED(). Victor Le mer. 23 janv. 2019 à 17:44, Ivan Levkivskyi a écrit : > > I added to extra parameters to each, see >

Re: [Python-Dev] Source of truth for C-API

2019-01-23 Thread Ivan Levkivskyi
I added to extra parameters to each, see https://github.com/python/cpython/pull/11605/files#diff-d350c56a842065575842defb8aaa9f27 -- Ivan On Wed, 23 Jan 2019 at 16:41, Victor Stinner wrote: > What is your change? Did you remove these functions? Change their > parameters? > > Victor > > Le mer.

Re: [Python-Dev] Source of truth for C-API

2019-01-23 Thread Victor Stinner
What is your change? Did you remove these functions? Change their parameters? Victor Le mer. 23 janv. 2019 à 16:24, Ivan Levkivskyi a écrit : > > Thanks for advice Victor and Steve! > > I looked at the list, and the two functions I mentioned are not in the list. > So I assume the best strategy

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-23 Thread Stephan Reiter
Hi! Well, the plugins would be created by third-parties and I'd like them to enable bunding of modules with their plugins. I am afraid of modules with the same name, but being different, or different versions of modules being used by different plugins. If plugins share an interpreter, the module

Re: [Python-Dev] Source of truth for C-API

2019-01-23 Thread Ivan Levkivskyi
Thanks for advice Victor and Steve! I looked at the list, and the two functions I mentioned are not in the list. So I assume the best strategy for now is to wait until first alpha-beta releases are out, and see if anyone complains. -- Ivan On Wed, 23 Jan 2019 at 06:58, Steve Dower wrote: >

Re: [Python-Dev] Sub-interpreters: importing numpy causes hang

2019-01-23 Thread Petr Viktorin
On 1/23/19 3:33 AM, Stephan Reiter wrote: Thanks for the answers so far. I appreciate them! Nathaniel, I'd like to allow Python plugins in my application. A plugin should be allowed to bring its own modules along (i.e. plugin-specific subdir is in sys.path when the plugin is active) and hence