Message297616
On Python 3, time.sleep(seconds) rounds seconds towards +Infinity: see bpo-22117, commot cb29f0177c91ebb739b89d8cc4ba223785c94d61. time.sleep(0.0001) sleeps 15.6 ms on Windows.
On Python 2.7, time.sleep(seconds) rounds towards zero. time.sleep(0.0001) sleeps 0 ms on Windows, and so the collect_in_thread() thread calls gc.collect() in a sleep. |
|
Date |
User |
Action |
Args |
2017-07-03 22:03:47 | vstinner | set | recipients:
+ vstinner, paul.moore, pitrou, tim.golden, zach.ware, steve.dower |
2017-07-03 22:03:47 | vstinner | set | messageid: <1499119427.24.0.788905684987.issue29796@psf.upfronthosting.co.za> |
2017-07-03 22:03:47 | vstinner | link | issue29796 messages |
2017-07-03 22:03:47 | vstinner | create | |
|