Terry J. Reedy added the comment:

Right. If _internal_poll raises, it should not be masked as that would be a 
true bug.

More research. 'self.returncode = None' comes before the only call to the 
appropriate posix/windows version of ._execute_child(), which is the only place 
where '_child_created = True'. So class level
    _child_created = False  # needed for __del__ if __init__ call fails
should be sufficient. With that added,
        self._child_created = False
in __init__ would not be really needed. 

As I said on pydev, making the warning a Warning would be a different issue.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12085>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to