Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.8] bpo-40014: Fix os.getgrouplist() (GH-19126)#19143

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMar 24, 2020
edited by bedevere-bot
Loading

Fix os.getgrouplist(): if getgrouplist() function fails because the
group list is too small, retry with a larger group list.

On failure, the glibc implementation of getgrouplist() sets ngroups
to the total number of groups. For other implementations, double the
group list size.
(cherry picked from commitf5c7cab)

Co-authored-by: Victor Stinnervstinner@python.org

https://bugs.python.org/issue40014

Fix os.getgrouplist(): if getgrouplist() function fails because thegroup list is too small, retry with a larger group list.On failure, the glibc implementation of getgrouplist() sets ngroupsto the total number of groups. For other implementations, double thegroup list size.(cherry picked from commitf5c7cab)Co-authored-by: Victor Stinner <vstinner@python.org>
Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM, good bot.

@miss-islington
Copy link
ContributorAuthor

@vstinner: Status check is done, and it's a success ✅ .

@miss-islingtonmiss-islington merged commitaf6fd1f intopython:3.8Mar 24, 2020
@miss-islingtonmiss-islington deleted the backport-f5c7cab-3.8 branchMarch 24, 2020 17:40
@miss-islington
Copy link
ContributorAuthor

@vstinner: Status check is done, and it's a success ✅ .

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@miss-islington@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp