We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distlib.wheel.Wheel.install() currently allows specifying bytecode_hashed_invalidation but it's only a True/False option, passed to byte_compile to access py_compile.PycInvalidationMode.CHECKED_HASH mode.
distlib.wheel.Wheel.install()
bytecode_hashed_invalidation
byte_compile
py_compile.PycInvalidationMode.CHECKED_HASH
I want to use UNCHECKED_HASH mode, because my .py/.pyc code live on a read-only filesystem and they've already been validated once at build-time.
UNCHECKED_HASH
Can the public API expose a way to specify UNCHECKED_HASH mode for the .pyc creation, to avoid wasteful/redundant hash checking at runtime?
The text was updated successfully, but these errors were encountered:
Would you like to propose a way to do this?
Sorry, something went wrong.
Added a proposal in #213
573f741
No branches or pull requests
distlib.wheel.Wheel.install()
currently allows specifyingbytecode_hashed_invalidation
but it's only a True/False option, passed tobyte_compile
to accesspy_compile.PycInvalidationMode.CHECKED_HASH
mode.I want to use
UNCHECKED_HASH
mode, because my .py/.pyc code live on a read-only filesystem and they've already been validated once at build-time.Can the public API expose a way to specify
UNCHECKED_HASH
mode for the .pyc creation, to avoid wasteful/redundant hash checking at runtime?The text was updated successfully, but these errors were encountered: