Skip to content

exodus sets sys.dont_write_bytecode at import time #787

@cfriedland5

Description

@cfriedland5

This library sets sys.dont_write_bytecode during initialization.

sys.dont_write_bytecode = True

This modifies a global Python interpreter setting that affects all subsequently imported modules, not just this package. Because this is a library, it should generally avoid modifying interpreter-wide configuration and instead leave control to the the top-level application or environment. In this case, the setting stops the interpreter from writing .pyc files and it is difficult to diagnose why since the modification is hidden inside a package import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions