STINNER Victor <vstin...@redhat.com> added the comment:
> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33630> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com