Re: Patches to support python 2.2 in lyx 1.4.4

2006-09-22 Thread José Matos
On Friday 22 September 2006 10:39, Jean-Marc Lasgouttes wrote: > > Yes, this is OK. It is in. :-) It is interesting to note that python 2.2.x is analog to our 1.1.x series. They have used the small number versions for bugfixing as well as to add small features. In 2.3.x they decided, as

Re: Patches to support python 2.2 in lyx 1.4.4

2006-09-22 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> If you have any trouble with python scripts please report. The José> fixes are easy in most cases. José> Jean-Marc can this go into 1.4.x? José> FWIW, the code works with python 2.3 so there is no need to José> change 1.5.x Yes,

Re: Patches to support python 2.2 in lyx 1.4.4

2006-09-22 Thread José Matos
On Friday 22 September 2006 07:59, Stephan Witt wrote: > > Hi José, > > I've tested the patched version of TeXFiles.py and python tells me > that "from __future__ import generators" must be placed at the beginning > of the file. Argh, you are right. I did not test the code, because it would be a

Re: Patches to support python 2.2 in lyx 1.4.4

2006-09-21 Thread Stephan Witt
José Matos wrote: On Thursday 21 September 2006 23:26, José Matos wrote: The second patch fixes the issues I have found in scripts. It should work now. OK, that should not work. I send another patch... FWIW the only difference is the addition of one line from __future

Re: Patches to support python 2.2 in lyx 1.4.4

2006-09-21 Thread José Matos
On Thursday 21 September 2006 23:26, José Matos wrote: > The second patch fixes the issues I have found in scripts. It > should work now. OK, that should not work. I send another patch... FWIW the only difference is the addition of one line from __future__ import generator