[Buildbot] #2860: Add forward-compatibility with Python 3.3+

Buildbot trac trac at buildbot.net
Tue Aug 5 13:35:16 UTC 2014


#2860: Add forward-compatibility with Python 3.3+
-------------------------+-------------------
Reporter:  dustin        |      Owner:
    Type:  project-idea  |     Status:  new
Priority:  major         |  Milestone:  0.9.+
 Version:  0.8.9         |   Keywords:
-------------------------+-------------------
 Buildbot is Python-2.x only because Twisted is, but Twisted is making
 great progress toward 3.x.

 When that happens, we should be ready to run on Python-3.x.

 We can start now by running the code through 2to3 and fixing the easy,
 backward-compatible stuff -- print -> print(), range -> xrange, etc.

 We can also run tests with the `-3` flag, which will warn about non-
 forward-portable stuff (unfortunately, it warns about a lot of non-
 Buildbot code, too!)

 We can use the `six` package for a lot of this, and factor out some
 utility functions for other problematic bits.

--
Ticket URL: <http://trac.buildbot.net/ticket/2860>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list