[Twisted-Python] Python 3 support in Twisted: Request for relaxation of coverage requirements

Thijs Triemstra lists at collab.nl
Tue Jun 19 11:29:53 MDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/19/2012 07:15 PM, Antoine Pitrou wrote:
> On Tue, 19 Jun 2012 08:55:51 -0700 Glyph <glyph at twistedmatrix.com>
> wrote:
>> 
>> On Jun 19, 2012, at 7:43 AM, Vladimir Perić wrote:
>> 
>>> there are basically two strategies: maintaining py2 code and
>>> using 2to3 when installing under py3, or maintaining a codebase
>>> which is compatible with both 2 and 3
>> 
>> Based on the experiences of other porters I have talked to, and
>> heard speaking on mailing lists, 2to3 still has yet to live up to
>> its promise, and a unified codebase is much more manageable.
>> That said, there are syntax changes ('except...as...' being the
>> big one) that make supporting 2.5->3 difficult, and only becomes
>> reasonable at 2.6->3.
> 
> A shared codebase definitely isn't reasonable if you want to
> support Python 2.5. At least not for a project the size of
> Twisted.

Support for 2.5 is dropped in the next release [1].

Cheers,

Thijs

[1] http://twistedmatrix.com/trac/ticket/5553
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk/gtwwACgkQBRbMGagbo3miRACfQLrEU+oWZHmbg5e0hc7yXSeV
G2kAnjuRStNGzeR4KbnaXacKNt/029tt
=rJGt
-----END PGP SIGNATURE-----




More information about the Twisted-Python mailing list