This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: execfile locks file forever if there are any syntax errors
Type: Stage:
Components: Interpreter Core Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, virwen
Priority: normal Keywords:

Created on 2007-03-14 21:16 by virwen, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg31519 - (view) Author: virwen (virwen) Date: 2007-03-14 21:16
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.
msg31520 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-14 22:35
Thanks for the report, this has already been fixed in SVN.
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44718
2007-03-14 21:16:08virwencreate