Re: lyx2lyx slowness

2006-04-11 Thread Jose' Matos
On Monday 10 April 2006 17:26, Georg Baum wrote: > So basically you are saying that the range->xrange change you asked me to > do was wrong? I will never do what you are telling me anymore ;-) This question come recently to comp.lang.python: http://thread.gmane.org/gmane.comp.python.general/4

Re: lyx2lyx slowness

2006-04-11 Thread Jose' Matos
On Monday 10 April 2006 18:49, Georg Baum wrote: > 2.3, if you ask me. It is even in Debian stable which is not known to be > the most up to date distro. Fair enough. That is my feeling as well. I will wait probably a little longer but soon I will start introducing some features only present

Re: lyx2lyx slowness

2006-04-11 Thread Jose' Matos
On Monday 10 April 2006 17:19, Jean-Marc Lasgouttes wrote: > > "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: > > Jose'> I propose to apply this patch to 1.4.1 since range and xrange > Jose'> return the same type, and it should not hurt anyway. > Jose'> Nevertheless I would like to ask othe

Re: lyx2lyx slowness

2006-04-10 Thread Georg Baum
Jose' Matos wrote: > So the question is, what should be our minimum requirement for 1.5, > python > 2.2 or python 2.3? 2.3, if you ask me. It is even in Debian stable which is not known to be the most up to date distro. Georg

Re: lyx2lyx slowness

2006-04-10 Thread Jose' Matos
On Monday 10 April 2006 17:26, Georg Baum wrote: > So basically you are saying that the range->xrange change you asked me to > do was wrong? I will never do what you are telling me anymore ;-) More or less. As all optimization this is weird. Go to lyx_1_4.py and replace all versions of range

Re: lyx2lyx slowness

2006-04-10 Thread Georg Baum
Jose' Matos wrote: > The difference between 1.4.1 and 1.5.0svn is: > Index: parser_tools.py > === > --- parser_tools.py (revision 13616) > +++ parser_tools.py (working copy) > @@ -53,7 +53,7 @@ > def find_tokens(lines, tokens

Re: lyx2lyx slowness

2006-04-10 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> I propose to apply this patch to 1.4.1 since range and xrange Jose'> return the same type, and it should not hurt anyway. Jose'> Nevertheless I would like to ask other people to repeat the Jose'> same tests and report the results. I

lyx2lyx slowness

2006-04-10 Thread Jose' Matos
While testing bug 2501 I decide to load Chris' lyx-docbook file. LyX froze while the document was loaded. I thought that lyx2lyx had entered an infinite cycle. That was not true. # For 1.5 after revision 13625. $ time ./lyx2lyx ~/tmp/mySGML.lyx > ~/tmp/2501-new.lyx real0m6.148s user0