[Twisted-Python] Python 3 support in Twisted: Request for relaxation of coverage requirements
Antoine Pitrou
solipsis at pitrou.net
Tue Jun 19 11:15:44 MDT 2012
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.
(why doesn't your mail / news client word wrap paragraps?)
Regards
Antoine.
More information about the Twisted-Python
mailing list