https://github.com/python/cpython
Revision a6e956bcb0edbfe7f18af9be2215a5326ea6bf05 authored by Elvis Pranskevichus on 07 November 2018, 18:34:59 UTC, committed by Serhiy Storchaka on 07 November 2018, 18:34:59 UTC
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.
1 parent bfe1839
History
Tip revision: a6e956bcb0edbfe7f18af9be2215a5326ea6bf05 authored by Elvis Pranskevichus on 07 November 2018, 18:34:59 UTC
bpo-34726: Fix handling of hash-based pycs in zipimport. (GH-10327)
Tip revision: a6e956b
File Mode Size
test
__init__.py -rw-r--r-- 3.1 KB
__main__.py -rw-r--r-- 472 bytes
case.py -rw-r--r-- 55.6 KB
loader.py -rw-r--r-- 22.1 KB
main.py -rw-r--r-- 11.0 KB
mock.py -rw-r--r-- 79.7 KB
result.py -rw-r--r-- 7.3 KB
runner.py -rw-r--r-- 7.6 KB
signals.py -rw-r--r-- 2.3 KB
suite.py -rw-r--r-- 10.2 KB
util.py -rw-r--r-- 5.1 KB

back to top