[Patches] [ python-Patches-551960 ] Add check for setrlimit() support
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 03 May 2002 11:18:19 -0700
Patches item #551960, was opened at 2002-05-03 18:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=551960&group_id=5470
Category: Tests
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerald S. Williams (gsw_agere)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add check for setrlimit() support
Initial Comment:
The new test_resource test calls resource.setrlimit()
to change the file size limits. This fails on Cygwin,
which supports setrlimit() and getrlimit(), just not
changing that particular setting. (The same would
apply to any other platforms that has those functions
but not that particular feature.)
Since that getrlimit() works, and setrlimit() can be
used for other reasons, a check for sys.platform was
added to that part of the test.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=551960&group_id=5470