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 christian.heimes
Recipients christian.heimes
Date 2009-07-31.00:27:02
SpamBayes Score 0.005713263
Marked as misclassified No
Message-id <1249000024.51.0.280381658662.issue6610@psf.upfronthosting.co.za>
In-reply-to
Content
The subprocess module may suffer from a minor design flaw that is
described at http://unixwiz.net/techtips/remap-pipe-fds.html under the
heading "Descriptor Debacle". The problem can occur under rare
conditions when a subprocess is created from a Python daemon process.

Proposed solution:

Create a function os.duprange(*args) that takes one or more tuple pairs
of file descriptors. The function takes care of the necessary order and
dubbing of fds.
History
Date User Action Args
2009-07-31 00:27:04christian.heimessetrecipients: + christian.heimes
2009-07-31 00:27:04christian.heimessetmessageid: <1249000024.51.0.280381658662.issue6610@psf.upfronthosting.co.za>
2009-07-31 00:27:03christian.heimeslinkissue6610 messages
2009-07-31 00:27:02christian.heimescreate