Message319458
> 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. |
|
Date |
User |
Action |
Args |
2018-06-13 12:54:41 | vstinner | set | recipients:
+ vstinner, alex, serhiy.storchaka, xiang.zhang, cstratak, pablogsal |
2018-06-13 12:54:41 | vstinner | set | messageid: <1528894481.78.0.947875510639.issue33630@psf.upfronthosting.co.za> |
2018-06-13 12:54:41 | vstinner | link | issue33630 messages |
2018-06-13 12:54:41 | vstinner | create | |
|