forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-48511: Make pwd and grp recognizing that NULL also can mean …
…an error
- Loading branch information
1 parent
cfafd3a
commit 46c34b6
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
Misc/NEWS.d/next/Library/2022-07-12-10-40-39.gh-issue-123456.R3nUGr.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
:func:`pwd.getpwuid` and :func:`pwd.getpwall` now differentiate between a | ||
lack of record (:data:`None` is returned) and a database access error | ||
(:exc:`OSException` is risen) to be consistent with :func:`pwd.getpwnam`. | ||
Path by Oleg Iarygin. |
This file contains 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