[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite
Steve Thompson
report at bugs.python.org
Fri Sep 3 22:38:50 CEST 2010
Steve Thompson <steve.f.thompson at gmail.com> added the comment:
Any idea if this will be fixed (at all) and/or back ported to 2.6.x or
2.7.x?
On Fri, Sep 3, 2010 at 3:36 PM, Amaury Forgeot d'Arc <report at bugs.python.org
> wrote:
>
> 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>
> _______________________________________
>
----------
Added file: http://bugs.python.org/file18739/unnamed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6074>
_______________________________________
-------------- next part --------------
Any idea if this will be fixed (at all) and/or back ported to 2.6.x or 2.7.x?<br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 3:36 PM, Amaury Forgeot d'Arc <span dir="ltr"><<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Amaury Forgeot d'Arc <<a href="mailto:amauryfa at gmail.com">amauryfa at gmail.com</a>> added the comment:<br>
<br>
This is still the case: on Windows, if foo.py is readonly,<br>
  python -c "import foo"<br>
generates foo.pyc with the readonly attribute.<br>
<br>
Tested with 3.1 and current py3k (where the file is named __pycache__\foo.cpython-32.pyc)<br>
<br>
----------<br>
nosy: +amaury.forgeotdarc<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker <<a href="mailto:report at bugs.python.org">report at bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue6074" target="_blank">http://bugs.python.org/issue6074</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br>
More information about the Python-bugs-list
mailing list