Skip to content
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

gh-101754: document that on Windows, keys in os.environ are converted to uppercase #101840

Merged
merged 2 commits into from
Mar 3, 2023

Conversation

@zooba
Copy link
Member

zooba commented Mar 2, 2023

Looks fine. I think we can move it up to just below the "On Unix" paragraph that talks about encodings. The uppercasing is handled in roughly the same way that the encoding is, so may as well be presented at the same level.

@OTheDev
Copy link
Contributor Author

OTheDev commented Mar 3, 2023

Thanks @zooba, I've moved it to a new paragraph just below the "On Unix" one. Here's how it looks now

sc

Please let me know if there is anything else :)

@zooba zooba merged commit 4e7c0cb into python:main Mar 3, 2023
@zooba
Copy link
Member

zooba commented Mar 3, 2023

That's great, thanks!

@zooba zooba added OS-windows needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Mar 3, 2023
@miss-islington
Copy link
Contributor

Thanks @OTheDev for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @OTheDev for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-102393 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Mar 3, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 3, 2023
…to uppercase (pythonGH-101840)

(cherry picked from commit 4e7c0cb)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
@bedevere-bot
Copy link

GH-102394 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Mar 3, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 3, 2023
…to uppercase (pythonGH-101840)

(cherry picked from commit 4e7c0cb)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Mar 3, 2023
…ercase (GH-101840)

(cherry picked from commit 4e7c0cb)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Mar 3, 2023
…ercase (GH-101840)

(cherry picked from commit 4e7c0cb)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
carljm added a commit to carljm/cpython that referenced this pull request 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
Labels
docs Documentation in the Doc dir OS-windows skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document that os.environ forcibly upper-cases keys on case-insensitive OSs
4 participants