<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/importlib/util.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/util.py?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/importlib/util.py?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-04-03T22:31:15Z</updated>
<entry>
<title>bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167)</title>
<updated>2021-04-03T22:31:15Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2021-04-03T22:31:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936'/>
<id>urn:sha1:dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-42403: Fix pyflakes warnings in importlib (GH-23396)</title>
<updated>2020-11-19T10:20:57Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-19T10:20:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f'/>
<id>urn:sha1:7d9d25dbedfffce61fc76bc7ccbfa9ae901bf56f</id>
<content type='text'>
Remove unused imports and unused local variables.</content>
</entry>
<entry>
<title>bpo-41006: importlib.util no longer imports typing (GH-20938)</title>
<updated>2020-06-17T21:15:59Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-06-17T21:15:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e09849d20987c131b28bcdd252e53440d4cd1b3'/>
<id>urn:sha1:9e09849d20987c131b28bcdd252e53440d4cd1b3</id>
<content type='text'>
Create importlib._abc submodule to avoid importing typing when
importlib.util is imported. Move Loader ABC into importlib._abc.</content>
</entry>
<entry>
<title>bpo-37444: Update differing exception between builtins and importlib (GH-14869)</title>
<updated>2019-08-03T05:46:02Z</updated>
<author>
<name>Ngalim Siregar</name>
<email>ngalim.siregar@gmail.com</email>
</author>
<published>2019-08-03T05:46:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2'/>
<id>urn:sha1:c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2</id>
<content type='text'>
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure.


https://bugs.python.org/issue37444



Automerge-Triggered-By: @brettcannon</content>
</entry>
<entry>
<title>bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)</title>
<updated>2018-06-07T06:02:24Z</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-06-07T06:02:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14'/>
<id>urn:sha1:fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)</title>
<updated>2017-12-09T18:26:52Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-12-09T18:26:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=42aa93b8ff2f7879282b06efc73a31ec7785e602'/>
<id>urn:sha1:42aa93b8ff2f7879282b06efc73a31ec7785e602</id>
<content type='text'>
Python now supports checking bytecode cache up-to-dateness with a hash of the
source contents rather than volatile source metadata. See the PEP for details.

While a fairly straightforward idea, quite a lot of code had to be modified due
to the pervasiveness of pyc implementation details in the codebase. Changes in
this commit include:

- The core changes to importlib to understand how to read, validate, and
  regenerate hash-based pycs.

- Support for generating hash-based pycs in py_compile and compileall.

- Modifications to our siphash implementation to support passing a custom
  key. We then expose it to importlib through _imp.

- Updates to all places in the interpreter, standard library, and tests that
  manually generate or parse pyc files to grok the new format.

- Support in the interpreter command line code for long options like
  --check-hash-based-pycs.

- Tests and documentation for all of the above.
</content>
</entry>
<entry>
<title>bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)</title>
<updated>2017-06-14T21:34:50Z</updated>
<author>
<name>Milan Oberkirch</name>
<email>zvyn@oberkirch.org</email>
</author>
<published>2017-06-14T21:34:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8c3f05e9f0f0b30a3d4a2433e92471794d8258af'/>
<id>urn:sha1:8c3f05e9f0f0b30a3d4a2433e92471794d8258af</id>
<content type='text'>
Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.</content>
</entry>
<entry>
<title>Issue #26186: Remove the restriction that built-in and extension</title>
<updated>2016-06-25T17:58:17Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-06-25T17:58:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=696c35e86bffea1f2bc6179a29e46416899e3de6'/>
<id>urn:sha1:696c35e86bffea1f2bc6179a29e46416899e3de6</id>
<content type='text'>
modules  can't be lazily loaded.

Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.
</content>
</entry>
<entry>
<title>Merge from 3.5</title>
<updated>2016-06-25T17:50:24Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-06-25T17:50:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=da037616b10fc12a213e67711065f8123fb98cef'/>
<id>urn:sha1:da037616b10fc12a213e67711065f8123fb98cef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a scoping issue where an UnboundLocalError was triggered if a</title>
<updated>2016-06-25T17:47:53Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-06-25T17:47:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e92dc9c23da8cb11f922f28353e6a58928aa5c71'/>
<id>urn:sha1:e92dc9c23da8cb11f922f28353e6a58928aa5c71</id>
<content type='text'>
lazy-loaded module was already in sys.modules.
</content>
</entry>
</feed>
