<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/preconfig.c, branch master</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/preconfig.c?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/preconfig.c?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-05-28T00:56:30Z</updated>
<entry>
<title>[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)</title>
<updated>2022-05-28T00:56:30Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-05-28T00:56:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36374251aa39c0a89be277fb76439bacc709f8b7'/>
<id>urn:sha1:36374251aa39c0a89be277fb76439bacc709f8b7</id>
<content type='text'>
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)

This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL.  However, it has since proven unnecessary to keep the experiment in the repo.  (It can be done as a branch in a fork like normal.)  So here we are removing:

* the configure option
* the macro
* the code enabled by the macro

Automerge-Triggered-By: GH:ericsnowcurrently</content>
</entry>
<entry>
<title>bpo-45434: pyport.h no longer includes &lt;stdlib.h&gt; (GH-28914)</title>
<updated>2021-10-13T17:25:53Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-10-13T17:25:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aac29af6785712019d34f1a7f15b3c408a4f68ae'/>
<id>urn:sha1:aac29af6785712019d34f1a7f15b3c408a4f68ae</id>
<content type='text'>
Include &lt;stdlib.h&gt; explicitly in C files.

Python.h includes &lt;wchar.h&gt;.</content>
</entry>
<entry>
<title>bpo-45211: Move helpers from getpath.c to internal API. (gh-28550)</title>
<updated>2021-09-27T16:00:32Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2021-09-27T16:00:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ae7839bbe817329dd015f9195da308a0f3fbd3e2'/>
<id>urn:sha1:ae7839bbe817329dd015f9195da308a0f3fbd3e2</id>
<content type='text'>
This accomplishes 2 things:

* consolidates some common code between getpath.c and getpathp.c
* makes the helpers available to code in other files

FWIW, the signature of the join_relfile() function (in fileutils.c) intentionally mirrors that of Windows' PathCchCombineEx().

Note that this change is mostly moving code around. No behavior is meant to change.

https://bugs.python.org/issue45211</content>
</entry>
<entry>
<title>bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481)</title>
<updated>2021-03-29T03:28:14Z</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-03-29T03:28:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4827483f47906fecee6b5d9097df2a69a293a85c'/>
<id>urn:sha1:4827483f47906fecee6b5d9097df2a69a293a85c</id>
<content type='text'>
See [PEP 597](https://www.python.org/dev/peps/pep-0597/).

* Add `-X warn_default_encoding` and `PYTHONWARNDEFAULTENCODING`.
* Add EncodingWarning
* Add io.text_encoding()
* open(), TextIOWrapper() emits EncodingWarning when encoding is omitted and warn_default_encoding is enabled.
* _pyio.TextIOWrapper() uses UTF-8 as fallback default encoding used when failed to import locale module. (used during building Python)
* bz2, configparser, gzip, lzma, pathlib, tempfile modules use io.text_encoding().
* What's new entry</content>
</entry>
<entry>
<title>bpo-42236: Enhance init and encoding documentation (GH-23109)</title>
<updated>2020-11-02T15:49:54Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-02T15:49:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b9aad49992a825d8c76e428ed1aca81dd3878b2'/>
<id>urn:sha1:4b9aad49992a825d8c76e428ed1aca81dd3878b2</id>
<content type='text'>
Enhance the documentation of the Python startup, filesystem encoding
and error handling, locale encoding. Add a new "Python UTF-8 Mode"
section.

* Add "locale encoding" and "filesystem encoding and error handler"
  to the glossary
* Remove documentation from Include/cpython/initconfig.h: move it to
  Doc/c-api/init_config.rst.
* Doc/c-api/init_config.rst:

  * Document command line options and environment variables
  * Document default values.

* Add a new "Python UTF-8 Mode" section in Doc/library/os.rst.
* Add warnings to Py_DecodeLocale() and Py_EncodeLocale() docs.
* Document how Python selects the filesystem encoding and error
  handler at a single place: PyConfig.filesystem_encoding and
  PyConfig.filesystem_errors.
* PyConfig: move orig_argv member at the right place.</content>
</entry>
<entry>
<title>_PyPreConfig_Read() decodes argv at each iteration (GH-20786)</title>
<updated>2020-06-10T17:33:11Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-06-10T17:33:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8eb4aea26297daf105108c4866d4c692bd8b81f9'/>
<id>urn:sha1:8eb4aea26297daf105108c4866d4c692bd8b81f9</id>
<content type='text'>
_PyPreConfig_Read() now calls _PyPreCmdline_SetArgv() at each
iteration, so bytes strings are decoded from the new encoding.</content>
</entry>
<entry>
<title>bpo-40514: Add --with-experimental-isolated-subinterpreters (GH-19926)</title>
<updated>2020-05-05T14:41:11Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-05T14:41:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c5fa364f4ea836f25dd07cfb328152d40a568371'/>
<id>urn:sha1:c5fa364f4ea836f25dd07cfb328152d40a568371</id>
<content type='text'>
Add --with-experimental-isolated-subinterpreters build option to
configure: better isolate subinterpreters, experimental build mode.

When used, force the usage of the libc malloc() memory allocator,
since pymalloc relies on the unique global interpreter lock (GIL).</content>
</entry>
<entry>
<title>bpo-40268: Remove unused imports in pylifecycle.c (GH-19533)</title>
<updated>2020-04-15T02:01:58Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-15T02:01:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f98f465f14e7258c5b18a62c5aa114dbe1174d8'/>
<id>urn:sha1:4f98f465f14e7258c5b18a62c5aa114dbe1174d8</id>
<content type='text'>
Remove unused imports in files:

* initconfig.c
* main.c
* preconfig.h
* pylifecycle.c
* python.c
* pythonrun.c</content>
</entry>
<entry>
<title>bpo-40268: Remove unused pycore_pymem.h includes (GH-19531)</title>
<updated>2020-04-15T00:57:50Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-15T00:57:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d9ea5cae1d07e1ee8b03540a9367c26205e0e360'/>
<id>urn:sha1:d9ea5cae1d07e1ee8b03540a9367c26205e0e360</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)</title>
<updated>2020-04-14T15:52:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-14T15:52:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5014be0497d06d78343623588a80f491a6f7b74'/>
<id>urn:sha1:e5014be0497d06d78343623588a80f491a6f7b74</id>
<content type='text'>
</content>
</entry>
</feed>
