Re: IO locked error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



That traps all IO errors though... I just want something when the file is
locked to say something like "You already have this file open, please close
it and try agian" before you could do this with error codes, with exceptions
you dont seem to have them anymore that I know of

I still want IO errors like file not found and stuff to throw exceptions
outside of the one i already mentioned


.



Relevant Pages

  • Re: [OT] Re: C Object System
    ... Laurent Deniau wrote: ... Are traps exceptions? ... What COS provides is a service which converts automatically registered signals into exceptions. ... I have developed an extension for lcc-win32 to implement DBC, ...
    (comp.lang.c)
  • Re: float("nan") in set or as key
    ... where things like exceptions were unheard of, ... Fortrans didn't also have support for traps. ... calculation traps or returns a NAN. ...
    (comp.lang.python)
  • Re: float("nan") in set or as key
    ... Fortran where things like exceptions were unheard of, ... Fortrans didn't also have support for traps. ... Failing to support the standard is a bad thing. ...
    (comp.lang.python)
  • Re: division by zero mystery
    ... Trapping is possible for floating point exceptions according to the C ... LIA-1 does not require that traps be precise. ... When arithmetic exceptions do trap, ... signal-handler mechanism allows trap-andterminate (either default ...
    (comp.programming)
  • Re: float("nan") in set or as key
    ... Fortran where things like exceptions were unheard of, ... Fortrans didn't also have support for traps. ... You'll note that, out of the box, numpy generates NANs: ...
    (comp.lang.python)