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 neologix
Recipients lcampagn, neologix
Date 2011-07-04.13:24:09
SpamBayes Score 0.0020022006
Marked as misclassified No
Message-id <1309785850.12.0.459572984447.issue12488@psf.upfronthosting.co.za>
In-reply-to
Content
That's because the other end of the pipe (p1) is open in the child process (FDs are inherited on fork()).
Just add
p1.close()

at the beginning of fn() and you'll get EOF.
Closing as invalid.
History
Date User Action Args
2011-07-04 13:24:10neologixsetrecipients: + neologix, lcampagn
2011-07-04 13:24:10neologixsetmessageid: <1309785850.12.0.459572984447.issue12488@psf.upfronthosting.co.za>
2011-07-04 13:24:09neologixlinkissue12488 messages
2011-07-04 13:24:09neologixcreate