Re: [Python-Dev] PEP 587 "Python Initialization Configuration" version 4

2019-05-21 Thread Victor Stinner
Hi, Le lun. 20 mai 2019 à 21:36, Antoine Pitrou a écrit : > - Since PyInitError can be "ok", I'd rather call it "PyInitStatus". Oh, I like this name :-) By the way, I'm not comfortable with "PyInitError_Failed()" name since it's true if it's an error (failure) ... or "an exit". What do you thin

Re: [Python-Dev] PEP 587 "Python Initialization Configuration" version 4

2019-05-20 Thread Antoine Pitrou
Hi, - Since PyInitError can be "ok", I'd rather call it "PyInitStatus". - The PyConfig example sets "module_search_paths" but not "module_search_paths_set". Is it an error? - "PyConfig_InitPythonConfig" vs "PyConfig_InitIsolatedConfig": why not "PyConfig_InitConfig" and "PyConfig_InitIsol

[Python-Dev] PEP 587 "Python Initialization Configuration" version 4

2019-05-20 Thread Victor Stinner
Hi, I expected the version 3 of my PEP to be complete, but Gregory Szorc and Steve Dower spotted a few more issues ;-) The main change of the version 4 is the introduction of "Python Configuration" and "Isolated Configuration" default configuration which are well better defined. The new "Isolate