WindowsError in time.sleep !?!??!!

Eric Brunel eric.brunel at pragmadev.com
Mon Jul 1 08:58:35 EDT 2002


Thomas Heller wrote:
> This sounds like some C code (in an extension?)is setting
> an error, and failes to check for NULL afterwards.
> If you insert something like this before your "if v == '':" line
>   try: 1/0
>   except: pass
> and the problem goes away, it seems to be the cause for it.

This was it! Thank you very much: we'd never figured out this one by 
ourselves...
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com



More information about the Python-list mailing list