[issue40518] ValueError when using resource.setrlimit on macOS Catalina

2020-05-05 Thread Ned Deily
Ned Deily added the comment: See the long discussion in Issue34602 for more details. The investigation there showed that there are now conditions when running in newer versions of macOS (apparently as of 10.14.4) where trying to increase the stack limit at run time using

[issue40518] ValueError when using resource.setrlimit on macOS Catalina

2020-05-05 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40518] ValueError when using resource.setrlimit on macOS Catalina

2020-05-05 Thread Shota Iwamoto
New submission from Shota Iwamoto : 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