Gregory P. Smith <g...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6508> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com