summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorOded Arbel <oded@geek.co.il>2024-08-31 06:11:57 (GMT)
committerGitHub <noreply@github.com>2024-08-31 06:11:57 (GMT)
commit10bf615bab9f832971a098f0a42b0d617aea6993 (patch)
tree22b7d1a60ff04720b364db255ac028bd91216c5e /Python/pystrtod.c
parent74bfb53e3afb6f5dd90dff3ef0e2dc3b2fba823e (diff)
downloadcpython-10bf615bab9f832971a098f0a42b0d617aea6993.zip
cpython-10bf615bab9f832971a098f0a42b0d617aea6993.tar.gz
cpython-10bf615bab9f832971a098f0a42b0d617aea6993.tar.bz2
gh-108172: do not override OS preferred browser if it is a super-string of a known browser (GH-113011)
When checking if the registering browser is the "OS preferred browser", do not use a substring search - that makes no sense: one can have a preferred browser that looks like a super-string of a known browser, e.g. "firefox-nightly" vs "firefox". https://github.com/python/cpython/issues/108172 explains in more detail, and lays out a potential better future enhancement for this case of just using xdg-open. We'll go with this for now. --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Python/pystrtod.c')
0 files changed, 0 insertions, 0 deletions