Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
Bo Peng schrieb: I started with the SCons script and need the attached patch to get it running. Bo, can this go in or do you want to change more (comments etc.)? You mean scons already supports Python 3.0? I use SCons 1.2 and this works with Python 3. Actually, because we distribute a

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Pavel Sanda
Uwe Stöhr wrote: Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix system for very long time. I do not see a need to upgrade our script to Python 3.0 right now. Why are you sure that python 2.x will stay on any *nix system for very long

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
i know nothing about the problem, but it is not possible to have scripts which work with both 2.5 and 3 versions No, and that is the problem. The only version that is compatible to both versions is Python 2.6.x. I think we can wait, but when the first distribution ships Python 3.0 as default,

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix system for very long time. I do not see a need to upgrade our script to Python 3.0 right now. Why are you sure that python 2.x will stay on any *nix system for very long

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Pavel Sanda
Uwe Stöhr wrote: i know nothing about the problem, but it is not possible to have scripts which work with both 2.5 and 3 versions No, and that is the problem. i still cant believe this is a bad joke ;) how often do the python guys change the language definition in such an incompatible

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Anders Ekberg
On 11 jan 2009, at 14.40, Uwe Stöhr wrote: i know nothing about the problem, but it is not possible to have scripts which work with both 2.5 and 3 versions No, and that is the problem. The only version that is compatible to both versions is Python 2.6.x. That's not entirely the case

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread rgheck
Jürgen Spitzmüller wrote: Uwe Stöhr wrote: Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix system for very long time. I do not see a need to upgrade our script to Python 3.0 right now. Why are you sure that python 2.x will stay on

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
Anders Ekberg schrieb: That's not entirely the case either. See the last section of: http://docs.python.org/3.0/whatsnew/3.0.html ... However, there are a lot of persons who knows much more about this than me (José!). Yes, and therefore I shut up now before I'm talking something wrong.

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread José Matos
On Sunday 11 January 2009 03:49:53 Uwe Stöhr wrote: Python 2.6 changes a lot and was released to make it easier to switch to Python 3. Python 2.6 is compatible to Python 2.5 and to Python 3.0. python 2.6 is not compatible with python 3.0, one of the most flagrant examples is print that is a

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
Bo Peng schrieb: I started with the SCons script and need the attached patch to get it running. Bo, can this go in or do you want to change more (comments etc.)? You mean scons already supports Python 3.0? I use SCons 1.2 and this works with Python 3. Actually, because we distribute a

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Pavel Sanda
Uwe Stöhr wrote: >> Actually, because we distribute a version of Python under window and >> python 2.x will stay on any *nix system for very long time. I do not >> see a need to upgrade our script to Python 3.0 right now. > > Why are you sure that python 2.x will stay on any *nix system for very

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
> i know nothing about the problem, but it is not possible to have scripts which > work with both 2.5 and 3 versions No, and that is the problem. The only version that is compatible to both versions is Python 2.6.x. I think we can wait, but when the first distribution ships Python 3.0 as

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > > Actually, because we distribute a version of Python under window and > > python 2.x will stay on any *nix system for very long time. I do not > > see a need to upgrade our script to Python 3.0 right now. > > Why are you sure that python 2.x will stay on any *nix system for

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Pavel Sanda
Uwe Stöhr wrote: > > i know nothing about the problem, but it is not possible to have scripts > which > > work with both 2.5 and 3 versions > > No, and that is the problem. i still cant believe this is a bad joke ;) how often do the python guys change the language definition in such an

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Anders Ekberg
On 11 jan 2009, at 14.40, Uwe Stöhr wrote: > i know nothing about the problem, but it is not possible to have scripts which > work with both 2.5 and 3 versions No, and that is the problem. The only version that is compatible to both versions is Python 2.6.x. That's not entirely the case

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread rgheck
Jürgen Spitzmüller wrote: Uwe Stöhr wrote: Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix system for very long time. I do not see a need to upgrade our script to Python 3.0 right now. Why are you sure that python 2.x will stay on

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread Uwe Stöhr
Anders Ekberg schrieb: That's not entirely the case either. See the last section of: http://docs.python.org/3.0/whatsnew/3.0.html ... However, there are a lot of persons who knows much more about this than me (José!). Yes, and therefore I shut up now before I'm talking something wrong.

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-11 Thread José Matos
On Sunday 11 January 2009 03:49:53 Uwe Stöhr wrote: > Python 2.6 changes a lot and was released to make it easier to switch to > Python 3. Python 2.6 is compatible to Python 2.5 and to Python 3.0. python 2.6 is not compatible with python 3.0, one of the most flagrant examples is print that is a

[patch] require Python 2.6 for SCons but also for LyX

2009-01-10 Thread Uwe Stöhr
Python 2.6 changes a lot and was released to make it easier to switch to Python 3. Python 2.6 is compatible to Python 2.5 and to Python 3.0. While Python 3.0 is not compatible to Python 2.5. Because Python 3.0 was released a month ago, it will soon be preinstalled by Linux distributions so that

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-10 Thread Bo Peng
I started with the SCons script and need the attached patch to get it running. Bo, can this go in or do you want to change more (comments etc.)? You mean scons already supports Python 3.0? Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix

[patch] require Python 2.6 for SCons but also for LyX

2009-01-10 Thread Uwe Stöhr
Python 2.6 changes a lot and was released to make it easier to switch to Python 3. Python 2.6 is compatible to Python 2.5 and to Python 3.0. While Python 3.0 is not compatible to Python 2.5. Because Python 3.0 was released a month ago, it will soon be preinstalled by Linux distributions so that

Re: [patch] require Python 2.6 for SCons but also for LyX

2009-01-10 Thread Bo Peng
> I started with the SCons script and need the attached patch to get it > running. > Bo, can this go in or do you want to change more (comments etc.)? You mean scons already supports Python 3.0? Actually, because we distribute a version of Python under window and python 2.x will stay on any *nix