[Zope] IsDaZope: a Zope checker and relauncher
Oleg Broytmann
phd@phd.russ.ru
Wed, 26 Apr 2000 08:38:08 +0000 (GMT)
On Wed, 26 Apr 2000, Jerome Alet wrote:
> unfortunately my program doesn't detect it, it seems that urllib.urlopen()
> blocks and doesn't allow my alarm handler to be called in this situation.
Python does not deliver signals while hang in C (or even worse, in
system calls). Well-known Python deficency :(
Go multiprocess - either threading or forking. Or select()...
Oleg. (All opinions are mine and not of my employer)
----
Oleg Broytmann Foundation for Effective Policies phd@phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.