[Python-bugs-list] [ python-Bugs-765822 ] os.setgroups missing in python2.3

SourceForge.net noreply@sourceforge.net
Fri, 04 Jul 2003 03:33:01 -0700


Bugs item #765822, was opened at 2003-07-04 09:07
Message generated for change (Comment added) made by doko
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765822&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthias Klose (doko)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.setgroups missing in python2.3

Initial Comment:
[forwarded from http://bugs.debian.org/199839]

os.setgroups is still found in the docs.

: tfheen@yiwaz ~ > python2.2
Python 2.2.3 (#1, Jun  4 2003, 02:54:59) 
[GCC 3.3 (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import os
>>> os.setgroups  
<built-in function setgroups>
>>> 
: tfheen@yiwaz ~ > python2.3
Python 2.3b2 (#2, Jun 30 2003, 10:50:53) 
[GCC 3.3.1 20030626 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import os
>>> os.setgroups
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute
'setgroups'
>>> 

Any good reason why it's removed, or has it been moved?



----------------------------------------------------------------------

>Comment By: Matthias Klose (doko)
Date: 2003-07-04 10:33

Message:
Logged In: YES 
user_id=60903

strange. the conftest.c fails at configure time, because it
needs the grp.h header, but only the unistd.h header gets
included in the test. the configure test in python2.2
succeeds on the same (glibc-2.3.1) system.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765822&group_id=5470