[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

Amaury Forgeot d'Arc report at bugs.python.org
Fri Sep 3 22:36:30 CEST 2010


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

This is still the case: on Windows, if foo.py is readonly,
    python -c "import foo"
generates foo.pyc with the readonly attribute.

Tested with 3.1 and current py3k (where the file is named __pycache__\foo.cpython-32.pyc)

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6074>
_______________________________________


More information about the Python-bugs-list mailing list