<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_importlib, branch v3.7.2</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/test/test_importlib?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_importlib?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-11-28T17:45:36Z</updated>
<entry>
<title>bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)</title>
<updated>2018-11-28T17:45:36Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-28T17:45:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=24b51b1a4919e310d338629cc60371387f475a32'/>
<id>urn:sha1:24b51b1a4919e310d338629cc60371387f475a32</id>
<content type='text'>
Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in
3.7.0 in bpo-29708.  The change is bad, as it unconditionally overrides
*invalidation_mode*, even if it was passed as an explicit argument to
``py_compile.compile()`` or ``compileall``.  An environment variable
should *never* override an explicit argument to a library function.
That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH``
environment variable is set.

This changes ``py_compile.compile()`` to only look at
``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified.
I also made various relevant tests run with explicit control over the
value of ``SOURCE_DATE_EPOCH``.

While looking at this, I noticed that ``zipimport`` does not work
with hash-based .pycs _at all_, though I left the fixes for
subsequent commits.
(cherry picked from commit a6b3ec5b6d4f6387820fccc570eea08b9615620d)

Co-authored-by: Elvis Pranskevichus &lt;elvis@magic.io&gt;</content>
</entry>
<entry>
<title>Sync the importlib magic number in test_importlib for 3.7.0</title>
<updated>2018-06-27T03:00:18Z</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2018-06-27T03:00:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d4dd7db8459d9177f4b7ffc1ac832c9f5fb78b12'/>
<id>urn:sha1:d4dd7db8459d9177f4b7ffc1ac832c9f5fb78b12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-29514: Make magic number test work for candidates</title>
<updated>2018-06-27T02:53:14Z</updated>
<author>
<name>Ned Deily</name>
<email>nad@python.org</email>
</author>
<published>2018-06-27T02:24:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8511b448a55929f15aa5730c9e30cbb654978ea4'/>
<id>urn:sha1:8511b448a55929f15aa5730c9e30cbb654978ea4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-33755: Fix importlib.resources isolation tests (GH-7412) (#7434)</title>
<updated>2018-06-05T19:11:40Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-06-05T19:11:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e135032ffa08ad66caea8205488e037da85d2bf8'/>
<id>urn:sha1:e135032ffa08ad66caea8205488e037da85d2bf8</id>
<content type='text'>
(cherry picked from commit ac1ee1badade69d5cd6d8b9112281f121183e7c0)

Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;</content>
</entry>
<entry>
<title>bpo-32374: Ignore Python-level exceptions in test_bad_traverse (GH-7145) (GH-7150)</title>
<updated>2018-05-28T12:52:03Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-28T12:52:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=983c1ba94aef945386001932c5744f8ce9757fec'/>
<id>urn:sha1:983c1ba94aef945386001932c5744f8ce9757fec</id>
<content type='text'>
(cherry picked from commit 08c5aca9d13b24b35faf89ebd26fc348ae1731b2)

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-33629: Prevent coredump in test_importlib (GH-7090)</title>
<updated>2018-05-24T20:44:56Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-05-24T20:44:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d9eb22c67c38b45764dd924801c72092770d200f'/>
<id>urn:sha1:d9eb22c67c38b45764dd924801c72092770d200f</id>
<content type='text'>
bpo-32374, bpo-33629: Use support.SuppressCrashReport() in
test_bad_traverse() of MultiPhaseExtensionModuleTests to prevent
leaking a core dump file.
(cherry picked from commit 483000e164ec68717d335767b223ae31b4b720cf)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467)</title>
<updated>2018-04-30T19:30:26Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-04-30T19:30:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e5fa38c5aaf7630c55ce6dfb8f79df6b3b86076'/>
<id>urn:sha1:2e5fa38c5aaf7630c55ce6dfb8f79df6b3b86076</id>
<content type='text'>
(cherry picked from commit 3ab9365dca8438f89b2060cd3eebe00606133dc4)

Co-authored-by: Brett Cannon &lt;brettcannon@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.7] bpo-33169: Remove values of `None` from sys.path_importer_cache when invalidating caches (GH-6402) (GH-6403)</title>
<updated>2018-04-07T00:02:18Z</updated>
<author>
<name>Brett Cannon</name>
<email>brettcannon@users.noreply.github.com</email>
</author>
<published>2018-04-07T00:02:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a09bb87c1eebb07b01b8105cf536704893aec565'/>
<id>urn:sha1:a09bb87c1eebb07b01b8105cf536704893aec565</id>
<content type='text'>
An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
(cherry picked from commit 9e2be60634914f23db2ae5624e4acc9335bf5fea)</content>
</entry>
<entry>
<title>bpo-33151: Handle submodule resources (GH-6268) (GH-6270)</title>
<updated>2018-03-27T17:25:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-27T17:25:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd1b8f87b3e63495cadd37c8f1b90191b46ee52a'/>
<id>urn:sha1:fd1b8f87b3e63495cadd37c8f1b90191b46ee52a</id>
<content type='text'>
(cherry picked from commit 30e507dff465a31901d87df791a2bac40dc88530)

Co-authored-by: Barry Warsaw &lt;barry@python.org&gt;</content>
</entry>
<entry>
<title>bpo-32374:  m_traverse may be called with m_state=NULL (GH-5140)</title>
<updated>2018-03-17T06:03:56Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-03-17T06:03:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=136905fffd5f77395f80e3409630c11756b5469c'/>
<id>urn:sha1:136905fffd5f77395f80e3409630c11756b5469c</id>
<content type='text'>
Multi-phase initialized modules allow m_traverse to be called while the
module is still being initialized, so module authors may need to account
for that.
(cherry picked from commit c2b0b12d1a137ada1023ab7c10b8d9a0249d95f9)

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;</content>
</entry>
</feed>
