Re: [PATCH] meld requires python 2.4



2009/3/8 Stephen Kennedy <stevek gnome org>:
> 2009/3/8 Vincent Legoll <vincent legoll gmail com>:
>> I think meld needs python-2.4, because documentation states that
>> sorted() and set() built-ins are available since this version.
>
> I'd prefer to rewrite the offending code - some people are stuck on old
> python versions and it's not too much hassle to support 2.3

Going through the "What's new in Python 2.4" document, there is at
least one other 2.4-ism that would need to be fixed: the use of the
subprocess module (in the svn plugin). There's also generator
expressions... I haven't found any of these yet, but some may have
snuck in.


Playing devil's advocate for a moment...

How many users are actually stuck on 2.3? A bit of searching turned up
this poll, with a useful (quite possibly incomplete) list of affected
distributions.
  http://moinmo.in/PollAboutRequiringPython24
Even on that already short list, I don't know how many actually have a
new enough pygtk for Meld. I checked CentOS 4, which was on pygtk 2.4.
The official package list page for SLES9 was a 404...

In addition, there has  been 2.4-requiring code (from rev 995) in
releases 1.2 and 1.2.1 without anyone complaining. In contrast, as
soon as I (accidentally) broke our pygtk requirement by requiring
2.12, someone noticed.

Having said that, I agree that it's not much effort to support python
2.3... but will anyone notice?

Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]