<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Programs, branch orphaned-comment</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>bpo-45950: Introduce Bootstrap Python again (#29859)</title>
<updated>2021-12-03T15:01:11+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2021-12-03T15:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=84ca1232b0f1e4be368e89550a9ceb46f64a0eff'/>
<id>84ca1232b0f1e4be368e89550a9ceb46f64a0eff</id>
<content type='text'>
The build system now uses a :program:`_bootstrap_python` interpreter for
freezing and deepfreezing again. To speed up build process the build tools
:program:`_bootstrap_python` and :program:`_freeze_module` are no longer
build with LTO.

Cross building depends on a build Python interpreter, which must have same
version and bytecode as target host Python.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The build system now uses a :program:`_bootstrap_python` interpreter for
freezing and deepfreezing again. To speed up build process the build tools
:program:`_bootstrap_python` and :program:`_freeze_module` are no longer
build with LTO.

Cross building depends on a build Python interpreter, which must have same
version and bytecode as target host Python.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886)</title>
<updated>2021-12-02T10:43:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-12-02T10:43:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6c3b0faa1d55e36539caf19bd3bcf1dea12df84'/>
<id>a6c3b0faa1d55e36539caf19bd3bcf1dea12df84</id>
<content type='text'>
Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges and
invert the value.

Document -X no_debug_ranges and PYTHONNODEBUGRANGES env var in
PyConfig.code_debug_ranges documentation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges and
invert the value.

Document -X no_debug_ranges and PYTHONNODEBUGRANGES env var in
PyConfig.code_debug_ranges documentation.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Programs/_freeze_importlib (#29357)</title>
<updated>2021-11-02T01:09:26+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2021-11-02T01:09:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=69a6173d64332cd4992024c5f6a9f3f5fd6523d5'/>
<id>69a6173d64332cd4992024c5f6a9f3f5fd6523d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45666: Use `%S` for MSVC and `%s` elsewhere for `swprintf` in `_testembed.c` (GH-29341)</title>
<updated>2021-11-01T12:11:34+00:00</updated>
<author>
<name>Nikita Sobolev</name>
<email>mail@sobolevn.me</email>
</author>
<published>2021-11-01T12:11:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=401d25e92f62a9ef320a97542b3e63cb8c34e7e9'/>
<id>401d25e92f62a9ef320a97542b3e63cb8c34e7e9</id>
<content type='text'>
Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45666: fixes warning with `swprintf` and `%s` (GH-29307)</title>
<updated>2021-10-31T02:13:54+00:00</updated>
<author>
<name>Nikita Sobolev</name>
<email>mail@sobolevn.me</email>
</author>
<published>2021-10-31T02:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=aad48062ef8f983fbb95f9dc0c3c3cef9c89df02'/>
<id>aad48062ef8f983fbb95f9dc0c3c3cef9c89df02</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45395: Make custom frozen modules additions instead of replacements. (gh-28778)</title>
<updated>2021-10-28T21:04:33+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2021-10-28T21:04:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=074fa5750640a067d9894c69378a00ceecc3b948'/>
<id>074fa5750640a067d9894c69378a00ceecc3b948</id>
<content type='text'>
Currently custom modules (the array set on PyImport_FrozenModules) replace all the frozen stdlib modules. That can be problematic and is unlikely to be what the user wants. This change treats the custom frozen modules as additions instead. They take precedence over all other frozen modules except for those needed to bootstrap the import system. If the "code" field of an entry in the custom array is NULL then that frozen module is treated as disabled, which allows a custom entry to disable a frozen stdlib module.

This change allows us to get rid of is_essential_frozen_module() and simplifies the logic for which frozen modules should be ignored.

https://bugs.python.org/issue45395</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently custom modules (the array set on PyImport_FrozenModules) replace all the frozen stdlib modules. That can be problematic and is unlikely to be what the user wants. This change treats the custom frozen modules as additions instead. They take precedence over all other frozen modules except for those needed to bootstrap the import system. If the "code" field of an entry in the custom array is NULL then that frozen module is treated as disabled, which allows a custom entry to disable a frozen stdlib module.

This change allows us to get rid of is_essential_frozen_module() and simplifies the logic for which frozen modules should be ignored.

https://bugs.python.org/issue45395</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44511: Improve the bytecode for class and mapping patterns (GH-26922)</title>
<updated>2021-10-27T09:45:35+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2021-10-27T09:45:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=82a662e5216a9b3969054c540a759a9493468510'/>
<id>82a662e5216a9b3969054c540a759a9493468510</id>
<content type='text'>
* Refactor mapping patterns and speed up class patterns.

* Simplify MATCH_KEYS and MATCH_CLASS.

* Add COPY opcode.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Refactor mapping patterns and speed up class patterns.

* Simplify MATCH_KEYS and MATCH_CLASS.

* Add COPY opcode.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45020: Add tests for the -X "frozen_modules" option. (gh-28997)</title>
<updated>2021-10-25T21:26:41+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2021-10-25T21:26:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6afb285ff0790471a6858e44f85d143f07fda70c'/>
<id>6afb285ff0790471a6858e44f85d143f07fda70c</id>
<content type='text'>
We hadn't explicitly added any tests for this, so here they are.

https://bugs.python.org/issue45020</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We hadn't explicitly added any tests for this, so here they are.

https://bugs.python.org/issue45020</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45434: pyport.h no longer includes &lt;stdlib.h&gt; (GH-28914)</title>
<updated>2021-10-13T17:25:53+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-10-13T17:25:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=aac29af6785712019d34f1a7f15b3c408a4f68ae'/>
<id>aac29af6785712019d34f1a7f15b3c408a4f68ae</id>
<content type='text'>
Include &lt;stdlib.h&gt; explicitly in C files.

Python.h includes &lt;wchar.h&gt;.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include &lt;stdlib.h&gt; explicitly in C files.

Python.h includes &lt;wchar.h&gt;.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)</title>
<updated>2021-10-13T17:08:19+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-10-13T17:08:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=db2b6a20cd35781b2f5e798e880e57e6cf9b97aa'/>
<id>db2b6a20cd35781b2f5e798e880e57e6cf9b97aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
