summaryrefslogtreecommitdiffstats
path: root/Lib/py_compile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-06-07 01:42:47 (GMT)
committerGuido van Rossum <guido@python.org>2002-06-07 01:42:47 (GMT)
commitb9e916a0b5acde610bca53217dbe58506b8d5b5d (patch)
tree71f24d2e22df258c79449b7671855144973b6fc0 /Lib/py_compile.py
parent8a13518d25da3ce174d2f4b17f37dbd3cda8299c (diff)
downloadcpython-b9e916a0b5acde610bca53217dbe58506b8d5b5d.zip
cpython-b9e916a0b5acde610bca53217dbe58506b8d5b5d.tar.gz
cpython-b9e916a0b5acde610bca53217dbe58506b8d5b5d.tar.bz2
Correct several blunders in the timeout code, mostly my own fault (for
not testing it -- apparently test_timeout.py doesn't test anything useful): In internal_select(): - The tv_usec part of the timeout for select() was calculated wrong. - The first argument to select() was one too low. - The sense of the direction argument to internal_select() was inverted. In PySocketSock_settimeout(): - The calls to internal_setblocking() were swapped. Also, repaired some comments and fixed the test for the return value of internal_select() in sendall -- this was in the original patch.
Diffstat (limited to 'Lib/py_compile.py')
0 files changed, 0 insertions, 0 deletions