bpo-34726: Fix handling of hash-based pycs in zipimport by elprans · Pull Request #10327 · python/cpython (original) (raw)

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.

https://bugs.python.org/issue34022

https://bugs.python.org/issue34726