[issue4602] 2to3 drops executable bit with --write

Adeodato Simó report at bugs.python.org
Tue Dec 23 19:14:40 CET 2008


Adeodato Simó <dato at net.com.org.es> added the comment:

Hello, I see that something akin to my proposed patch was applied, but I
think the order of the arguments to shutil.copymode was reversed in the
process. This function takes (src, dst) as arguments, and we want
permissions to flow backup -> newfile, and not the the other way around.

Thanks already.

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


More information about the Python-bugs-list mailing list