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 gregory.p.smith, neologix, pitrou, sbt, vstinner
Date 2013-08-23.18:54:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1377284072.25.0.977546042307.issue18763@psf.upfronthosting.co.za>
In-reply-to
Content
"the parent can know precisely which FD was opened by
the preexec hook, and check it's closed in the child process."

Oh ok, I see:

+        self.assertNotIn(fd, remaining_fds)

You might also add a check:

        self.assertLessEqual(remaining_fds, {0, 1, 2})
History
Date User Action Args
2013-08-23 18:54:32vstinnersetrecipients: + vstinner, gregory.p.smith, pitrou, neologix, sbt
2013-08-23 18:54:32vstinnersetmessageid: <1377284072.25.0.977546042307.issue18763@psf.upfronthosting.co.za>
2013-08-23 18:54:32vstinnerlinkissue18763 messages
2013-08-23 18:54:32vstinnercreate