Ned Batchelder added the comment: Adding a time.sleep(0.001) (or maybe even just 0) between the calls prevents the problem. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue29085> _______________________________________