Why the file mode of .pyc files has x?

greg greg at cosc.canterbury.ac.nz
Tue Sep 29 08:21:09 CEST 2009

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.


More information about the Python-list mailing list