Message40567
| Author | sdm7g |
|---|---|
| Recipients | |
| Date | 2002-07-13.03:15:12 |
| SpamBayes Score | |
| Marked as misclassified | |
| Message-id | |
| In-reply-to |
| Content | |
|---|---|
import resource
soft, hard = resource.getrlimit(
resource.RLIMIT_STACK )
resource.setrlimit( resource.RLIMIT_STACK, (1024 *
2048, hard))
is the python equivalent of the tcsh 'limit stack 2048'
and will
keep python from seg faulting on test_re .
( maybe wrapped in a "if os.platform == 'darwin' : " --
are there any other systems that have this problem ? )
-- Steve Majewski
|
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007-08-23 15:14:07 | admin | link | issue580869 messages |
| 2007-08-23 15:14:07 | admin | create | |