expose {set,get}res{uid,gid} in posixmodule.c
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 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... -- 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.
<travis+ml-python-ideas@...> 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. Regards Antoine.
participants (2)
-
Antoine Pitrou
-
travis+ml-python-ideas@subspacefield.org