<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pathconfig.c, branch enum-lost-fixes</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] Fix typos in the Python directory (GH-28767) (GH-28799)</title>
<updated>2021-10-07T15:30:08+00:00</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-07T15:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ccd82a080056f21da2041d4c5d0ac4421ad0c8a8'/>
<id>ccd82a080056f21da2041d4c5d0ac4421ad0c8a8</id>
<content type='text'>
(cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42260: Fix _PyConfig_Read() if compute_path_config=0 (GH-23220)</title>
<updated>2020-11-10T20:10:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-10T20:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ace3f9a0ce7b9fe8ae757fdd614f1e7a171f92b0'/>
<id>ace3f9a0ce7b9fe8ae757fdd614f1e7a171f92b0</id>
<content type='text'>
Fix _PyConfig_Read() if compute_path_config=0: use values set by
Py_SetPath(), Py_SetPythonHome() and Py_SetProgramName(). Add
compute_path_config parameter to _PyConfig_InitPathConfig().

The following functions now return NULL if called before
Py_Initialize():

* Py_GetExecPrefix()
* Py_GetPath()
* Py_GetPrefix()
* Py_GetProgramFullPath()
* Py_GetProgramName()
* Py_GetPythonHome()

These functions no longer automatically computes the Python Path
Configuration. Moreover, Py_SetPath() no longer computes
program_full_path.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix _PyConfig_Read() if compute_path_config=0: use values set by
Py_SetPath(), Py_SetPythonHome() and Py_SetProgramName(). Add
compute_path_config parameter to _PyConfig_InitPathConfig().

The following functions now return NULL if called before
Py_Initialize():

* Py_GetExecPrefix()
* Py_GetPath()
* Py_GetPrefix()
* Py_GetProgramFullPath()
* Py_GetProgramName()
* Py_GetPythonHome()

These functions no longer automatically computes the Python Path
Configuration. Moreover, Py_SetPath() no longer computes
program_full_path.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29778: test_embed tests the path configuration (GH-21306)</title>
<updated>2020-07-07T22:20:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-07-07T22:20:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8f42748ded5e978fe8a924115179d45a74a6363b'/>
<id>8f42748ded5e978fe8a924115179d45a74a6363b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297)</title>
<updated>2020-07-06T16:32:00+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2020-07-06T16:32:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5'/>
<id>dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5</id>
<content type='text'>
Also enables using debug build of `python3_d.dll`
Reference: CVE-2020-15523</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also enables using debug build of `python3_d.dll`
Reference: CVE-2020-15523</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41056: Fix reference to deallocated stack in pathconfig (Coverity) (GH-21013)</title>
<updated>2020-06-22T07:27:20+00:00</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2020-06-22T07:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=81328f30703bd7225e7e73aedb0994a7293ce190'/>
<id>81328f30703bd7225e7e73aedb0994a7293ce190</id>
<content type='text'>
Reported by Coverity.  (CID 1457554 RETURN_LOCAL)

path0 is assigned as a pointer to this right before it goes out of scope.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Coverity.  (CID 1457554 RETURN_LOCAL)

path0 is assigned as a pointer to this right before it goes out of scope.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40268: Remove unused osdefs.h includes (GH-19532)</title>
<updated>2020-04-15T01:24:57+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-15T01:24:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=361dcdcefc80f5729ed18ac0ef73327794fbf400'/>
<id>361dcdcefc80f5729ed18ac0ef73327794fbf400</id>
<content type='text'>
When the include is needed, add required symbol in a comment.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the include is needed, add required symbol in a comment.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40268: Remove unused pycore_pymem.h includes (GH-19531)</title>
<updated>2020-04-15T00:57:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-15T00:57:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d9ea5cae1d07e1ee8b03540a9367c26205e0e360'/>
<id>d9ea5cae1d07e1ee8b03540a9367c26205e0e360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)</title>
<updated>2020-04-14T15:52:15+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-14T15:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e5014be0497d06d78343623588a80f491a6f7b74'/>
<id>e5014be0497d06d78343623588a80f491a6f7b74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157)</title>
<updated>2020-03-25T18:27:36+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-25T18:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=87d3b9db4ade1aa100ee6f065082cb7e85b8992f'/>
<id>87d3b9db4ade1aa100ee6f065082cb7e85b8992f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39882: Py_FatalError() logs the function name (GH-18819)</title>
<updated>2020-03-06T23:54:20+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-03-06T23:54:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9e5d30cc99e34f4c3e7b2cd851de20816c9d1927'/>
<id>9e5d30cc99e34f4c3e7b2cd851de20816c9d1927</id>
<content type='text'>
The Py_FatalError() function is replaced with a macro which logs
automatically the name of the current function, unless the
Py_LIMITED_API macro is defined.

Changes:

* Add _Py_FatalErrorFunc() function.
* Remove the function name from the message of Py_FatalError() calls
  which included the function name.
* Update tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The Py_FatalError() function is replaced with a macro which logs
automatically the name of the current function, unless the
Py_LIMITED_API macro is defined.

Changes:

* Add _Py_FatalErrorFunc() function.
* Remove the function name from the message of Py_FatalError() calls
  which included the function name.
* Update tests.</pre>
</div>
</content>
</entry>
</feed>
