Skip to content

gh-48511: Make pwd and grp expose inner errors#102223

Draft
simaoafonso-pwt wants to merge 2 commits intopython:mainfrom
simaoafonso-pwt:bpo-4261
Draft

gh-48511: Make pwd and grp expose inner errors#102223
simaoafonso-pwt wants to merge 2 commits intopython:mainfrom
simaoafonso-pwt:bpo-4261

Conversation

@simaoafonso-pwt
Copy link
Copy Markdown

@simaoafonso-pwt simaoafonso-pwt commented Feb 24, 2023

Distinguish between the case when the user/group does not exist and error conditions.
If the user does not exit, raise KeyError as now, for errors raise OSError.

Based on arhadthedev@46c34b6

@ghost
Copy link
Copy Markdown

ghost commented Feb 24, 2023

All commit authors signed the Contributor License Agreement.
CLA signed

@arhadthedev arhadthedev added the extension-modules C modules in the Modules dir label Feb 25, 2023
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Apr 12, 2026
Distinguish
between the case when the user/group does not exist and error
conditions.
If the user does not exit, raise KeyError as  now, for errors raise OSError.
@simaoafonso-pwt
Copy link
Copy Markdown
Author

Rebased to the latest main branch, there were some conflicts.

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

Labels

awaiting review extension-modules C modules in the Modules dir stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants