[all-commits] [llvm/llvm-project] 553634: [lit] Handle config loading safely (#200168)
Prasoon via All-commits
all-commits at lists.llvm.org
Thu May 28 07:17:40 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5536348d060066e875c9bf9e056447ece59c783d
https://github.com/llvm/llvm-project/commit/5536348d060066e875c9bf9e056447ece59c783d
Author: Prasoon <prasoonkumar054 at gmail.com>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M llvm/utils/lit/lit/TestingConfig.py
Log Message:
-----------
[lit] Handle config loading safely (#200168)
Currently, the config file is opened outside the `try` block without
explicit encoding and handled with a bare `except`.
We can move to putting a `with open()` context manager inside the `try`
block and catching OSError.
Signed-off-by: Prasoon Kumar <prasoonkumar054 at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list