Re: [Python-Dev] PEP 432 progress: Python initalization

2018-01-24 Thread Victor Stinner
Hi, FYI I pushed a new change related to the PEP 432: it becomes possible to skip completely the calculation of paths, especially sys.path. If you fill "Path configuration outputs" fileds of PyCoreConfig (see below), _PyPathConfig_Init() should not be called. It should be helpful for some users w

Re: [Python-Dev] PEP 432 progress: Python initalization

2017-12-14 Thread Victor Stinner
2017-12-14 22:54 GMT+01:00 Terry Reedy : > You could have (and still could) made that a master issue with multiple > dependencies. Last summer, I merged at least 20 patches for one idlelib > file. I split them up among 1 master issue and about 6 dependency issues. > That was essential because mos

Re: [Python-Dev] PEP 432 progress: Python initalization

2017-12-14 Thread Terry Reedy
On 12/14/2017 10:16 AM, Victor Stinner wrote: Hi, Serhiy Storchaka seems to be worried by the high numbers of commits in https://bugs.python.org/issue32030 "PEP 432: Rewrite Py_Main()", so let me explain the context of this work :-) You could have (and still could) made that a master issue wit

Re: [Python-Dev] PEP 432 progress: Python initalization

2017-12-14 Thread Victor Stinner
Currently, we have the following configuration options: typedef struct { int ignore_environment; /* -E */ int use_hash_seed; /* PYTHONHASHSEED=x */ unsigned long hash_seed; int _disable_importlib; /* Needed by freeze_importlib */ const char *allocator; /* Memory allocator

[Python-Dev] PEP 432 progress: Python initalization

2017-12-14 Thread Victor Stinner
Hi, Serhiy Storchaka seems to be worried by the high numbers of commits in https://bugs.python.org/issue32030 "PEP 432: Rewrite Py_Main()", so let me explain the context of this work :-) To prepare CPython to implement my UTF-8 Mode PEP (PEP 540), I worked on the implementation of Nick Coghlan's