<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/internal/pycore_pathconfig.h, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal/pycore_pathconfig.h?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal/pycore_pathconfig.h?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-07-07T22:20:37Z</updated>
<entry>
<title>bpo-29778: test_embed tests the path configuration (GH-21306)</title>
<updated>2020-07-07T22:20:37Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-07-07T22:20:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f42748ded5e978fe8a924115179d45a74a6363b'/>
<id>urn:sha1:8f42748ded5e978fe8a924115179d45a74a6363b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-39372: Clean header files of declared interfaces with no implementations (GH-18037)</title>
<updated>2020-01-18T03:14:59Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-01-18T03:14:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cd7db76a636c218b2d81d3526eb435cfae61f212'/>
<id>urn:sha1:cd7db76a636c218b2d81d3526eb435cfae61f212</id>
<content type='text'>
The public API symbols being removed are:

_PyBytes_InsertThousandsGroupingLocale, _PyBytes_InsertThousandsGrouping, _Py_InitializeFromArgs, _Py_InitializeFromWideArgs, _PyFloat_Repr, _PyFloat_Digits,
_PyFloat_DigitsInit, PyFrame_ExtendStack, _PyAIterWrapper_Type, PyNullImporter_Type, PyCmpWrapper_Type, PySortWrapper_Type, PyNoArgsFunction.</content>
</entry>
<entry>
<title>bpo-38353: getpath.c: allocates strings on the heap (GH-16585)</title>
<updated>2019-10-04T17:53:43Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-10-04T17:53:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c02b41b1fb115c87693530ea6a480b2e15460424'/>
<id>urn:sha1:c02b41b1fb115c87693530ea6a480b2e15460424</id>
<content type='text'>
* _Py_FindEnvConfigValue() now returns a string allocated
  by PyMem_RawMalloc().
* calculate_init() now decodes VPATH macro.
* Add calculate_open_pyenv() function.
* Add substring() and joinpath2() functions.

* Fix add_exe_suffix()

And a few cleanup changes.</content>
</entry>
<entry>
<title>bpo-38234: Py_Initialize() sets global path configuration (GH-16421)</title>
<updated>2019-09-26T13:51:50Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-26T13:51:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=12f2f177fc483723406d7917194e7f655a20631b'/>
<id>urn:sha1:12f2f177fc483723406d7917194e7f655a20631b</id>
<content type='text'>
* Py_InitializeFromConfig() now writes PyConfig path configuration to
  the global path configuration (_Py_path_config).
* Add test_embed.test_get_pathconfig().
* Fix typo in _PyWideStringList_Join().</content>
</entry>
<entry>
<title>bpo-38234: Add test_init_setpath_config() to test_embed (GH-16402)</title>
<updated>2019-09-26T00:22:35Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-26T00:22:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8bf39b606ef7b02c0279a80789f3c4824b0da5e9'/>
<id>urn:sha1:8bf39b606ef7b02c0279a80789f3c4824b0da5e9</id>
<content type='text'>
* Add test_embed.test_init_setpath_config(): test Py_SetPath()
  with PyConfig.
* test_init_setpath() and test_init_setpythonhome() no longer call
  Py_SetProgramName(), but use the default program name.
* _PyPathConfig: isolated, site_import  and base_executable
  fields are now only available on Windows.
* If executable is set explicitly in the configuration, ignore
  calculated base_executable: _PyConfig_InitPathConfig() copies
  executable to base_executable.
* Complete path config documentation.</content>
</entry>
<entry>
<title>bpo-38236: Dump path config at first import error (GH-16300)</title>
<updated>2019-09-23T12:45:47Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-23T12:45:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fcdb027234566c4d506d6d753c7d5638490fb088'/>
<id>urn:sha1:fcdb027234566c4d506d6d753c7d5638490fb088</id>
<content type='text'>
Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.</content>
</entry>
<entry>
<title>bpo-38234: Remove _PyPathConfig.dll_path (GH-16307)</title>
<updated>2019-09-20T23:02:56Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-20T23:02:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c422167749f92d4170203e996a2c619c818335ea'/>
<id>urn:sha1:c422167749f92d4170203e996a2c619c818335ea</id>
<content type='text'>
The DLL path is not computed from any user configuration and cannot
be configured by PyConfig. Instead, add a new _Py_dll_path global variable.

Remove _PyConfig_SetPathConfig(): replaced with _PyPathConfig_Init().

Py_Initialize() now longer sets the "global path configuration",
but only initialize _Py_dll_path.</content>
</entry>
<entry>
<title>bpo-37369: Fix initialization of sys members when launched via an app container (GH-14428)</title>
<updated>2019-06-29T17:34:11Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2019-06-29T17:34:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9048c49322a5229ff99610aba35913ffa295ebb7'/>
<id>urn:sha1:9048c49322a5229ff99610aba35913ffa295ebb7</id>
<content type='text'>
sys._base_executable is now always defined on all platforms, and can be overridden through configuration.
Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
</content>
</entry>
<entry>
<title>bpo-36763: Implement the PEP 587 (GH-13592)</title>
<updated>2019-05-27T14:39:22Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-27T14:39:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=331a6a56e9a9c72f3e4605987fabdaec72677702'/>
<id>urn:sha1:331a6a56e9a9c72f3e4605987fabdaec72677702</id>
<content type='text'>
* 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 =&gt; Python/initconfig.c
  * Include/cpython/coreconfig.h =&gt; Include/cpython/initconfig.h
  * Include/internal/: pycore_coreconfig.h =&gt; pycore_initconfig.h

* Rename structures

  * _PyCoreConfig =&gt; PyConfig
  * _PyPreConfig =&gt; PyPreConfig
  * _PyInitError =&gt; PyStatus
  * _PyWstrList =&gt; PyWideStringList

* Rename PyConfig fields:

  * use_module_search_paths =&gt; module_search_paths_set
  * module_search_path_env =&gt; pythonpath_env

* Rename PyStatus field: _func =&gt; func
* PyInterpreterState: rename core_config field to config
* Rename macros and functions:

  * _PyCoreConfig_SetArgv() =&gt; PyConfig_SetBytesArgv()
  * _PyCoreConfig_SetWideArgv() =&gt; PyConfig_SetArgv()
  * _PyCoreConfig_DecodeLocale() =&gt; PyConfig_SetBytesString()
  * _PyInitError_Failed() =&gt; PyStatus_Exception()
  * _Py_INIT_ERROR_TYPE_xxx enums =&gt; _PyStatus_TYPE_xxx
  * _Py_UnixMain() =&gt; Py_BytesMain()
  * _Py_ExitInitError() =&gt; Py_ExitStatusException()
  * _Py_PreInitializeFromArgs() =&gt; Py_PreInitializeFromBytesArgs()
  * _Py_PreInitializeFromWideArgs() =&gt; Py_PreInitializeFromArgs()
  * _Py_PreInitialize() =&gt; Py_PreInitialize()
  * _Py_RunMain() =&gt; Py_RunMain()
  * _Py_InitializeFromConfig() =&gt; Py_InitializeFromConfig()
  * _Py_INIT_XXX() =&gt; _PyStatus_XXX()
  * _Py_INIT_FAILED() =&gt; _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()</content>
</entry>
<entry>
<title>bpo-36763: Remove _PyCoreConfig.dll_path (GH-13402)</title>
<updated>2019-05-18T02:17:01Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-18T02:17:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=410759fba80aded5247b693c60745aa16906f3bb'/>
<id>urn:sha1:410759fba80aded5247b693c60745aa16906f3bb</id>
<content type='text'>
</content>
</entry>
</feed>
