summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-14 16:24:18 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-14 16:24:18 (GMT)
commitd8fec5ff08b3699cd0054d26ebe633e1665cb1b4 (patch)
treee7cf2e465a9151e02357fe9874472d7252264fb6 /Doc
parent773d7dffb1fa20fa1a434e326d66515d3bfd43fb (diff)
downloadcpython-d8fec5ff08b3699cd0054d26ebe633e1665cb1b4.zip
cpython-d8fec5ff08b3699cd0054d26ebe633e1665cb1b4.tar.gz
cpython-d8fec5ff08b3699cd0054d26ebe633e1665cb1b4.tar.bz2
Merged revisions 87238 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines #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')
-rw-r--r--Doc/library/grp.rst4
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: