ficoos/cpopen — pull request #13 by lenoch (2013-12-11 23:25:30+00:00)
Title: Support Python 2.7.6 by also adding a positional parameter 'to_close' to to _execute_child.

In Python 2.7.6 released on November 10, 2013, the new parameter (containing file descriptors
to close) was added [1] to fix closing fds if exec'ing failed [2].

This was originally reported in [3].

[1] http://hg.python.org/cpython/rev/43749cb6bdbd
[2] http://bugs.python.org/issue18851
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1040210

Inspired by a similar Toni's patch :-)