python-daemon: setgroups feature patch request

Ben Finney ben+python at benfinney.id.au
Thu Dec 18 00:43:34 UTC 2014


(Redirected to the ‘python-daemon-devel’ forum. Aleksey, please see
<URL:https://lists.alioth.debian.org/mailman/listinfo/python-daemon-devel>
to subscribe if you want to follow the ongoing discussion.)

On 17-Dec-2014, Aleksey Morarash wrote:

> On Wed, Dec 17, 2014 at 02:12:33PM +1100, Ben Finney wrote:
> > Is this substantially different from what ‘os.initgroups’ does
> 
> No, if you mean Python 2.7 and later. The os.initgroups() function
> is new in Python 2.7.

Drat, you're right. We will need to consider whether it's worth
maintaining a custom implementation, merely to support older Python
versions.

At the moment I'm thinking this will only be available in a future
backward-incompatible 1.6.x series where we drop support for Python
2.6 and earlier.

-- 
 \        “[It's] best to confuse only one issue at a time.” —Brian W. |
  `\  Kernighan, Dennis M. Ritchie, _The C programming language_, 1988 |
_o__)                                                                  |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-daemon-devel/attachments/20141218/52ad54ac/attachment.sig>


More information about the python-daemon-devel mailing list