execfile locks file forever if there are any syntax errors - is it python bug?

skip at pobox.com skip at pobox.com
Wed Mar 14 08:59:57 EDT 2007


    Slawomir> When I execfile a file which contains a syntax error, the file
    Slawomir> becomes locked and stays this way all the way until I exit the
    Slawomir> interpreter (I am unable to delete it, for example). I have
    Slawomir> tried but failed to find any way to unlock the file... Is this
    Slawomir> a bug in Python?

Kinda seems like it might be.  Please file a bug report on SourceForge.

Skip



More information about the Python-list mailing list