]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
We had several if statements checking the value of a fd. This is unsafe, since valid...
authorPeter Astrand <astrand@lysator.liu.se>
Fri, 2 Feb 2007 19:06:36 +0000 (19:06 +0000)
committerPeter Astrand <astrand@lysator.liu.se>
Fri, 2 Feb 2007 19:06:36 +0000 (19:06 +0000)
commitf54000325b49c36c6bfb4632137a9a20c8fa2e3c
treefd83f39624e9771126e2b01c3563a4861b15b1f1
parentdb67aef672ba51e7d01b1f095d5342fc2e67ca1a
We had several if statements checking the value of a fd. This is unsafe, since valid fds might be zero. We should check for not None instead.
Lib/subprocess.py