-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 27, 2008, at 2:09 AM, Martin v. Löwis wrote: >> For new code, however, there is an alternative strategy that doesn't >> involve 2to3 at all, which is to write code in the "greatest common >> subset" of 2.6 and 3.0. >> >> As Lennart Regbro pointed out earlier, this common subset is actually >> quite large (larger than Guido originally intended, I think), and you >> can write some fairly substantial applications in it. > > I think it's worth noting that the subset is large only for 3.0 and > 2.6. > If you need to support 2.5 as well, the subset is significantly > smaller; > and if you also want to support 2.4, the subset is again even smaller.
And borrowing Guido's time machine (always a risky prospect), the subset should be larger still for 3.1 and 2.7. - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQCVAwUBR+tNyHEjvBPtnXfVAQI4pAP/XjPzG+YZuDZ7LBpK/gYnmFxNSP5QqmHD NhPaGIKVnj2bBIVIbyHm0Jl0Dw3aszih7ws5gulFx69TqZs+8320px/wE9PrNRj8 B3ryqR/ge1vDZkrMLWCi1vCKrinPR0WOgQXevxsSEHin+FlojnITB9sx2HabZB1W gANIu0oNjdg= =u8xx -----END PGP SIGNATURE----- _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com