Daryl Tester wrote:
I'm just about to start writing myself a C extension module, and as I
was pondering how far to make it backward compatible the following
thought sprung to mind. What's the oldest and newest version of
Python you currently write code for [1]?
I generally base this decision based on what the slowest moving (and
relevant/maintained) Linux distros ship. Distrowatch.com is handy for
checking this.
Quick survey:
CentOS 4: 2.3
CentOS 5: 2.4
Fedora 7-10: 2.5
Ubuntu 6.06 LTS: 2.4
Ubuntu 8.04 LTS: 2.5
Hence, I generally code for 2.4 or 2.3 depending on the intended
audience/application. (Main significant differences from 2.3->2.4 are
decorator syntax, generator expressions, and library module bug
fixes/minor api changes.)
A lot of third-party modules require 2.4, so this may also be a factor.
Also OS X maybe relevant:
10.3 (Panther): 2.3
10.4 (Tiger): 2.3
10.5 (Leopard): 2.5
Tim
_______________________________________________
sapug mailing list
[email protected]
http://mail.python.org/mailman/listinfo/sapug