summaryrefslogtreecommitdiffstats
path: root/Tools/demo/queens.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-07-22 15:43:59 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-07-22 15:43:59 (GMT)
commit524714eeda70de01046e3b4736516f41d7d11010 (patch)
treece1ee1d3cfad2a646f46d1581a677ba4c4ccde4f /Tools/demo/queens.py
parent0cec877230a9232378eb2c7e21348029bbe83fea (diff)
downloadcpython-524714eeda70de01046e3b4736516f41d7d11010.zip
cpython-524714eeda70de01046e3b4736516f41d7d11010.tar.gz
cpython-524714eeda70de01046e3b4736516f41d7d11010.tar.bz2
socket: use INVALID_SOCKET
* Replace "fd = -1" with "fd = INVALID_SOCKET" * Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows Bug found by Pavel Belikov ("Fragment N1"): http://www.viva64.com/en/b/0414/#ID0ECDAE
Diffstat (limited to 'Tools/demo/queens.py')
0 files changed, 0 insertions, 0 deletions