Ezio Melotti added the comment:

We looked at this at the PyLadies Sprint in Helsinki.
When the group has an id but not a name (see "gid=203135016" in the "id" output 
-- the name is missing), its entry is missing from the list returned by 
grp.getgrall().

If this behaviour is expected and desired, then the test should be fixed to 
handle cases where the name is missing and the KeyError is raised.
Otherwise, the entry could still be included with "None" as name.

----------
nosy: +serhiy.storchaka
stage:  -> needs patch
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26067>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to