Opened 6 years ago

Last modified 4 years ago

#2860 assigned enhancement

Add forward-compatibility with Python 3.3+

Reported by: dustin Owned by: jvlomax
Priority: major Milestone: 0.9.+
Version: 0.8.9 Keywords:
Cc: vrutsky

Description

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.

Change History (3)

comment:1 Changed 5 years ago by jvlomax

  • Owner set to jvlomax
  • Status changed from new to assigned

comment:2 Changed 5 years ago by dustin

  • Type changed from project-idea to enhancement

We made great progress on this last year, but as somewhat expected, got caught up in porting Twisted. I don't think there's enough left here for a GSoC project.

Note: See TracTickets for help on using tickets.