[Twisted-Python] Getting involved in Python 3.0 porting

Michael Pyle mpyle101+twisted at gmail.com
Tue Jan 27 19:37:39 MST 2009


On Tue, Jan 27, 2009 at 5:40 PM, Jean-Paul Calderone <exarkun at divmod.com>wrote:

> 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.
>>
>
Is there a way you prefer to see the tickets entered? Looking at the
buildbot log for build 45 it seems like there's a few different ways to
slice and dice things depending on how granular you want the tickets. You
could do it by "fix deprecated calls" or narrow it down to "fix
DeprecationWarning for xxx" or break it up by module or even on a file by
file or call by call basis (granted the latter seems like overkill for a
porting effort).

--mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20090127/97187456/attachment.html>


More information about the Twisted-Python mailing list