<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/importlib/_bootstrap_external.py, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/importlib/_bootstrap_external.py?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/importlib/_bootstrap_external.py?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2026-04-30T21:18:39Z</updated>
<entry>
<title>[3.10] gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507) (#145516)</title>
<updated>2026-04-30T21:18:39Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-04-30T21:18:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=876858c9f65d9ab656c7fa639f268ce7856d89dd'/>
<id>urn:sha1:876858c9f65d9ab656c7fa639f268ce7856d89dd</id>
<content type='text'>
* gh-145506: Fixes CVE-2026-2297 by ensuring SourcelessFileLoader uses io.open_code (GH-145507)
(cherry picked from commit a51b1b512de1d56b3714b65628a2eae2b07e535e)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;

* Regenerate importlib_external.h

* Fix blurb entry

The `:cve:` role is not available on this branch.

---------

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;
Co-authored-by: Stan Ulbrych &lt;stan@ulbrych.org&gt;
Co-authored-by: Stan Ulbrych &lt;89152624+StanFromIreland@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-45703: Invalidate _NamespacePath cache on importlib.invalidate_cache (GH-29384) (GH-30922)</title>
<updated>2022-01-27T14:00:23Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2022-01-27T14:00:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c39e474dbd61397c2ff877fa17d742bf4646702'/>
<id>urn:sha1:5c39e474dbd61397c2ff877fa17d742bf4646702</id>
<content type='text'>
Consider the following directory structure:

    .
    └── PATH1
        └── namespace
            └── sub1
                └── __init__.py

And both PATH1 and PATH2 in sys path:

    $ PYTHONPATH=PATH1:PATH2 python3.11
    &gt;&gt;&gt; import namespace
    &gt;&gt;&gt; import namespace.sub1
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; ...

While this interpreter still runs, PATH2/namespace/sub2 is created:

    .
    ├── PATH1
    │   └── namespace
    │       └── sub1
    │           └── __init__.py
    └── PATH2
        └── namespace
            └── sub2
                └── __init__.py

The newly created module cannot be imported:

    &gt;&gt;&gt; ...
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    ModuleNotFoundError: No module named 'namespace.sub2'

Calling importlib.invalidate_caches() now newly allows to import it:

    &gt;&gt;&gt; import importlib
    &gt;&gt;&gt; importlib.invalidate_caches()
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace'])
    &gt;&gt;&gt; import namespace.sub2
    &gt;&gt;&gt; namespace.__path__
    _NamespacePath(['.../PATH1/namespace', '.../PATH2/namespace'])

This was not previously possible.</content>
</entry>
<entry>
<title>bpo-43754: Eliminate bindings for partial pattern matches (GH-25229)</title>
<updated>2021-05-02T20:02:10Z</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2021-05-02T20:02:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0ad1e0384c8afc5259a6d03363491d89500a5d03'/>
<id>urn:sha1:0ad1e0384c8afc5259a6d03363491d89500a5d03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-42739: Don't use sentinels to mark end of line table. (GH-25657)</title>
<updated>2021-04-29T12:12:51Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-04-29T12:12:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c76da79b37d2bcbe575cc927ba0a9b7a9ce465db'/>
<id>urn:sha1:c76da79b37d2bcbe575cc927ba0a9b7a9ce465db</id>
<content type='text'>
* Add length parameter to PyLineTable_InitAddressRange and doen't use sentinel values at end of table. Makes the line number table more robust.

* Update PyCodeAddressRange to match PEP 626.</content>
</entry>
<entry>
<title>bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490)</title>
<updated>2021-04-21T11:41:19Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-21T11:41:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0544ba77cf86074fb1adde00558c67ca75eeea1'/>
<id>urn:sha1:b0544ba77cf86074fb1adde00558c67ca75eeea1</id>
<content type='text'>
This reverts commits 044a1048ca93d466965afc027b91a5a9eb9ce23c and 1be456ae9d53bb1cba2b24fc86175c282d1c2169, adapting the code to changes that happened after it.
</content>
</entry>
<entry>
<title>Correct micro release number and add a couple of asserts. (GH-25224)</title>
<updated>2021-04-07T09:52:07Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-04-07T09:52:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=67969f5eb80844b68005181fd887bcf94c01fb40'/>
<id>urn:sha1:67969f5eb80844b68005181fd887bcf94c01fb40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121)</title>
<updated>2021-04-07T00:02:07Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2021-04-07T00:02:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04732ca993fa077a8b9640cc77fb2f152339585a'/>
<id>urn:sha1:04732ca993fa077a8b9640cc77fb2f152339585a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bump the bytecode magic number (GH-25225)</title>
<updated>2021-04-06T17:44:50Z</updated>
<author>
<name>Dennis Sweeney</name>
<email>36520290+sweeneyde@users.noreply.github.com</email>
</author>
<published>2021-04-06T17:44:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=50616223d1043f0f83534ffec38709439b8a49ab'/>
<id>urn:sha1:50616223d1043f0f83534ffec38709439b8a49ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169)</title>
<updated>2021-04-06T15:56:57Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2021-04-06T15:56:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57c6cb5100d19a0e0218c77d887c3c239c9ce435'/>
<id>urn:sha1:57c6cb5100d19a0e0218c77d887c3c239c9ce435</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-43683: Handle generator entry in bytecode (GH-25138)</title>
<updated>2021-04-06T10:48:59Z</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2021-04-06T10:48:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b37181e69209746adc2119c471599a1ea5faa6c8'/>
<id>urn:sha1:b37181e69209746adc2119c471599a1ea5faa6c8</id>
<content type='text'>
* Handle check for sending None to starting generator and coroutine into bytecode.

* Document new bytecode and make it fail gracefully if mis-compiled.
</content>
</entry>
</feed>
