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
Raw File
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
struct.py
__all__ = [
    # Functions
    'calcsize', 'pack', 'pack_into', 'unpack', 'unpack_from',
    'iter_unpack',

    # Classes
    'Struct',

    # Exceptions
    'error'
    ]

from _struct import *
from _struct import _clearcache
from _struct import __doc__
back to top