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 vstinner
Recipients alex, cstratak, pablogsal, serhiy.storchaka, vstinner, xiang.zhang
Date 2018-06-13.12:54:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528894481.78.0.947875510639.issue33630@psf.upfronthosting.co.za>
In-reply-to
Content
> If we want to support older versions of glibc a temporary (and somewhat inelegant) workaround is storing the temporaries in a list that the caller passes and destroy the list after calling `posix_spawn`.

Creating a copy seems to be a reasonable tradeoff.

Another option is to detect the bug at runtime and raise an exception if the bug is detected. But I dislike this option: I hate when a function is available in the os module but calling it raises a NotImplementedError :-( Moreover, posix_spawn() seems to be a lot of benefit, so I would like to be able to use it on "old" glibc versions.
History
Date User Action Args
2018-06-13 12:54:41vstinnersetrecipients: + vstinner, alex, serhiy.storchaka, xiang.zhang, cstratak, pablogsal
2018-06-13 12:54:41vstinnersetmessageid: <1528894481.78.0.947875510639.issue33630@psf.upfronthosting.co.za>
2018-06-13 12:54:41vstinnerlinkissue33630 messages
2018-06-13 12:54:41vstinnercreate