Message40575
| Author | twouters |
|---|---|
| Recipients | |
| Date | 2002-10-10.22:28:35 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
Logged In: YES user_id=34209 I'd suggest adding a min(max, <new limit>) to the patch, so that it becomes: soft, hard = resource.getrlimit(resource.RLIMIT_STACK) newsoft = min(hard, max(soft, 1024*2048)) resource.setrlimit(resource.RLIMIT_STACK, newsoft, hard) And if the test suite only triggers this problem, doesn't it make more sense in s?re.py, as Fredrik suggested ? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 15:14:08 | admin | link | issue580869 messages |
| 2007-08-23 15:14:08 | admin | create | |