[ python-Bugs-1681020 ] execfile locks file forever if there are any syntax errors

SourceForge.net noreply at sourceforge.net
Wed Mar 14 22:16:08 CET 2007


Bugs item #1681020, was opened at 2007-03-14 22:16
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1681020&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: virwen (virwen)
Assigned to: Nobody/Anonymous (nobody)
Summary: execfile locks file forever if there are any syntax errors

Initial Comment:
When I execfile a file which contains a syntax error, the file becomes
locked and stays this way all the way until I exit the interpreter (I
am unable to delete it, for example). I have tried but failed to find
any way to unlock the file.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1681020&group_id=5470


More information about the Python-bugs-list mailing list