<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/importlib/util.py, branch 3.7</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.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/importlib/util.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-06-07T06:21:43Z</updated>
<entry>
<title>bpo-30436: Add missing space in importlib.util.find_spec() error message (GH-7385)</title>
<updated>2018-06-07T06:21:43Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-07T06:21:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2a2af0df4562f4adb0337a80b27d69167a60c32'/>
<id>urn:sha1:d2a2af0df4562f4adb0337a80b27d69167a60c32</id>
<content type='text'>
(cherry picked from commit fffeb6f3d66f1c844a9327ffe6e2ad8eae8aeb14)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</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>
<entry>
<title>Merge for issue #26186</title>
<updated>2016-02-21T02:37:04Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-02-21T02:37:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5f4d3c2460bdedfcff196cb7399e407db69aa73'/>
<id>urn:sha1:e5f4d3c2460bdedfcff196cb7399e407db69aa73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26186: Remove an invalid type check in</title>
<updated>2016-02-21T02:35:41Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-02-21T02:35:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=558823a0cf7834cb8bc45123604008e33b4e69e2'/>
<id>urn:sha1:558823a0cf7834cb8bc45123604008e33b4e69e2</id>
<content type='text'>
importlib.util.LazyLoader.

The class was checking its argument as to whether its implementation
of create_module() came directly from importlib.abc.Loader. The
problem is that the classes coming from imoprtlib.machinery do not
directly inherit from the ABC as they come from _frozen_importlib.
Because the documentation has always said that create_module() was
ignored, the check has simply been removed.
</content>
</entry>
<entry>
<title>Issue #25771: Tweak ValueError message when package isn't specified</title>
<updated>2015-12-04T23:19:42Z</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2015-12-04T23:19:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65ca88e4e0b3d26e625d1aecd7c0fe0beb5e3b1d'/>
<id>urn:sha1:65ca88e4e0b3d26e625d1aecd7c0fe0beb5e3b1d</id>
<content type='text'>
for importlib.util.resolve_name() but is needed.

Thanks to Martin Panter for the bug report.
</content>
</entry>
<entry>
<title>Issue #23911: Move path-based bootstrap code to a separate frozen module.</title>
<updated>2015-05-03T01:15:18Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2015-05-03T01:15:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32439d6eb63f1ea31aed1e45459f0f50f965ef51'/>
<id>urn:sha1:32439d6eb63f1ea31aed1e45459f0f50f965ef51</id>
<content type='text'>
</content>
</entry>
</feed>
