-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Document that os.environ
forcibly upper-cases keys on case-insensitive OSs
#101754
Labels
docs
Documentation in the Doc dir
Comments
This came up when using Python to read the environment then trying to merge the results with Node's environment variable APIs which do not normalize. |
Source code: Line 755 in f1f3af7
|
Note that it wouldn't be hard to make |
zooba
pushed a commit
that referenced
this issue
Mar 3, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Mar 3, 2023
…to uppercase (pythonGH-101840) (cherry picked from commit 4e7c0cb) Co-authored-by: Owain Davies <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Mar 3, 2023
…to uppercase (pythonGH-101840) (cherry picked from commit 4e7c0cb) Co-authored-by: Owain Davies <[email protected]>
miss-islington
added a commit
that referenced
this issue
Mar 3, 2023
…ercase (GH-101840) (cherry picked from commit 4e7c0cb) Co-authored-by: Owain Davies <[email protected]>
miss-islington
added a commit
that referenced
this issue
Mar 3, 2023
…ercase (GH-101840) (cherry picked from commit 4e7c0cb) Co-authored-by: Owain Davies <[email protected]>
carljm
added a commit
to carljm/cpython
that referenced
this issue
Mar 4, 2023
* main: pythongh-102021 : Allow multiple input files for interpreter loop generator (python#102022) Add import of `unittest.mock.Mock` in documentation (python#102346) pythongh-102383: [docs] Arguments of `PyObject_CopyData` are `PyObject *` (python#102390) pythongh-101754: Document that Windows converts keys in `os.environ` to uppercase (pythonGH-101840) pythongh-102324: Improve tests of `typing.override` (python#102325)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
os.environ
docs don't mention that the keys get upper-cased automatically on e.g. Windows.Linked PRs
os.environ
are converted to uppercase #101840os.environ
to uppercase (GH-101840) #102393os.environ
to uppercase (GH-101840) #102394The text was updated successfully, but these errors were encountered: