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 gregory.p.smith
Recipients benjamin.peterson, gregory.p.smith, izbyshev
Date 2020-12-27.20:53:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609102423.81.0.85376893258.issue42736@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the golang SysProcAttr reference.  The internals of _posixsubprocess have already becoming unwieldy with the abundance of args.  Such a struct/object would also fit in well there and avoid excessive C stack use.  (as izbyshev noted during the vfork work)

Most prctl uses I noticed were PDEATHSIG but I'd need to explicitly audit those.  Users don't seem to care about it's documented main thread caveat (which matches what I've seen; most programs don't use non-daemon threads and exit the main thread).

I want what we do for this to be futureproof for the syscall so that we don't wind up merely picking one feature such as PDEATHSIG to pass a flags through to and needing to add logic to support others later on, delaying the ability to use new system features.
History
Date User Action Args
2020-12-27 20:53:43gregory.p.smithsetrecipients: + gregory.p.smith, benjamin.peterson, izbyshev
2020-12-27 20:53:43gregory.p.smithsetmessageid: <1609102423.81.0.85376893258.issue42736@roundup.psfhosted.org>
2020-12-27 20:53:43gregory.p.smithlinkissue42736 messages
2020-12-27 20:53:43gregory.p.smithcreate