diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2018-11-07 18:34:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-11-07 18:34:59 (GMT) |
commit | a6e956bcb0edbfe7f18af9be2215a5326ea6bf05 (patch) | |
tree | 8b3dc9558493973f8e069a76170e4ff8dc6665d4 /Misc | |
parent | bfe1839aa994f0d84471254418a4ecfa7c7c9b9c (diff) | |
download | cpython-a6e956bcb0edbfe7f18af9be2215a5326ea6bf05.zip cpython-a6e956bcb0edbfe7f18af9be2215a5326ea6bf05.tar.gz cpython-a6e956bcb0edbfe7f18af9be2215a5326ea6bf05.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-11-04-18-13-40.bpo-34022.U3btVj.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-11-04-18-13-40.bpo-34022.U3btVj.rst b/Misc/NEWS.d/next/Core and Builtins/2018-11-04-18-13-40.bpo-34022.U3btVj.rst new file mode 100644 index 0000000..64b362d --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-11-04-18-13-40.bpo-34022.U3btVj.rst @@ -0,0 +1,2 @@ +Fix handling of hash-based bytecode files in :mod:`zipimport`. +Patch by Elvis Pranskevichus. |