I have figured out that, you have to close the writing end in the child process, which is reading from the pipe. Otherwise the underlying pipe is not going to be closed when the parent process is closing its writing end. This has nothing to do with Python itself. I have tried plain C and there it is the same behaviour.
Regards Sebastian Noack
signature.asc
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list