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 kevin.chen
Recipients Steve.Thompson, amaury.forgeotdarc, barry, brian.curtin, desolat, eric.araujo, eric.snow, kevin.chen, markon, mucisland, ncoghlan, pdsimanyi, pitrou, python-dev
Date 2012-10-21.11:58:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350820712.8.0.869826106526.issue6074@psf.upfronthosting.co.za>
In-reply-to
Content
Okay just tried it. This is under Windows 7 x64.

I created a .py file with read-only permission. When I import the .py module, the created .pyc doesn't have read-only permission. 

So it works as intended under Windows OS. As long as under posix system the created .pyc files have the same permissions as the .py file, then everything is good.
History
Date User Action Args
2012-10-21 11:58:32kevin.chensetrecipients: + kevin.chen, barry, amaury.forgeotdarc, ncoghlan, pitrou, eric.araujo, brian.curtin, pdsimanyi, markon, mucisland, Steve.Thompson, desolat, python-dev, eric.snow
2012-10-21 11:58:32kevin.chensetmessageid: <1350820712.8.0.869826106526.issue6074@psf.upfronthosting.co.za>
2012-10-21 11:58:32kevin.chenlinkissue6074 messages
2012-10-21 11:58:32kevin.chencreate