[New-bugs-announce] [issue16650] Popen._internal_poll() references errno.ECHILD outside of the local scope

Serhiy Storchaka report at bugs.python.org
Sun Dec 9 08:03:20 CET 2012


New submission from Serhiy Storchaka:

As noted in Popen._internal_poll() docstring this method cannot reference anything outside of the local scope. However it references errno.ECHILD. The proposed patch fixes this.

Is it good that Popen._handle_exitstatus() references building SubprocessError?

----------
components: Library (Lib)
files: subprocess_reference_nonlocal.patch
keywords: patch
messages: 177201
nosy: asvetlov, pitrou, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Popen._internal_poll() references errno.ECHILD outside of the local scope
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file28266/subprocess_reference_nonlocal.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16650>
_______________________________________


More information about the New-bugs-announce mailing list