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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16595>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to