David Ascher wrote: > The _load_ptl code in ptl_import.py results in 'unhelpful' tracebacks on > Windows (in at least some circumstances), in the case of a syntax error > in a PTL file. > > [snip] > > fails in the event of a SyntaxError, on at least three Win2k machines, > with the os.unlink() call raising an OSError, "Permission denied". I > haven't been able to figure out why that happens, but in the meantime am > running with code like: > > [snip] > Thank you! I've been flying in the dark with PTL errors, and had desensitized myself to the OSErrors and lack of decent feedback. This is a great help! -- Graham