On 10.05.05, Dag Wieers wrote:
On Mon, 9 May 2005, Joerg Lehmann wrote:
On 09.05.05, Dag Wieers wrote:
[...]
I was wondering if python 2.2 would work too, or is 2.3 really required ?
Yes, Python 2.3 is really required now. Probably it would not be too much effort to get a version still running under Python 2.2.
Well, I provide these packages for older distributions that obviously do not come with python 2.3.
Yeah, I suspected something like that ;-)
[root@lisse rpms]# dar-exec -d el2i,rh7i,rh9i,el3i,fc1i,fc2i,fc3i,el4i rpm -q python = Executing "rpm -q python" for el2i. python-1.5.2-43.72 = Executing "rpm -q python" for rh7i. python-1.5.2-43.73 = Executing "rpm -q python" for rh9i. python-2.2.2-26 = Executing "rpm -q python" for el3i. python-2.2.3-6.1 = Executing "rpm -q python" for fc1i. python-2.2.3-7 = Executing "rpm -q python" for fc2i. python-2.3.3-6 = Executing "rpm -q python" for fc3i. python-2.3.4-13.1 = Executing "rpm -q python" for el4i. python-2.3.4-14.1
RH7 and EL2 are out of the question anyway :) python 2.2 support might be useful nevertheless. For dstat (my own python tool) I actually created a regular expression that translates most of the annoying differences to make a python 1.5 'extracted' version manageable.
Probably such a thing would possible, at least for versions up to Python 2.1.
So I maintain both a 2.3 version (with the latest and coolest python stuff) and maintain a 1.5 version that I diff and merge with my extracted 1.5 version before I release. So it becomes quite manageable.
Still, some differences between different Python releases are subtle and you really have to test that everything works. And since I have already problems doing that for one release [1], I really doubt that it would work for more than one Python release.
Jörg
[1] See http://freshmeat.net/projects/pytone/ for the comments of the former provider of RPMs for what was then called Mandrake. Btw, is there nobody who wants to write something nicer about PyTone ;-)