New submission from Barry A. Warsaw <ba...@python.org>:

It looks like macOS 10.14 Mojave has changed the return value for getgroups().  
On 10.13 it returns the set of GIDs give by `id -G` but afaict on 10.14 it 
returns only the primary GID.

$ python3 -c "import os; print(os.getgroups())"
[101]
$ id -G 
101 503 701 501 12 62 80 502 33 98 100 204 250 395 398

This breaks test_posix.py.

----------
components: Library (Lib), macOS
messages: 328474
nosy: barry, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: test_posix
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8

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

Reply via email to