<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python, branch dependabot/github_actions/actions/cache-v2.1.3</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>bpo-42202: Store func annotations as a tuple (GH-23316)</title>
<updated>2020-11-25T10:43:18+00:00</updated>
<author>
<name>Yurii Karabas</name>
<email>1998uriyyo@gmail.com</email>
</author>
<published>2020-11-25T10:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7301979b23406220510dd2c7934a21b41b647119'/>
<id>7301979b23406220510dd2c7934a21b41b647119</id>
<content type='text'>
Reduce memory footprint and improve performance of loading modules having many func annotations.

  &gt;&gt;&gt; sys.getsizeof({"a":"int","b":"int","return":"int"})
  232
  &gt;&gt;&gt; sys.getsizeof(("a","int","b","int","return","int"))
  88

The tuple is converted into dict on the fly when `func.__annotations__` is accessed first.

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Inada Naoki &lt;songofacandy@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce memory footprint and improve performance of loading modules having many func annotations.

  &gt;&gt;&gt; sys.getsizeof({"a":"int","b":"int","return":"int"})
  232
  &gt;&gt;&gt; sys.getsizeof(("a","int","b","int","return","int"))
  88

The tuple is converted into dict on the fly when `func.__annotations__` is accessed first.

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Inada Naoki &lt;songofacandy@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42260: Improve error handling in _PyConfig_FromDict (GH-23488)</title>
<updated>2020-11-24T12:07:32+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-11-24T12:07:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=14d81dcaf827f6b66bda45e8f5689d07d7d5735c'/>
<id>14d81dcaf827f6b66bda45e8f5689d07d7d5735c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42403: Use @staticmethod in importlib (GH-23395)</title>
<updated>2020-11-20T13:44:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-20T13:44:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3be8e220ede7764a403b74eb2051aa703dde2626'/>
<id>3be8e220ede7764a403b74eb2051aa703dde2626</id>
<content type='text'>
Use @staticmethod on methods using @classmethod but don't use their
cls parameter on the following classes:

* BuiltinImporter
* FrozenImporter
* WindowsRegistryFinder
* PathFinder

Leave methods using @_requires_builtin or @_requires_frozen unchanged,
since this decorator requires the wrapped method to have an extra parameter
(cls or self).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use @staticmethod on methods using @classmethod but don't use their
cls parameter on the following classes:

* BuiltinImporter
* FrozenImporter
* WindowsRegistryFinder
* PathFinder

Leave methods using @_requires_builtin or @_requires_frozen unchanged,
since this decorator requires the wrapped method to have an extra parameter
(cls or self).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42403: Simplify importlib external bootstrap (GH-23397)</title>
<updated>2020-11-19T12:43:43+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-19T12:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3390347aa036404453213d589fe1e35902e55fd4'/>
<id>3390347aa036404453213d589fe1e35902e55fd4</id>
<content type='text'>
Simplify the importlib external bootstrap code:
importlib._bootstrap_external now uses regular imports to import
builtin modules. When it is imported, the builtin __import__()
function is already fully working and so can be used to import
builtin modules like sys.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Simplify the importlib external bootstrap code:
importlib._bootstrap_external now uses regular imports to import
builtin modules. When it is imported, the builtin __import__()
function is already fully working and so can be used to import
builtin modules like sys.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-1635741: Port _warnings to the multi-phase init (GH-23379)</title>
<updated>2020-11-18T23:19:06+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-18T23:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6f4635fe20457a7c513050bb117c2f0511cd4e44'/>
<id>6f4635fe20457a7c513050bb117c2f0511cd4e44</id>
<content type='text'>
Port the _warnings extension module to the multi-phase initialization
API (PEP 489).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Port the _warnings extension module to the multi-phase initialization
API (PEP 489).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-1635741: Convert _imp to multi-phase init (GH-23378)</title>
<updated>2020-11-18T22:18:29+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-18T22:18:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=622307142130d36a30644233441333247838af38'/>
<id>622307142130d36a30644233441333247838af38</id>
<content type='text'>
Convert the _imp extension module to the multi-phase initialization
API (PEP 489).

* Add _PyImport_BootstrapImp() which fix a bootstrap issue: import
  the _imp module before importlib is initialized.
* Add create_builtin() sub-function, used by _imp_create_builtin().
* Initialize PyInterpreterState.import_func earlier, in
  pycore_init_builtins().
* Remove references to _PyImport_Cleanup(). This function has been
  renamed to finalize_modules() and moved to pylifecycle.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert the _imp extension module to the multi-phase initialization
API (PEP 489).

* Add _PyImport_BootstrapImp() which fix a bootstrap issue: import
  the _imp module before importlib is initialized.
* Add create_builtin() sub-function, used by _imp_create_builtin().
* Initialize PyInterpreterState.import_func earlier, in
  pycore_init_builtins().
* Remove references to _PyImport_Cleanup(). This function has been
  renamed to finalize_modules() and moved to pylifecycle.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40998: Address compiler warnings found by ubsan (GH-20929)</title>
<updated>2020-11-18T15:38:53+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2020-11-18T15:38:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=07f2adedf0940b06d136208ec386d69b7d2d5b43'/>
<id>07f2adedf0940b06d136208ec386d69b7d2d5b43</id>
<content type='text'>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

Automerge-Triggered-By: GH:tiran</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;

Automerge-Triggered-By: GH:tiran</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40998: Fix a refleak in create_filter() (GH-23365)</title>
<updated>2020-11-18T14:57:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-18T14:57:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d1e38d4023aa29e7ed64d4f8eb9c1e4a3c86a2e5'/>
<id>d1e38d4023aa29e7ed64d4f8eb9c1e4a3c86a2e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41686: Move _Py_RestoreSignals() to signalmodule.c (GH-23353)</title>
<updated>2020-11-17T21:55:30+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-17T21:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=29aa624047f893b3b3194f00252b2156bbbf4f9b'/>
<id>29aa624047f893b3b3194f00252b2156bbbf4f9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42349: Compiler clean up. More yak-shaving for PEP 626. (GH-23267)</title>
<updated>2020-11-17T19:30:14+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2020-11-17T19:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=266b462238bddec0213effad3650f19c56511e9f'/>
<id>266b462238bddec0213effad3650f19c56511e9f</id>
<content type='text'>
Make sure that CFG from compiler front-end is correct. Be a bit more aggressive in the compiler back-end.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure that CFG from compiler front-end is correct. Be a bit more aggressive in the compiler back-end.</pre>
</div>
</content>
</entry>
</feed>
