Ronald Oussoren <ronaldousso...@mac.com> added the comment:

> My understanding of the resolution of this ticket is that it is still not 
> possible to use setrlimit with RLIMIT_STACK to raise the soft stack limit.  
> Is that correct?

Yes, the code in msg324731 still fails. We're still using the mechanism 
described in msg324818, but with a larger stack size for some builds. 

It is rather annoying that -Wl,-stack_size,NNNN sets a hard limit on the stack 
size, rather than overriding the soft limit.  

I guess we could change the startup code for the interpreter executable 
(Py_Main or related code) to set the RLIMIT_STACK to a larger value when it is 
too small, that way applications can still pick a different (and in particular 
larger) value.

@ned.deily, @lukasz.langa: reopen this issue or open a new one?

----------
versions: +Python 3.10, Python 3.11 -Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to