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.

Author Jean-Louis Tamburini
Recipients Jean-Louis Tamburini
Date 2018-05-09.20:43:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525898638.9.0.682650639539.issue33451@psf.upfronthosting.co.za>
In-reply-to
Content
Python v3.6.4:d48eceb
Windows 10.0.16299

I search on Internet and I don't find why Python Interpreter (v3.6.4) do that. With python 2.7, I don't have this "problem".

When I launch script like : 
c:\Python364\python.exe compile.py
While the execution, I can rename/modify the file "compile.py". 

But, when I compile the file to .pyc (with py_compile with an another script), and I launch the pyc like :
c:\Python364\python.exe dummy.pyc
While the execution, I CAN'T rename/modify the file because is locked by Python Interpreter. 

It's normal ?
History
Date User Action Args
2018-05-09 20:43:58Jean-Louis Tamburinisetrecipients: + Jean-Louis Tamburini
2018-05-09 20:43:58Jean-Louis Tamburinisetmessageid: <1525898638.9.0.682650639539.issue33451@psf.upfronthosting.co.za>
2018-05-09 20:43:58Jean-Louis Tamburinilinkissue33451 messages
2018-05-09 20:43:58Jean-Louis Tamburinicreate