Ned Deily <n...@python.org> 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 resource.RLIMIT_STACK fails. If you do need to increase the stack limit, to handle deeper recusions etc, one solution is to rebuild Python for macOS with a larger stack size as shown in PR 14546 rather than trying to change it at runtime. ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> python3 resource.setrlimit strange behaviour under macOS _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40518> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com