1. 25 May, 2019 2 commits
  2. 24 May, 2019 23 commits
  3. 23 May, 2019 11 commits
  4. 22 May, 2019 4 commits
    • Victor Stinner's avatar
      bpo-36829: PyErr_WriteUnraisable() normalizes exception (GH-13507) · df22c03b
      Victor Stinner authored
      PyErr_WriteUnraisable() now creates a traceback object if there is no
      current traceback. Moreover, call PyErr_NormalizeException() and
      PyException_SetTraceback() to normalize the exception value. Ignore
      silently any error.
      df22c03b
    • Victor Stinner's avatar
      bpo-36763: Rename private Python initialization functions (GH-13511) · 5edcf263
      Victor Stinner authored
      * Rename private C functions:
      
        * _Py_Initialize_ReconfigureCore => pyinit_core_reconfigure
        * _Py_InitializeCore_impl => pyinit_core_config
        * _Py_InitializeCore = > pyinit_core
        * _Py_InitializeMainInterpreter => pyinit_main
        * init_python => pyinit_python
      
      * Rename _testembed.c commands: add "test_" prefix.
      5edcf263
    • Paul Monson's avatar
    • Victor Stinner's avatar
      bpo-36763: Add _PyPreConfig._config_init (GH-13481) · 022be02d
      Victor Stinner authored
      * _PyPreConfig_GetGlobalConfig() and  _PyCoreConfig_GetGlobalConfig()
        now do nothing if the configuration was not initialized with
        _PyPreConfig_InitCompatConfig() and _PyCoreConfig_InitCompatConfig()
      * Remove utf8_mode=-2 special case: use utf8_mode=-1 instead.
      * Fix _PyPreConfig_InitPythonConfig():
      
        * isolated = 0 instead of -1
        * use_environment = 1 instead of -1
      
      * Rename _PyConfig_INIT to  _PyConfig_INIT_COMPAT
      * Rename _PyPreConfig_Init() to _PyPreConfig_InitCompatConfig()
      * Rename _PyCoreConfig_Init() to _PyCoreConfig_InitCompatConfig()
      * PyInterpreterState_New() now uses _PyCoreConfig_InitPythonConfig()
        as default configuration, but it's very quickly overriden anyway.
      * _freeze_importlib.c uses _PyCoreConfig_SetString() to set
        program_name.
      * Cleanup preconfig_init_utf8_mode(): cmdline is always non-NULL.
      022be02d