<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Doc/c-api/import.rst, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>GH-97950: Use new-style index directive ('builtin') (#104164)</title>
<updated>2023-05-06T03:54:08+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-05-06T03:54:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f5088006ca8e9654fbc3de119462f0ab764e408b'/>
<id>f5088006ca8e9654fbc3de119462f0ab764e408b</id>
<content type='text'>
* Uncomment builtin removal in pairindextypes

* Use new-style index directive ('builtin') - C API

* Use new-style index directive ('builtin') - Extending

* Use new-style index directive ('builtin') - Library

* Use new-style index directive ('builtin') - Reference

* Use new-style index directive ('builtin') - Tutorial</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Uncomment builtin removal in pairindextypes

* Use new-style index directive ('builtin') - C API

* Use new-style index directive ('builtin') - Extending

* Use new-style index directive ('builtin') - Library

* Use new-style index directive ('builtin') - Reference

* Use new-style index directive ('builtin') - Tutorial</pre>
</div>
</content>
</entry>
<entry>
<title>GH-98040: Suppress cross-references to the removed ``imp`` module (#104131)</title>
<updated>2023-05-03T12:29:42+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2023-05-03T12:29:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=328435ed42d9d2d0aab7024540c745e730b9b9b1'/>
<id>328435ed42d9d2d0aab7024540c745e730b9b9b1</id>
<content type='text'>
Suppress cross-references to imp</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Suppress cross-references to imp</pre>
</div>
</content>
</entry>
<entry>
<title>gh-98040: Remove just the `imp` module (#98573)</title>
<updated>2023-04-28T23:17:58+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2023-04-28T23:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e1f14643dc0e6024f8df9ae975c3b05912a3cb28'/>
<id>e1f14643dc0e6024f8df9ae975c3b05912a3cb28</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-65961: Do not rely solely on `__cached__` (GH-97990)</title>
<updated>2022-10-06T22:40:22+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2022-10-06T22:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e1c4d56fdde28728c37de855edbb463fa0d7f95d'/>
<id>e1c4d56fdde28728c37de855edbb463fa0d7f95d</id>
<content type='text'>
Make sure `__spec__.cached` (at minimum) can be used.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure `__spec__.cached` (at minimum) can be used.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-93738: Documentation C syntax (Use `c:struct`) (#97772)</title>
<updated>2022-10-04T23:26:14+00:00</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2022-10-04T23:26:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a0f5599aac2037da715d09733e0a83a9cba7c37a'/>
<id>a0f5599aac2037da715d09733e0a83a9cba7c37a</id>
<content type='text'>
Use `c:struct`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use `c:struct`</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46608: exclude marshalled-frozen data if deep-freezing to save 300 KB space  (GH-31074)</title>
<updated>2022-02-04T17:57:03+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-02-04T17:57:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bf95ff91f2c1fc5a57190491f9ccdc63458b089e'/>
<id>bf95ff91f2c1fc5a57190491f9ccdc63458b089e</id>
<content type='text'>
This reduces the size of the data segment by **300 KB** of the executable because if the modules are deep-frozen then the marshalled frozen data just wastes space. This was inspired by comment by @gvanrossum in https://github.com/python/cpython/pull/29118#issuecomment-958521863. Note: There is a new option `--deepfreeze-only` in `freeze_modules.py` to change this behavior, it is on be default to save disk space.
```console 
# du -s ./python before
27892   ./python
# du -s ./python after
27524   ./python
```

Automerge-Triggered-By: GH:ericsnowcurrently</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces the size of the data segment by **300 KB** of the executable because if the modules are deep-frozen then the marshalled frozen data just wastes space. This was inspired by comment by @gvanrossum in https://github.com/python/cpython/pull/29118#issuecomment-958521863. Note: There is a new option `--deepfreeze-only` in `freeze_modules.py` to change this behavior, it is on be default to save disk space.
```console 
# du -s ./python before
27892   ./python
# du -s ./python after
27524   ./python
```

Automerge-Triggered-By: GH:ericsnowcurrently</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44441: _PyImport_Fini2() resets PyImport_Inittab (GH-26874)</title>
<updated>2021-06-23T12:13:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-06-23T12:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=489699ca05bed5cfd10e847d8580840812b476cd'/>
<id>489699ca05bed5cfd10e847d8580840812b476cd</id>
<content type='text'>
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38600: NULL -&gt; ``NULL``. (GH-17001)</title>
<updated>2019-10-30T19:37:16+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-30T19:37:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e835b31d2b212c3c7820364398979cae2a9740b2'/>
<id>e835b31d2b212c3c7820364398979cae2a9740b2</id>
<content type='text'>
Also fix some other formatting.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix some other formatting.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38600: Change the mark up of NULL in the C API documentation. (GH-16950)</title>
<updated>2019-10-30T10:03:20+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-30T10:03:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=25fc088607c855060ed142296dc1bd0125fad1af'/>
<id>25fc088607c855060ed142296dc1bd0125fad1af</id>
<content type='text'>
Replace all *NULL* with ``NULL``.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace all *NULL* with ``NULL``.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Remove PyImport_Cleanup() function (GH-14221)</title>
<updated>2019-06-19T08:36:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-19T08:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=987a0dcfa1302df6c1ed8cf14762dc18628e3f33'/>
<id>987a0dcfa1302df6c1ed8cf14762dc18628e3f33</id>
<content type='text'>
* Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the
  internal C API. Add 'tstate' parameters.
* Remove documentation of _PyImport_Init(), PyImport_Cleanup(),
  _PyImport_Fini(). All three were documented as "For internal use
  only.".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the
  internal C API. Add 'tstate' parameters.
* Remove documentation of _PyImport_Init(), PyImport_Cleanup(),
  _PyImport_Fini(). All three were documented as "For internal use
  only.".</pre>
</div>
</content>
</entry>
</feed>
