-
Notifications
You must be signed in to change notification settings - Fork 85
exodus sets sys.dont_write_bytecode at import time #787
Copy link
Copy link
Open
Description
This library sets sys.dont_write_bytecode during initialization.
seacas/packages/seacas/scripts/exodus3.in.py
Line 104 in edacd51
| 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels