Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-28 Thread Enrico Forestieri
On Sat, Jul 25, 2015 at 08:49:17PM +0300, Guy Rutenberg wrote: Hi, On Thu, Jul 16, 2015 at 12:16 AM, Guy Rutenberg guyrutenb...@gmail.com wrote: Hi, On Mon, Jul 13, 2015 at 1:43 PM, Enrico Forestieri for...@lyx.org wrote: So, Guy, you can drop support for python 2.6. I also see

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-28 Thread Enrico Forestieri
On Sat, Jul 25, 2015 at 08:49:17PM +0300, Guy Rutenberg wrote: > Hi, > > On Thu, Jul 16, 2015 at 12:16 AM, Guy Rutenberg > wrote: > > > Hi, > > > > On Mon, Jul 13, 2015 at 1:43 PM, Enrico Forestieri wrote: > > > >> So, Guy, you can drop support for

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-25 Thread Guy Rutenberg
:52:14 +0300 Subject: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts. `os.popen` is deprecated since Python-2.6. Also, this fixes the handling of files with quotes in their names. The patch requires Python = 2.7. Furthermore, the patch executes the lyx2lyx script with the same

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-25 Thread Guy Rutenberg
ter for lyx2lyx as suggested. Thanks, Guy From 726071892f1a960a149399ec79bd7e61b1ce83e1 Mon Sep 17 00:00:00 2001 From: Guy Rutenberg <guyrutenb...@gmail.com> Date: Sat, 11 Jul 2015 18:52:14 +0300 Subject: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts. `os.popen` is deprecated si

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-15 Thread Guy Rutenberg
Hi, On Mon, Jul 13, 2015 at 1:43 PM, Enrico Forestieri for...@lyx.org wrote: So, Guy, you can drop support for python 2.6. I also see that there would be another enhancement, if you would like to have a stab at it. When calling lyx2lyx, the script uses python to invoke the interpreter, such

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-15 Thread Guy Rutenberg
Hi, On Mon, Jul 13, 2015 at 1:43 PM, Enrico Forestieri wrote: > So, Guy, you can drop support for python 2.6. I also see that there would > be another enhancement, if you would like to have a stab at it. When > calling > lyx2lyx, the script uses "python" to invoke the

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-13 Thread Enrico Forestieri
On Mon, Jul 13, 2015 at 10:57:54AM +0100, José Matos wrote: On Saturday 11 July 2015 18:02:31 Richard Heck wrote: For 2.2, I believe we are planning to TRY to make our our scripts compatible with Python 3. I am almost certain we will not need support for 2.6, though. Richard For

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-13 Thread José Matos
On Saturday 11 July 2015 18:02:31 Richard Heck wrote: For 2.2, I believe we are planning to TRY to make our our scripts compatible with Python 3. I am almost certain we will not need support for 2.6, though. Richard For 2.2 the minimum requirement for python is 2.7 (released more than 5

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-13 Thread José Matos
On Saturday 11 July 2015 18:02:31 Richard Heck wrote: > For 2.2, I believe we are planning to TRY to make our our scripts > compatible with Python 3. I am almost certain we will not need support > for 2.6, though. > > Richard For 2.2 the minimum requirement for python is 2.7 (released more

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-13 Thread Enrico Forestieri
On Mon, Jul 13, 2015 at 10:57:54AM +0100, José Matos wrote: > On Saturday 11 July 2015 18:02:31 Richard Heck wrote: > > For 2.2, I believe we are planning to TRY to make our our scripts > > compatible with Python 3. I am almost certain we will not need support > > for 2.6, though. > > > >

[PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-11 Thread Guy Rutenberg
Date: Sat, 11 Jul 2015 18:52:14 +0300 Subject: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts. `os.popen` is deprecated since Python-2.6. Also, this fixes the handling of files with quotes in their names. The patch maintains compatability with Python-2.6 by including its own version

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-11 Thread Richard Heck
On 07/11/2015 12:13 PM, Guy Rutenberg wrote: Hi, The lyxpak.py uses `os.popen`, which is deprecated since Python-2.6. Furthermore, it causes the script to fail for files with quotes in their name, e.g., quotequote.lyx. The attached patch fixes this issue by switching to use the module

[PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-11 Thread Guy Rutenberg
berg <guyrutenb...@gmail.com> Date: Sat, 11 Jul 2015 18:52:14 +0300 Subject: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts. `os.popen` is deprecated since Python-2.6. Also, this fixes the handling of files with quotes in their names. The patch maintains compatability with Python-2.6 by incl

Re: [PATCH] lyxpak.py: Use `subprocess` for spawning scripts.

2015-07-11 Thread Richard Heck
On 07/11/2015 12:13 PM, Guy Rutenberg wrote: Hi, The lyxpak.py uses `os.popen`, which is deprecated since Python-2.6. Furthermore, it causes the script to fail for files with quotes in their name, e.g., quote"quote.lyx. The attached patch fixes this issue by switching to use the module