On Sunday 18 September 2005 10:18, Angus Leeming wrote:
>
> I understand that string.strip(foo) is deprecated in favour of foo.strip().
> Ditto with string.split(foo).
>
> http://docs.python.org/lib/node110.html
>
> José, why do we continue to use the deprecated versions? Support for
> ancient Pythons?

  A little history from someone who lived it. ;-)

  Red Hat Linux 7.3 was the latest Linux distribution to still ship with 
python 1.5.2. This can be explained due to their policy of not changing a 
core component during any x.y for any fixed x. This procedure was changed 
later, as you probably know.

 RH Linux 7.3 was released in May of 2002, when we started developping 1.4 
(May 2003) it was still a reasonable goal to include support for python 1.5.2 
has lot of places did not updated from 7.3 due to the development changes in 
the next releases 8 and 9.0

  Since the development of lyx 1.4 took so long probably some of this 
arguments are no longer true, yet due to our inertia we keep our original 
goals.

  For me that is a burden, the absence of the extended operators in python 
(+=, -=, ... op=) makes the code dull, the fact that string were made a first 
class type only in python 2.0 does not help either.

  If you are proposing to drop this requirement you have my full support. :-)
  Even without taking with George I can assure you his support. ;-)

-- 
José Abílio

Reply via email to