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

2008-12-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for pointing that out! Fixed in r67919. ___ Python tracker ___ ___ Python-bugs-list mailing list Un

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

2008-12-23 Thread Adeodato Simó
Adeodato Simó 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 t

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

2008-12-11 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Thu, Dec 11, 2008 at 7:03 AM, Adeodato Simó <[EMAIL PROTECTED]> wrote: > > Adeodato Simó <[EMAIL PROTECTED]> added the comment: > >> Yes, it will be merged into the trunk eventually. > > Great, thank you and sorry for the noise. Also, is

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

2008-12-11 Thread Adeodato Simó
Adeodato Simó <[EMAIL PROTECTED]> added the comment: > Yes, it will be merged into the trunk eventually. Great, thank you and sorry for the noise. Also, is this fix elegible for the 3.0 branch? ___ Python tracker <[EMAIL PROTECTED]>

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

2008-12-11 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Thu, Dec 11, 2008 at 4:52 AM, Adeodato Simó <[EMAIL PROTECTED]> wrote: > > Adeodato Simó <[EMAIL PROTECTED]> added the comment: > >> Thanks for the report! Fixed in r67674. > > I'm afraid I'm unfamiliar with Python development procedures

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

2008-12-11 Thread Adeodato Simó
Adeodato Simó <[EMAIL PROTECTED]> added the comment: > Thanks for the report! Fixed in r67674. I'm afraid I'm unfamiliar with Python development procedures: that commit was committed to /sandox, is that expected? ___ Python tracker <[EMAIL PROTECTED]>

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

2008-12-08 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the report! Fixed in r67674. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

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

2008-12-08 Thread Adeodato Simó
Changes by Adeodato Simó <[EMAIL PROTECTED]>: -- type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

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

2008-12-08 Thread Adeodato Simó
New submission from Adeodato Simó <[EMAIL PROTECTED]>: Hello, after using 2to3 --write over some scripts, I found it very cumbersome having to run `chmod +x` on each of them afterwards. The attached patch is a possible way to fix this issue. It'd be great if somebody could apply it, or write a