diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-12-14 16:20:53 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-14 16:20:53 (GMT) |
commit | ec07331eea496469165dc3be45fadbeab641e083 (patch) | |
tree | 3961e67fea53d641e0aa587db146fb4ab40b623e /Doc/library/grp.rst | |
parent | a80f4fb0481237e4ca4a9d9a57c52e0181b638f9 (diff) | |
download | cpython-ec07331eea496469165dc3be45fadbeab641e083.zip cpython-ec07331eea496469165dc3be45fadbeab641e083.tar.gz cpython-ec07331eea496469165dc3be45fadbeab641e083.tar.bz2 |
#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.
Diffstat (limited to 'Doc/library/grp.rst')
-rw-r--r-- | Doc/library/grp.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/grp.rst b/Doc/library/grp.rst index 57f160a..8882140 100644 --- a/Doc/library/grp.rst +++ b/Doc/library/grp.rst @@ -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: |