Why the file mode of .pyc files has x?

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Tue Sep 29 02:58:17 EDT 2009


On Tue, 29 Sep 2009 18:21:09 +1200, greg wrote:

> Peng Yu wrote:
> 
>>>What python/OS are you using?
>> 
>> python 2.6.2 and CentOS
> 
> Just tried 2.6 on Darwin, and it does happen. So looks like 2.6 has been
> changed to inherit the permission bits from the .py. Makes sense, except
> that the x bits should really be turned off.

Bug reported.

http://bugs.python.org/issue7016




-- 
Steven



More information about the Python-list mailing list