Fix file descriptor inheritance problem with python3.4 (#787)
Merge pull request #800 from thunderk/787-fd-inheritance-py34

Fix file descriptor inheritance problem with python3.4 (#787)