Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue6508] expose setresuid

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 6, 2009, 12:17 PM

Post #1 of 3 (230 views)
Permalink
[issue6508] expose setresuid

Travis H. <travis+w-python.org [at] subspacefield> added the comment:

So this patch is done and tested, but no movement on it since 18
September. Is there anything I can do to help move this along towards
integration?

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 6, 2009, 1:04 PM

Post #2 of 3 (226 views)
Permalink
[issue6508] expose setresuid [In reply to]

Gregory P. Smith <greg [at] krypto> added the comment:

I'll take care of it. It needs unittests but those will be trivial.

----------
assignee: -> gregory.p.smith
priority: -> normal
stage: -> test needed
type: -> feature request
versions: +Python 2.7, Python 3.2 -Python 2.6

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue6508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 9, 2009, 12:03 AM

Post #3 of 3 (201 views)
Permalink
[issue6508] expose setresuid [In reply to]

Gregory P. Smith <greg [at] krypto> 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>
<http://bugs.python.org/issue6508>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.