As done in #856 for the module-level "mode" option, we should replace direct reads of warp.config.* in Module.__init__()’s self.options with None placeholders.
When an option is used, resolve it dynamically: if the local value is None, fall back to the current global warp.config.* value. This decouples module construction from global state, improves reproducibility and testability, and allows late changes to warp.config to take effect without going through clumsy wp.set_module_options() calls.
This will result in a change in behavior for users that were relying on the current "snapshot" behavior.
As done in #856 for the module-level
"mode"option, we should replace direct reads ofwarp.config.*inModule.__init__()’sself.optionswithNoneplaceholders.When an option is used, resolve it dynamically: if the local value is
None, fall back to the current globalwarp.config.*value. This decouples module construction from global state, improves reproducibility and testability, and allows late changes towarp.configto take effect without going through clumsywp.set_module_options()calls.This will result in a change in behavior for users that were relying on the current "snapshot" behavior.