.pyc crashes, .py doesn't

Michael Hudson mwh at python.net
Tue May 8 18:19:06 EDT 2001


Christopher Brand <nospam at newsranger.com> writes:

> In article <m3vgnbse2d.fsf at atrus.jesus.cam.ac.uk>, Michael Hudson says...
> >Wierd!  Can you get a backtrace?  
> 
> No, due to the GPF (the invalid page fault in MSVCRT.DLL) Python exits most
> ungracefully :)  No traceback, just a stack dump which, I'm afraid means very
> little to me.  

I meant traceback from the C debugger (sorry, I realised that as
ambiguous).

> >Write protecting the directory the .py files are in?  Stopping the
> >crashes sounds the best bet to me, though.
> 
> That might work on the NT/IIS box, to a large extent it will depend
> on the rights that IIS4.0 requires in order to be friendly with my
> scripts.  I don't have such fine-grained access control on the
> Win98/Apache machine I am developing on.

Ah well, t'was just a thought.

Cheers,
M.

-- 
42. You can measure a programmer's perspective by noting his
    attitude on the continuing vitality of FORTRAN.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html



More information about the Python-list mailing list