pallets__flask-4992
Add a file mode parameter to flask.Config.from_file()
Verdict: the issue points to the file or function that was changed (Tier B).
I think a `text=True` parameter would be better, easier to use `True` or `False` rather than mode strings.
The two checks disagreed (stated fix vs. points to it); the lower reading shown: “But adding a file mode parameter to `flask.Config.from_file()` would enable the use of a simpler expression. E.g.: ```python app.config.from_file("co…”
All SWE-bench Lite tasks · more pallets/flask tasks · How the check works