[Twisted-Python] Getting involved in Python 3.0 porting

Jean-Paul Calderone exarkun at divmod.com
Tue Jan 27 20:40:58 EST 2009


On Tue, 27 Jan 2009 19:08:15 -0000, glyph at divmod.com wrote:
>
>On 05:12 pm, ceronman at gmail.com wrote:
>>This year I'm going to start my graduation project for software
>>engineering and I want to use Python and Twisted. I want to use Python
>>3.0 but unfortunately, Twisted doesn't support 3.0 yet and I've read
>>that this is not exactly a high priority right now. As this is an open
>>source project, I thought the best thing I can do is to contribute
>>with the porting. Then I have some questions:
>
>Thanks!  We can always use help, and the 3.0 port is a major project which 
>we currently have no manpower for, so we can especially use help for that.
>>Is someone leading the porting process?
>
>You, now :).
>>Have you defined a porting strategy?
>
>Yes.  It's outlined here:
>
>http://stackoverflow.com/questions/172306/how-are-you-planning-on- handling- 
>the-migration-to-python-3#214601
>>What is the best way in which I can contribute to this?
>
>Twisted's test suite currently emits a _lot_ of warnings.  In order to do a 
>python 3 port, we'll need to be getting zero warnings on python 2.6 with the 
>-3 switch.  If we are even going to be able to _see_ those warnings, we need 
>to get down to zero warnings and adopt a zero- tolerance policy on new 
>warnings being added.
>
>So the first thing you should do is find, file, and fix as many tickets as 
>you can related to warnings in tests; warnings from Twisted itself, warnings 
>from the stdlib, warnings from dependencies.

To expand on this, you can find the warnings which are currently emitted from
the Twisted test suite by looking at one of the build result pages on our
buildbot.  Our buildbot's website is at <http://buildbot.twistedmatrix.com/>.
Warnings have a special page, linked from each build result page.  For
example, <http://buildbot.twistedmatrix.com/builders/debian-py2.3-select/builds/258/steps/trial/logs/warnings>.

There is also a builder which runs using the -3 warning option: 
<http://buildbot.twistedmatrix.com/builders/python-3k-warnings>.

And another which runs against Python 3.0: <http://buildbot.twistedmatrix.com/builders/ubuntu64-py3.0-select>.

The general Twisted development process is described on the Divmod wiki:
<http://divmod.org/trac/wiki/UltimateQualityDevelopmentSystem>.

You can find more information on <http://twistedmatrix.com/trac/wiki/TwistedDevelopment>.

Jean-Paul




More information about the Twisted-Python mailing list