[Python-bugs-list] bug in time.sleep (PR#65)

ddula@atl.mediaone.net ddula@atl.mediaone.net
Wed, 25 Aug 1999 20:19:27 -0400 (EDT)

>>Date: Wed, 25 Aug 1999 14:02:51 -0400 (EDT)
>>From: ddula@atl.mediaone.net
>>To: bugs-py@python.org
>>Subject: bug in time.sleep

>>Full_Name: David Dula
>>Version: 152c1
>>OS: Debian Alpha Linux (potato) 2.2.1
>>Submission from: client42207.atl.mediaone.net (

>>his is a interesting bug that seems to have started after I upgraded to debian
>>potato from slink.

>>It must be a library related bug but this report might help somebody

>>At first I thought it was a bug in threading because it prevented the solaris
>>hack sleep from returning
>>thus my thread.start() never returned.

>>But further digging show that

>>import time
>>time.sleep(0.1) # will always hang on on this platform

>>Work around is to always sleep at least one second - I will do some more looking
>>at the time class when I get a chance.

This code shows it is the library that is broken.

int main()

returns 36028797018963968.000000

So floor is broken. not a python bug sorry.

I guess something is up with libm

Dave Dula
Dave Dula 
Despite the cost of living, have you noticed how 
popular it remains?