<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_zipimport.py, branch 3.8</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_zipimport.py?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_zipimport.py?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-01-14T11:39:19Z</updated>
<entry>
<title>[3.8] bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) (GH-17642)</title>
<updated>2020-01-14T11:39:19Z</updated>
<author>
<name>Karthikeyan Singaravelan</name>
<email>tir.karthi@gmail.com</email>
</author>
<published>2020-01-14T11:39:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9955f33cdbf27de270038dfbad37d15b160ecca2'/>
<id>urn:sha1:9955f33cdbf27de270038dfbad37d15b160ecca2</id>
<content type='text'>
Fix `NameError` in `zipimport` during hash validation and add a regression test.

(cherry picked from commit 79f02fee1a542c440fd906fd54154c73fc0f8235)



https://bugs.python.org/issue39033</content>
</entry>
<entry>
<title>bpo-22831: Use "with" to avoid possible fd leaks in tests (part 2). (GH-10929)</title>
<updated>2019-03-05T08:06:26Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-03-05T08:06:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b10b9824780b2181158902067912ee9e7b04657'/>
<id>urn:sha1:5b10b9824780b2181158902067912ee9e7b04657</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-5950: Support reading zips with comments in zipimport (#9548)</title>
<updated>2018-09-25T19:15:47Z</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2018-09-25T19:15:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5a5ce064b3baadcb79605c5a42ee3d0aee57cdfc'/>
<id>urn:sha1:5a5ce064b3baadcb79605c5a42ee3d0aee57cdfc</id>
<content type='text'>
* bpo-5950: Support reading zips with comments in zipimport</content>
</entry>
<entry>
<title>bpo-25711: Remove outdated zipimport tests. (GH-9404)</title>
<updated>2018-09-19T14:43:33Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-19T14:43:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b2984ab9a7c458f8b7ed8978c0c95b109116895d'/>
<id>urn:sha1:b2984ab9a7c458f8b7ed8978c0c95b109116895d</id>
<content type='text'>
They were specific to the C implementation.</content>
</entry>
<entry>
<title>bpo-25711: Rewrite zipimport in pure Python. (GH-6809)</title>
<updated>2018-09-18T19:22:29Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-18T19:22:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b'/>
<id>urn:sha1:79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b</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-31781: Prevent crashes when calling methods of an uninitialized zipimport.zipimporter object (GH-3986)</title>
<updated>2017-10-20T20:42:35Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-10-20T20:42:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db60a5bfa5d5f7a6f1538cc1fe76f0fda57b524e'/>
<id>urn:sha1:db60a5bfa5d5f7a6f1538cc1fe76f0fda57b524e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-31602: Fix an assertion failure in zipimporter.get_source() in case of a bad zlib.decompress() (GH-3784)</title>
<updated>2017-09-29T18:34:31Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-09-29T18:34:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=01c6a8859ef2ff5545a87cf537573bd342c848bf'/>
<id>urn:sha1:01c6a8859ef2ff5545a87cf537573bd342c848bf</id>
<content type='text'>
While a rare potential failure (it requires swapping out zlib.decompress() itself and forcing it to return a non-bytes object), this change prevents a potential C-level assertion failure and instead substitutes it with an exception.

Thanks to Oren Milman for the patch.</content>
</entry>
<entry>
<title>bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (#3226)</title>
<updated>2017-08-29T17:40:15Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-08-29T17:40:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=631fdee6e61b4ba8ce800f827fecdd536bfb04f3'/>
<id>urn:sha1:631fdee6e61b4ba8ce800f827fecdd536bfb04f3</id>
<content type='text'>
if pathname.replace('/', '\\') returns non-string.</content>
</entry>
<entry>
<title>Issue #28131: Merge from 3.5</title>
<updated>2016-09-14T05:10:45Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-09-14T05:10:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ee9edbf4514d8f20ca4bc9cddb5065a4fc24716'/>
<id>urn:sha1:8ee9edbf4514d8f20ca4bc9cddb5065a4fc24716</id>
<content type='text'>
</content>
</entry>
</feed>
