8000 webconfig.py: minor polish of `is_chromeos_garcon` by ilyagr · Pull Request #8596 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

webconfig.py: minor polish of is_chromeos_garcon #8596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

ilyagr
Copy link
Contributor
@ilyagr ilyagr commented Dec 30, 2021

The name attribute I used in commit f725cd4
is undocumented, and someone discovered that it does not exist for one
possible browser on MacOS. This should make the code work correctly even in that case.

This probably doesn't currently cause a problem, at least when
isMacOS10_12_5_OrLater() is true, because of the ordering of the if
statements in the runThing function.

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages. (there are none)
  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.rst (there are none)

8000
The `name` attribute I used in commit f725cd4
is undocumented, and [someone discovered] that it does not exist for one 
possible browser on MacOS. This should make the code work correctly even in that case. 

This probably doesn't currently cause a problem, at least when 
`isMacOS10_12_5_OrLater()` is true, because of the ordering of the if 
statements in the `runThing` function.

[someone discovered]: https://bugs.python.org/issue43424#msg409087
@ilyagr
Copy link
Contributor Author
ilyagr commented Dec 30, 2021

I forgot to mention in the commit message: the name attribute should be documented and exist everywhere in future versions of Python thanks to the same helpful person, see python/cpython#30241.

@faho faho added this to the fish 3.4.0 milestone Dec 30, 2021
@faho faho merged commit 084967e into fish-shell:master Dec 30, 2021
@faho
Copy link
Member
faho commented Dec 30, 2021

Merged, thanks!

(no need for a changelog entry)

@ilyagr
Copy link
Contributor Author
ilyagr commented Dec 30, 2021 via email

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0