Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The documentation is os.rst is too laconic (coming from the Windows
world, I could not understand what the function is about).
The docstring is much better (at least I understand it's related to the
Unix security model), I suggest to use
Jean-Paul Calderone exar...@divmod.com added the comment:
New version attached which makes the os.rst docs the same as the
docstring. Also fixes a conflict since introduced in trunk in configure.in.
--
Added file: http://bugs.python.org/file15440/initgroups-5.patch
Antoine Pitrou pit...@free.fr added the comment:
Slightly modified and committed in r76636 (trunk) and r76637 (py3k).
Thank you.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7333
Antoine Pitrou pit...@free.fr added the comment:
You can use the new test-skipping feature:
http://docs.python.org/dev/library/unittest.html#skipping-tests-and-expected-failures
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone exar...@divmod.com added the comment:
Alright. Updated patch attached.
--
Added file: http://bugs.python.org/file15353/initgroups-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7333
Jean-Paul Calderone exar...@divmod.com added the comment:
pyflakes told me I didn't import errno in test_posix.py. Updated patch
attached.
--
Added file: http://bugs.python.org/file15354/initgroups-4.patch
___
Python tracker rep...@bugs.python.org
New submission from Jean-Paul Calderone exar...@divmod.com:
initgroups(2) is a function for initializing the aux group id list from
site-specific configuration (typically /etc/groups, but not necessarily).
Attached is a patch based on some code from Zope, expanded to have a
test and some docs.
Jean-Paul Calderone exar...@divmod.com added the comment:
In case anyone is concerned about licensing issues, please see
https://mail.zope.org/pipermail/zope-dev/2009-November/038289.html
--
___
Python tracker rep...@bugs.python.org
Philip Jenvey pjen...@underboss.org added the comment:
The test should skip when not hasattr(os, 'initgroups') since it's
optional
--
nosy: +pjenvey
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7333
Jean-Paul Calderone exar...@divmod.com added the comment:
Good point. Updated patch attached.
--
Added file: http://bugs.python.org/file15347/initgroups-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7333
10 matches
Mail list logo