Staging
v0.5.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
.github
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 552 bytes
.gitattributes -rw-r--r-- 809 bytes
.gitignore -rw-r--r-- 1.1 KB
.hgeol -rw-r--r-- 1007 bytes
.hgignore -rw-r--r-- 1.1 KB
.hgtags -rw-r--r-- 8.5 KB
.mention-bot -rw-r--r-- 39 bytes
.travis.yml -rw-r--r-- 3.0 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 47.3 KB
README -rw-r--r-- 54.4 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 432.6 KB
configure.ac -rw-r--r-- 138.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 34.3 KB
setup.py -rw-r--r-- 96.7 KB

README

back to top