[Patches] [ python-Patches-568235 ] Add support for os.getpgid()
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 13 Jun 2002 14:11:06 -0700
Patches item #568235, was opened at 2002-06-12 23:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=568235&group_id=5470
Category: Modules
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Geert Jansen (geertj)
Assigned to: Martin v. Löwis (loewis)
Summary: Add support for os.getpgid()
Initial Comment:
Hi all
This patch adds support for the getpgid() function to the
os module.Maybe this function was forgotten in the
past? Its cousins getpgrp()/setpgrp() and its brother
setpgid() are all present, but getpgid() lacks. But there
seems no reason for this because it is defined in the
Single Unix Specification, v2, just as the other 3
functions.
It would be nice to have this because it is the only way
to find out the process group of a process other than
yourself (for which getpgrp() does the job).
The attached patch includes the implementation of
os.getpgid, documentation and autoconf updates. The
patch is relative to the HEAD branch of the CVS.
Greetings,
Geert Jansen
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-06-13 23:11
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Committed as
configure 1.314
configure.in 1.324
pyconfig.h.in 1.41
libos.tex 1.87
Mac/Include/pyconfig.h 1.10
NEWS 1.426
posixmodule.c 2.236
RISCOS/pyconfig.h 1.4
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=568235&group_id=5470