[issue6508] expose setresuid
Gregory P. Smith
report at bugs.python.org
Mon Nov 9 09:03:36 CET 2009
Gregory P. Smith <greg at krypto.org> added the comment:
Attaching an updated patch that includes unittests.
I also changed the set functions to take input as long's instead of int's
as that is more likely to fit within a uid_t and forced the return values
on the get's to fit within a long and used Py_BuildValue() to handle
memory errors and such that could happen while allocating the ints and
tuple rather than PyTuple_Pack.
Remaining work: os module documentation.
----------
Added file: http://bugs.python.org/file15297/issue6508-gps01.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6508>
_______________________________________
More information about the Python-bugs-list
mailing list