Yes, and exception (for the script above) looks like this:
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
, , , , , , , , , , , , , ,Exception in thread Thread-81:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/usr/lib/python2.5/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "./threadtest.py", line 8, in do_sleep
time.sleep(random.random()/1000 + 0.001)
IOError: [Errno 22] Invalid argument
--
Python time.sleep() raises exception in multi-threaded app
https://bugs.launchpad.net/bugs/191509
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs