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.
Paths
| Differential D112802
[lldb/test] Replace shlex.join with shlex.quote ClosedPublic Authored by labath on Oct 29 2021, 4:37 AM.
Details
Summary join is only available since python-3.8, but the all the interesting Use shlex.quote, and instead provide a home-grown helper function to
Diff Detail
Event TimelineComment Actions Thanks!
This revision is now accepted and ready to land.Oct 29 2021, 4:40 AM Closed by commit rGb42d51ba9ad1: [lldb/test] Replace shlex.join with shlex.quote (authored by labath). · Explain WhyOct 29 2021, 4:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383302 lldb/packages/Python/lldbsuite/support/seven.py
lldb/packages/Python/lldbsuite/test/lldbtest.py
lldb/packages/Python/lldbsuite/test_event/build_exception.py
|