[all-commits] [llvm/llvm-project] b42d51: [lldb/test] Replace shlex.join with shlex.quote
Pavel Labath via All-commits
all-commits at lists.llvm.org
Fri Oct 29 04:42:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b42d51ba9ad1f85e6b6f3508e6c2c4ab5ee22ac1
https://github.com/llvm/llvm-project/commit/b42d51ba9ad1f85e6b6f3508e6c2c4ab5ee22ac1
Author: Pavel Labath <pavel at labath.sk>
Date: 2021-10-29 (Fri, 29 Oct 2021)
Changed paths:
M lldb/packages/Python/lldbsuite/support/seven.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test_event/build_exception.py
Log Message:
-----------
[lldb/test] Replace shlex.join with shlex.quote
join is only available since python-3.8, but the all the interesting
magic happens in shlex.quote, which has been around since 3.3.
Use shlex.quote, and instead provide a home-grown helper function to
handle the joining.
Differential Revision: https://reviews.llvm.org/D112802
More information about the All-commits
mailing list