[New-bugs-announce] [issue16595] Add resource.prlimit

Christian Heimes report at bugs.python.org
Sun Dec 2 12:14:41 CET 2012


New submission from Christian Heimes:

Linux has an additional function to setrlimit and getrlimit which supports to query and/or modify resource limits of another process.

http://www.kernel.org/doc/man-pages/online/pages/man2/getrlimit.2.html

The patch implements resource.prlimit(pid, resource[, limits]) on all platforms that have a prlimit() function. I haven't included the regenerated configure script. You have to run autoreconf in order to test the new function.

----------
assignee: christian.heimes
components: Extension Modules
files: prlimit.patch
keywords: patch
messages: 176783
nosy: christian.heimes
priority: normal
severity: normal
stage: patch review
status: open
title: Add resource.prlimit
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file28184/prlimit.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16595>
_______________________________________


More information about the New-bugs-announce mailing list