mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +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
|
|
@ -159,7 +159,9 @@ Return the group database entry for the given group name. If\n\
|
|||
name is not valid, raise KeyError."},
|
||||
{"getgrall", grp_getgrall, METH_NOARGS,
|
||||
"getgrall() -> list of tuples\n\
|
||||
Return a list of all available group entries, in arbitrary order."},
|
||||
Return a list of all available group entries, in arbitrary order.\n\
|
||||
An entry whose name starts with '+' or '-' represents an instruction\n\
|
||||
to use YP/NIS and may not be accessible via getgrnam or getgrgid."},
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue