Re: [Python-Dev] [PATCH] Make 2to3 --write preserve file mode (eg. execution bit)

2008-12-08 Thread Adeodato Simó
* Mark Dickinson [Mon, 08 Dec 2008 20:56:25 +]: > On Mon, Dec 8, 2008 at 6:51 PM, Adeodato Simó <[EMAIL PROTECTED]> wrote: > > The attached patch is a possible way to fix this issue. It'd be great if > > somebody could apply it, or write a more appropriate fix. > Please could you submit your

Re: [Python-Dev] [PATCH] Make 2to3 --write preserve file mode (eg. execution bit)

2008-12-08 Thread Mark Dickinson
On Mon, Dec 8, 2008 at 6:51 PM, Adeodato Simó <[EMAIL PROTECTED]> wrote: > > The attached patch is a possible way to fix this issue. It'd be great if > somebody could apply it, or write a more appropriate fix. Please could you submit your patch to the bug tracker, at http://bugs.python.org That

[Python-Dev] [PATCH] Make 2to3 --write preserve file mode (eg. execution bit)

2008-12-08 Thread Adeodato Simó
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 more appropriate fix. Many thanks in advance! P.S.: Ple