Author exarkun
Recipients exarkun
Date 2009-11-16.14:57:30
SpamBayes Score 6.364e-10
Marked as misclassified No
Message-id <1258383460.23.0.536261315778.issue7333@psf.upfronthosting.co.za>
In-reply-to
Content
initgroups(2) is a function for initializing the aux group id list from
site-specific configuration (typically /etc/groups, but not necessarily).

Attached is a patch based on some code from Zope, expanded to have a
test and some docs.  Presumably Zope will be happy to use this function
from the stdlib once they can depend on a version of Python which
includes it.  Twisted would like to as well.

I wasn't able to test the autoconf related parts of the patch as I don't
have easy access to autoconf 2.61.

I also can't run regrtest.py in my environment for some reason.  It
fails to import some names from test_support.  So I didn't run the unit
test that I added, either.
History
Date User Action Args
2009-11-16 14:57:40exarkunsetrecipients: + exarkun
2009-11-16 14:57:40exarkunsetmessageid: <1258383460.23.0.536261315778.issue7333@psf.upfronthosting.co.za>
2009-11-16 14:57:37exarkunlinkissue7333 messages
2009-11-16 14:57:35exarkuncreate