Staging
v0.8.1
https://github.com/python/cpython
Revision 1fef0154d97bd7f01c5bc59954a278bacf1a3f0e authored by Victor Stinner on 04 July 2017, 09:36:16 UTC, committed by GitHub on 04 July 2017, 09:36:16 UTC
Sleep 1 ms instead of 0.1 ms to workaround a rounding issue on
Windows. On Windows, time.sleep(0.0001) sleeps 0 ms, so
collect_in_thread() calls gc.collect() in a loop and tests using this
thread takes too long. Sleep 1 ms so time.sleep() sleeps 15.6 ms on
Windows.
1 parent 2e5867d
History
Tip revision: 1fef0154d97bd7f01c5bc59954a278bacf1a3f0e authored by Victor Stinner on 04 July 2017, 09:36:16 UTC
bpo-29796: test_weakref: Fix collect_in_thread() on Windows (#2553)
Tip revision: 1fef015
File Mode Size
NEWS.d
TextMate
Vim
ACKS -rw-r--r-- 22.7 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
NEWS -rw-r--r-- 462.5 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

README

back to top