This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author solinym
Recipients exarkun, loewis, solinym
Date 2009-08-22.02:57:41
SpamBayes Score 8.986668e-09
Marked as misclassified No
Message-id <20090822025740.GA11951@subspacefield.org>
In-reply-to <4A8F06C0.2070502@v.loewis.de>
Content
On Fri, Aug 21, 2009 at 08:42:43PM +0000, Martin v. L??wis wrote:
> 
> Martin v. L??wis <martin@v.loewis.de> added the comment:
> 
> > It would still be nice to have the currently unimplemented platform
> > wrappers added to the standard library, though.  For example, as solinym
> > pointed out, getresuid and getresgid are not currently wrapped at all. 
> > There may be other low-level APIs which may be missing as well.
> 
> Ah, ok. A patch for to add these specifically would be easy to add;
> contributions are welcome.

I kind of have two bugs going for the same thing; one is 6758 the other is 6508.

I've posted code that implements the calls using ctypes to
{get,set}res{uid,gid} in issue6758.  It's not quite done.

With regard to putting these calls into the standard library, I'm not
sure where they should go.  If I put them in os, which maps to
posixmodule.c, then I'll be adding non-POSIX calls to something
seemingly only for POSIX calls.

Also the code in there has a lot of conditional CPP logic and
interactions with the configure script.  So that could be a difficult
task to just jump into, since it has been a while since I dealt with
autoconf.

I really would like these routines exposed, but I don't know the best
way to do it and coudl use some guidance.
-- 
Obama Nation | My emails do not have attachments; it's a digital signature
that your mail program doesn't understand. | http://www.subspacefield.org/~travis/ 
If you are a spammer, please email john@subspacefield.org to get blacklisted.
History
Date User Action Args
2009-08-22 02:57:45solinymsetrecipients: + solinym, loewis, exarkun
2009-08-22 02:57:43solinymlinkissue6758 messages
2009-08-22 02:57:41solinymcreate