Antoine Pitrou <pit...@free.fr> added the comment:

Thanks for the report and the investigation!

> 1. The fact that file descriptors specified for redirection are closed (even 
> with close_fds=False) unless in range [0, 2] is not documented and not tested.

That sounds like a bug to me, so we should fix it if decently possible.

> 2. pass_fds interaction with (1) should be fixed and documented. We may 
> either raise ValueError if pass_fds contains a redirected fd or don't close 
> such a redirected fd.

Same here, it seems like a bug which deserves fixing.

Do you want to submit a PR for this?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to