FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-116738: Make pwd module thread-safe by yoney · Pull Request #136695 · python/cpython · GitHub

Repository navigation

gh-116738: Make pwd module thread-safe - #136695

Merged
mpage merged 1 commit into
python:mainfrom
yoney:ft_pwdmodule
Jul 17, 2025
Merged

mpage merged 1 commit into
python:mainfrom
yoney:ft_pwdmodule

Conversation

yoney commented Jul 15, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Make the pwd module functions getpwuid(), getpwnam(), and getpwall() thread-safe. These changes apply to scenarios where the GIL is disabled or in subinterpreter use cases.

cc: @mpage @colesbury @Yhg1s

yoney commented Jul 15, 2025

Copy link
Copy Markdown
Contributor Author

Note: I am not sure if there is a CI setup where getpwuid_r()/getpwnam_r() are not available. I tested those manually on my local machine.

yoney marked this pull request as ready for review July 15, 2025 22:59
yoney requested a review from ericsnowcurrently as a code owner July 15, 2025 22:59
mpage requested review from Yhg1s, colesbury and mpage July 16, 2025 17:06

mpage left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks great! I'll wait to merge for a day or two to give other folks a chance to look.

mpage merged commit eddc8c0 into python:main Jul 17, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Make the pwd module functions getpwuid(), getpwnam(), and getpwall() thread-safe. These changes apply to scenarios where the GIL is disabled or in subinterpreter use cases.
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Make the pwd module functions getpwuid(), getpwnam(), and getpwall() thread-safe. These changes apply to scenarios where the GIL is disabled or in subinterpreter use cases.
yoney deleted the ft_pwdmodule branch October 19, 2025 03:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL