bpo-34726: Fix handling of hash-based pycs in zipimport. (GH-10327)

Current support for hash-based bytecode files in `zipimport` is rather
sparse, which leads to test failures when the test suite is ran with
the ``SOURCE_DATE_EPOCH`` environment variable set.

This teaches zipimport to handle hash-based pycs properly.
This commit is contained in:
Elvis Pranskevichus 2018-11-07 13:34:59 -05:00 committed by Serhiy Storchaka
parent bfe1839aa9
commit a6e956bcb0
4 changed files with 1147 additions and 1049 deletions

File diff suppressed because it is too large Load diff