homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author morioprog
Recipients morioprog, ned.deily, ronaldoussoren
Date 2020年05月05日.13:57:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588687058.44.0.691468502141.issue40518@roundup.psfhosted.org>
In-reply-to
Content
Hello, I'm having trouble when using `resource.setrlimit` on macOS.
```
import resource
resource.setrlimit(resource.RLIMIT_STACK, resource.getrlimit(resource.RLIMIT_STACK))
```
Running this code gives the following error:
```
Traceback (most recent call last):
 File "main.py", line 2, in <module>
 resource.setrlimit(resource.RLIMIT_STACK, resource.getrlimit(resource.RLIMIT_STACK))
ValueError: current limit exceeds maximum limit
```
I ran the same code in my linux environment and it worked.
* macOS Catalina 10.15.4 (19E287)
* `python --version` : Python 3.7.7
Thanks.
History
Date User Action Args
2020年05月05日 13:57:38morioprogsetrecipients: + morioprog, ronaldoussoren, ned.deily
2020年05月05日 13:57:38morioprogsetmessageid: <1588687058.44.0.691468502141.issue40518@roundup.psfhosted.org>
2020年05月05日 13:57:38morioproglinkissue40518 messages
2020年05月05日 13:57:38morioprogcreate

AltStyle によって変換されたページ (->オリジナル) /