diff options
author | Ćukasz Langa <lukasz@langa.pl> | 2024-02-16 20:24:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 20:24:56 (GMT) |
commit | 711f42de2e3749208cfa7effa0d45b04e4e1fdd4 (patch) | |
tree | 73f961663da94c3fc700b5d7664e0eb7da15cfad /Include/fileobject.h | |
parent | 74e6f4b32fceea8e8ffb0424d9bdc6589faf7ee4 (diff) | |
download | cpython-711f42de2e3749208cfa7effa0d45b04e4e1fdd4.zip cpython-711f42de2e3749208cfa7effa0d45b04e4e1fdd4.tar.gz cpython-711f42de2e3749208cfa7effa0d45b04e4e1fdd4.tar.bz2 |
gh-115556: Remove quotes from command-line arguments in test.bat and rt.bat (#115557)
This change essentially replaces usage of `%1` with `%~1`, which removes
quotes, if any. Without this change, the if statements fail due to
the quotes mangling the syntax.
Additionally, this change works around comma being treated as a parameter
delimiter in test.bat by escaping commas at time of parsing. Tested
combinations of rt and regrtest arguments, all seems to work as before
but now you can specify commas in arguments like "-uall,extralargefile".
Diffstat (limited to 'Include/fileobject.h')
0 files changed, 0 insertions, 0 deletions