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 <rep...@bugs.python.org> <http://bugs.python.org/issue16650> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com