mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
#775964: skip YP/NIS entries instead of failing the test
Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia.
This commit is contained in:
parent
a80f4fb048
commit
ec07331eea
5 changed files with 20 additions and 4 deletions
|
@ -30,7 +30,9 @@ correspond to the members of the ``group`` structure (Attribute field below, see
|
|||
The gid is an integer, name and password are strings, and the member list is a
|
||||
list of strings. (Note that most users are not explicitly listed as members of
|
||||
the group they are in according to the password database. Check both databases
|
||||
to get complete membership information.)
|
||||
to get complete membership information. Also note that a ``gr_name`` that
|
||||
starts with a ``+`` or ``-`` is likely to be a YP/NIS reference and may not be
|
||||
accessible via :func:`getgrnam` or :func:`getgrgid`.)
|
||||
|
||||
It defines the following items:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue