This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ddvoinikov
Recipients ddvoinikov
Date 2010-09-18.12:58:09
SpamBayes Score 0.0059771924
Marked as misclassified No
Message-id <1284814691.18.0.9754077779.issue9892@psf.upfronthosting.co.za>
In-reply-to
Content
If you request Event.wait(x), the call consistently returns in less than x seconds.

Sample:
---------------------------------------------------------
from threading import Event
from time import time

e = Event()

before = time()
e.wait(0.1)
after = time()

print(after - before)

# under Python 3.1 prints 0.109999...
# under Python 3.2 prints 0.092999...
---------------------------------------------------------
History
Date User Action Args
2010-09-18 12:58:11ddvoinikovsetrecipients: + ddvoinikov
2010-09-18 12:58:11ddvoinikovsetmessageid: <1284814691.18.0.9754077779.issue9892@psf.upfronthosting.co.za>
2010-09-18 12:58:09ddvoinikovlinkissue9892 messages
2010-09-18 12:58:09ddvoinikovcreate