[Twisted-Python] Porting PB to python3

Amber "Hawkie" Brown hawkowl at atleastfornow.net
Fri Jun 10 16:56:46 MDT 2016


> On 11 Jun 2016, at 03:39, Craig Rodrigues <rodrigc at crodrigues.org> wrote:
> 
> Hi,
> 
> I reviewed your branch:  https://github.com/wrohdewald/twisted/commits/spread-py3-7598/twisted
> 
> In my opinion, that branch has two categories of Python 3 porting:
> 
> Category 1: Minor
>   -> these are "minor" fixos, such as dealing with xrange -> range
> 
> Category 2: Major
>    -> you have done a lot of work to deal with bytes versus unicode strings
> 
> I hope you haven't lost interest in this, and are still willing to push forward.
> I would recommend that if you can separate out the minor fixes
> into separate GitHub pull requests and separate Trac tickets, then do that.
> 
> If you see: https://github.com/twisted/twisted/commits/trunk
> 
> you will see I have submitted a lot of pull requests + trac tickets of "minor"
> Python 3 fixes, and those have successfully been reviewed and merged
> by Twisted committers.
> 
> Dealing with bytes versus unicode strings will take longer to review,
> because it is more advanced.  That is why I recommend separating
> out the "minor" fixos if you can.
> 
> The other think I would recommend is if you do periodic merges
> from trunk to your branch, since a lot of new Python 3 fixes have gone into trunk in the past few weeks.
> 
> --
> Craig
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

I've also taken a hack at this whilst I was on the plane; please see https://github.com/twisted/twisted/compare/trunk...port-pb-7598 which has some minorly different approaches to porting than your branch. There is a few fixes to things I hadn't got to, which I'll investigate :)

- Amber

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/twisted-python/attachments/20160611/62451179/attachment.sig>


More information about the Twisted-Python mailing list