[issue9344] please add posix.getgrouplist()

2011-06-16 Thread R. David Murray
R. David Murray added the comment: Actually, when it is a feature request rather than a bug fix we usually use 'accepted'. It doesn't matter a whole lot, though. -- nosy: +r.david.murray ___ Python tracker __

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Ross Lagerwall
Ross Lagerwall added the comment: > Nit: when a patch gets committed and the issue closed, the preferred > resolution is "fixed" ;) > (see http://docs.python.org/devguide/triaging.html#resolution) Sure, I will try remember that. -- ___ Python tracke

[issue9344] please add posix.getgrouplist()

2011-06-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Nit: when a patch gets committed and the issue closed, the preferred resolution is "fixed" ;) (see http://docs.python.org/devguide/triaging.html#resolution) -- resolution: accepted -> fixed ___ Python tracker

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks! -- resolution: -> accepted stage: commit review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9ebee3211be9 by Ross Lagerwall in branch 'default': Issue #9344: Add os.getgrouplist(). http://hg.python.org/cpython/rev/9ebee3211be9 -- nosy: +python-dev ___ Python tracker

[issue9344] please add posix.getgrouplist()

2011-06-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: I haven't tested yet, but feel free to commit and I'll fix any OSX issues later. -- ___ Python tracker ___

[issue9344] please add posix.getgrouplist()

2011-03-24 Thread Ross Lagerwall
Ross Lagerwall added the comment: Ronald, does it have the same problem as #7900 on OS X or can I commit? -- ___ Python tracker ___ __

[issue9344] please add posix.getgrouplist()

2011-03-24 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Looks good to me as well. Just a nit-pick: in python code base "sizeof" is not separated from the opening parenthesis. I understand the desire to distinguish "sizeof" from a function, but it is probably better to be consistent. -- assignee: be

[issue9344] please add posix.getgrouplist()

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Patch looks good, but this likely runs into the same problem as #7900: the user can be a member of more than NGROUPS_MAX on OSX. I'll test this tomorrow (by creating a temporary user that is a member of more than 16 groups). --

[issue9344] please add posix.getgrouplist()

2011-01-17 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9344] please add posix.getgrouplist()

2011-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: I can't say anything about the functionality, but the patch looks good to me (works under Linux and Solaris - the latter missing getgrouplist()). -- nosy: +pitrou stage: needs patch -> commit review ___ Python track

[issue9344] please add posix.getgrouplist()

2011-01-03 Thread Ross Lagerwall
Ross Lagerwall added the comment: A slightly updated patch. Targeting for 3.3. -- versions: +Python 3.3 -Python 3.2 Added file: http://bugs.python.org/file20253/9344_v2.patch ___ Python tracker

[issue9344] please add posix.getgrouplist()

2010-12-12 Thread Ross Lagerwall
Ross Lagerwall added the comment: Attached is a patch (against the latest revision, 87178) which adds the functionality to the posix module as well as adds a testcase for it. I haven't added it to the os module, I'm not sure if that should be done. I tested it on Linux & FreeBSD and it works

[issue9344] please add posix.getgrouplist()

2010-10-18 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: @Alexander, it was just a note, that implementation in posixmodule.c won't be the same across all flavours of Unix :) -- ___ Python tracker _

[issue9344] please add posix.getgrouplist()

2010-10-18 Thread Alexander Belopolsky
Alexander Belopolsky 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 baseg

[issue9344] please add posix.getgrouplist()

2010-10-15 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Did a bit of digging and found that getgrouplist signature differs on (at least) Linux and Mac OS: - http://www.kernel.org/doc/man-pages/online/pages/man3/getgrouplist.3.html -http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/

[issue9344] please add posix.getgrouplist()

2010-07-23 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky components: +Extension Modules stage: -> needs patch type: -> feature request ___ Python tracker ___ __

[issue9344] please add posix.getgrouplist()

2010-07-23 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9344] please add posix.getgrouplist()

2010-07-23 Thread Ronald Oussoren
New submission from Ronald Oussoren : A number of unix systems expose a getgroupslist function to fetch the groups that a user is a member of. It would be nice if that function were exposed to python. See issue7900 for more information on why that would be useful. -- keywords: easy me