[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: I expect zero fallout from this given the semantics. SA_ONSTACK really appears to be something that should've been the POSIX default since it was introduced as a feature in ~BSD4.2 in the early 80s. But it never was. It'll be good to have in the beta rel

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-04 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 02ac6f41e5569ec28d625bb005155903f64cc9ee by Gregory P. Smith in branch 'master': bpo-43390: Set SA_ONSTACK in PyOS_setsig (GH-24730) https://github.com/python/cpython/commit/02ac6f41e5569ec28d625bb005155903f64cc9ee -- __

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-03 Thread Gregory P. Smith
Change by Gregory P. Smith : -- type: -> resource usage ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-03 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +23502 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24730 ___ Python tracker ___

[issue43390] Set the SA_ONSTACK in PyOS_setsig to play well with other VMs like Golang

2021-03-03 Thread Gregory P. Smith
New submission from Gregory P. Smith : PyOS_setsig currently sets the struct sigaction context.sa_flags = 0 before calling sigaction. Other virtual machines such as Golang depend on signals using SA_ONSTACK such that signal handlers use a specially allocated stack that runtime sets up for re