• Victor Stinner's avatar
    bpo-36763: Implement the PEP 587 (GH-13592) · 331a6a56
    Victor Stinner yazdı
    * Add a whole new documentation page:
      "Python Initialization Configuration"
    * PyWideStringList_Append() return type is now PyStatus,
      instead of int
    * PyInterpreterState_New() now calls PyConfig_Clear() if
      PyConfig_InitPythonConfig() fails.
    * Rename files:
    
      * Python/coreconfig.c => Python/initconfig.c
      * Include/cpython/coreconfig.h => Include/cpython/initconfig.h
      * Include/internal/: pycore_coreconfig.h => pycore_initconfig.h
    
    * Rename structures
    
      * _PyCoreConfig => PyConfig
      * _PyPreConfig => PyPreConfig
      * _PyInitError => PyStatus
      * _PyWstrList => PyWideStringList
    
    * Rename PyConfig fields:
    
      * use_module_search_paths => module_search_paths_set
      * module_search_path_env => pythonpath_env
    
    * Rename PyStatus field: _func => func
    * PyInterpreterState: rename core_config field to config
    * Rename macros and functions:
    
      * _PyCoreConfig_SetArgv() => PyConfig_SetBytesArgv()
      * _PyCoreConfig_SetWideArgv() => PyConfig_SetArgv()
      * _PyCoreConfig_DecodeLocale() => PyConfig_SetBytesString()
      * _PyInitError_Failed() => PyStatus_Exception()
      * _Py_INIT_ERROR_TYPE_xxx enums => _PyStatus_TYPE_xxx
      * _Py_UnixMain() => Py_BytesMain()
      * _Py_ExitInitError() => Py_ExitStatusException()
      * _Py_PreInitializeFromArgs() => Py_PreInitializeFromBytesArgs()
      * _Py_PreInitializeFromWideArgs() => Py_PreInitializeFromArgs()
      * _Py_PreInitialize() => Py_PreInitialize()
      * _Py_RunMain() => Py_RunMain()
      * _Py_InitializeFromConfig() => Py_InitializeFromConfig()
      * _Py_INIT_XXX() => _PyStatus_XXX()
      * _Py_INIT_FAILED() => _PyStatus_EXCEPTION()
    
    * Rename 'err' PyStatus variables to 'status'
    * Convert RUN_CODE() macro to config_run_code() static inline function
    * Remove functions:
    
      * _Py_InitializeFromArgs()
      * _Py_InitializeFromWideArgs()
      * _PyInterpreterState_GetCoreConfig()
    331a6a56
Adı
Son kayıt (commit)
Son güncelleme
..
_asyncio.vcxproj Loading commit data...
_asyncio.vcxproj.filters Loading commit data...
_bz2.vcxproj Loading commit data...
_bz2.vcxproj.filters Loading commit data...
_ctypes.vcxproj Loading commit data...
_ctypes.vcxproj.filters Loading commit data...
_ctypes_test.vcxproj Loading commit data...
_ctypes_test.vcxproj.filters Loading commit data...
_decimal.vcxproj Loading commit data...
_decimal.vcxproj.filters Loading commit data...
_elementtree.vcxproj Loading commit data...
_elementtree.vcxproj.filters Loading commit data...
_freeze_importlib.vcxproj Loading commit data...
_freeze_importlib.vcxproj.filters Loading commit data...
_hashlib.vcxproj Loading commit data...
_hashlib.vcxproj.filters Loading commit data...
_lzma.vcxproj Loading commit data...
_lzma.vcxproj.filters Loading commit data...
_msi.vcxproj Loading commit data...
_msi.vcxproj.filters Loading commit data...
_multiprocessing.vcxproj Loading commit data...
_multiprocessing.vcxproj.filters Loading commit data...
_overlapped.vcxproj Loading commit data...
_overlapped.vcxproj.filters Loading commit data...
_queue.vcxproj Loading commit data...
_queue.vcxproj.filters Loading commit data...
_socket.vcxproj Loading commit data...
_socket.vcxproj.filters Loading commit data...
_sqlite3.vcxproj Loading commit data...
_sqlite3.vcxproj.filters Loading commit data...
_ssl.vcxproj Loading commit data...
_ssl.vcxproj.filters Loading commit data...
_testbuffer.vcxproj Loading commit data...
_testbuffer.vcxproj.filters Loading commit data...
_testcapi.vcxproj Loading commit data...
_testcapi.vcxproj.filters Loading commit data...
_testconsole.vcxproj Loading commit data...
_testconsole.vcxproj.filters Loading commit data...
_testembed.vcxproj Loading commit data...
_testembed.vcxproj.filters Loading commit data...
_testimportmultiple.vcxproj Loading commit data...
_testimportmultiple.vcxproj.filters Loading commit data...
_testinternalcapi.vcxproj Loading commit data...
_testinternalcapi.vcxproj.filters Loading commit data...
_testmultiphase.vcxproj Loading commit data...
_testmultiphase.vcxproj.filters Loading commit data...
_tkinter.vcxproj Loading commit data...
_tkinter.vcxproj.filters Loading commit data...
build.bat Loading commit data...
build_env.bat Loading commit data...
clean.bat Loading commit data...
env.bat Loading commit data...
field3.py Loading commit data...
find_msbuild.bat Loading commit data...
find_python.bat Loading commit data...
fix_encoding.py Loading commit data...
get_external.py Loading commit data...
get_externals.bat Loading commit data...
idle.bat Loading commit data...
lib.pyproj Loading commit data...
libffi.props Loading commit data...
liblzma.vcxproj Loading commit data...
openssl.props Loading commit data...
openssl.vcxproj Loading commit data...
pcbuild.proj Loading commit data...
pcbuild.sln Loading commit data...
prepare_libffi.bat Loading commit data...
prepare_ssl.bat Loading commit data...
prepare_ssl.py Loading commit data...
prepare_tcltk.bat Loading commit data...
pyexpat.vcxproj Loading commit data...
pyexpat.vcxproj.filters Loading commit data...
pylauncher.vcxproj Loading commit data...
pylauncher.vcxproj.filters Loading commit data...
pyproject.props Loading commit data...
pyshellext.vcxproj Loading commit data...
pyshellext.vcxproj.filters Loading commit data...
python.props Loading commit data...
python.vcxproj Loading commit data...
python.vcxproj.filters Loading commit data...
python3dll.vcxproj Loading commit data...
python3dll.vcxproj.filters Loading commit data...
python_uwp.vcxproj Loading commit data...
pythoncore.vcxproj Loading commit data...
pythoncore.vcxproj.filters Loading commit data...
pythonw.vcxproj Loading commit data...
pythonw.vcxproj.filters Loading commit data...
pythonw_uwp.vcxproj Loading commit data...
pywlauncher.vcxproj Loading commit data...
pywlauncher.vcxproj.filters Loading commit data...
readme.txt Loading commit data...
rmpyc.py Loading commit data...
rt.bat Loading commit data...
select.vcxproj Loading commit data...
select.vcxproj.filters Loading commit data...
sqlite3.vcxproj Loading commit data...
sqlite3.vcxproj.filters Loading commit data...
tcl.vcxproj Loading commit data...
tcltk.props Loading commit data...
tix.vcxproj Loading commit data...
tk.vcxproj Loading commit data...
unicodedata.vcxproj Loading commit data...
unicodedata.vcxproj.filters Loading commit data...
urlretrieve.py Loading commit data...
venvlauncher.vcxproj Loading commit data...
venvwlauncher.vcxproj Loading commit data...
winsound.vcxproj Loading commit data...
winsound.vcxproj.filters Loading commit data...
xxlimited.vcxproj Loading commit data...
xxlimited.vcxproj.filters Loading commit data...