Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

I don't see how this difference is relevant for exposing the functionality in 
python:

Linux:

int getgrouplist(const char *user, gid_t group,
                        gid_t *groups, int *ngroups);

MacOS:

int
     getgrouplist(const char *name, int basegid, int *groups, int *ngroups);

The only difference is that Linux uses gid_t and MacOS uses int.  The requested 
posix.getgrouplist() will take a python string and a python integer and return 
a list of integers.

----------

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

Reply via email to