26 Apr
2000
26 Apr
'00
8:38 a.m.
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.