summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-19 22:41:28 (GMT)
committerGitHub <noreply@github.com>2022-10-19 22:41:28 (GMT)
commit0b71dad9b8dce1aa2ce04328e9906274f381ca76 (patch)
tree98a9a5afc0d4f83a35c71afc356622ab819dd10d /PC
parent3b7e0204bf9ccb44f4e3412b5752cb11b3f18a8f (diff)
downloadcpython-0b71dad9b8dce1aa2ce04328e9906274f381ca76.zip
cpython-0b71dad9b8dce1aa2ce04328e9906274f381ca76.tar.gz
cpython-0b71dad9b8dce1aa2ce04328e9906274f381ca76.tar.bz2
gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460)
(cherry picked from commit 4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'PC')
-rw-r--r--PC/launcher2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/launcher2.c b/PC/launcher2.c
index 23eaa19..1f6f97b 100644
--- a/PC/launcher2.c
+++ b/PC/launcher2.c
@@ -653,6 +653,7 @@ parseCommandLine(SearchInfo *search)
search->tag = argStart;
}
search->tagLength = (int)(tail - search->tag);
+ search->allowDefaults = false;
search->restOfCmdLine = tail;
} else if (MATCHES(L"0") || MATCHES(L"-list")) {
search->list = true;