[Python-ideas] expose {set,get}res{uid,gid} in posixmodule.c

Antoine Pitrou solipsis at pitrou.net
Thu Aug 27 06:13:02 CEST 2009

<travis+ml-python-ideas at ...> writes:
> So there has been a little discussion on the python mailing list regarding
> a request I had to expose {set,get}res{uid,gid}.
> The general consensus there is that even though it isn't a POSIX standard,
> it is shared among many Unix OSes and belongs in the same module as setuid
> and friends, namely os, which maps to posixmodule.c

It seems reasonable indeed.

> Previous discusion and background as to why this is desirable:
> http://bugs.python.org/issue6508
> If this is the Right Way to do it, I'll brush up on autotools and see
> about submitting a patch...

Please do!
Also, once a patch has been submitted, further discussion and review should take
place on the aforementioned tracker issue.



More information about the Python-ideas mailing list