py: Pass all scope flags through to runtime.