Staging
v0.8.1
v0.8.1
Revision dab59fa56054d6c0f75ae7013337f7baaa248076 authored by Victor Stinner on 30 November 2018, 12:02:41 UTC, committed by GitHub on 30 November 2018, 12:02:41 UTC
testAccept() and testRecv() of test_socket.NonBlockingTCPTests have a race condition: time.sleep() is used as a weak synchronization primitive and the tests fail randomly on slow buildbots. Use a reliable threading.Event to fix these tests. Other changes: * Replace send() with sendall() * Add a timeout to select() in testAccept() and testRecv() * Use addCleanup() to close sockets * Use assertRaises() (cherry picked from commit ebd5d6d6e6e4e751ba9c7534004aadfc27ba9265)
1 parent d7a880c
File | Mode | Size |
---|---|---|
NEWS.d | ||
TextMate | ||
Vim | ||
ACKS | -rw-r--r-- | 23.0 KB |
BeOS-NOTES | -rw-r--r-- | 1.4 KB |
BeOS-setup.py | -rw-r--r-- | 23.1 KB |
HISTORY | -rw-r--r-- | 669.3 KB |
Porting | -rw-r--r-- | 1.9 KB |
README | -rw-r--r-- | 2.3 KB |
README.AIX | -rw-r--r-- | 5.0 KB |
README.Emacs | -rw-r--r-- | 1.0 KB |
README.OpenBSD | -rw-r--r-- | 1.5 KB |
README.coverity | -rw-r--r-- | 845 bytes |
README.klocwork | -rw-r--r-- | 1.2 KB |
README.valgrind | -rw-r--r-- | 4.3 KB |
RFD | -rw-r--r-- | 3.9 KB |
SpecialBuilds.txt | -rw-r--r-- | 10.7 KB |
cheatsheet | -rw-r--r-- | 103.6 KB |
developers.txt | -rw-r--r-- | 12.0 KB |
gdbinit | -rw-r--r-- | 4.7 KB |
indent.pro | -rw-r--r-- | 557 bytes |
maintainers.rst | -rw-r--r-- | 8.0 KB |
pymemcompat.h | -rw-r--r-- | 3.1 KB |
python-config.in | -rw-r--r-- | 1.6 KB |
python-wing3.wpr | -rw-r--r-- | 537 bytes |
python-wing4.wpr | -rw-r--r-- | 698 bytes |
python.man | -rw-r--r-- | 14.2 KB |
python.pc.in | -rw-r--r-- | 253 bytes |
setuid-prog.c | -rw-r--r-- | 5.6 KB |
valgrind-python.supp | -rw-r--r-- | 7.1 KB |
vgrindefs | -rw-r--r-- | 505 bytes |
Computing file changes ...