S
Slawomir Nowaczyk
Hello,
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... Is this a bug in Python?
Is there *any* way to unlock the file? It is annoying for me because I
often execfile various temporary files and it is a nuisance not to be
able to delete them.
I have tested with Python 2.5 on Windows... do other versions of Python
behave this way as well?
--
Best wishes,
Slawomir Nowaczyk
( (e-mail address removed) )
I didn't fight my way to the top of the food chain to be a vegetarian.
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... Is this a bug in Python?
Is there *any* way to unlock the file? It is annoying for me because I
often execfile various temporary files and it is a nuisance not to be
able to delete them.
I have tested with Python 2.5 on Windows... do other versions of Python
behave this way as well?
--
Best wishes,
Slawomir Nowaczyk
( (e-mail address removed) )
I didn't fight my way to the top of the food chain to be a vegetarian.