1. James Taylor
  2. bx-python
  3. Pull requests

Pull requests

#1 Merged
Repository
bx-python3
Branch
default
Repository
bx-python
Branch
default

Python 3 compatibility patches

Author
  1. mruffalo
Reviewers
Description

These commits comprise tweaks to allow bx-python to run unmodified on Python 3 via the distutils 2to3 builder. (Well, the 2to3 run happens during the build and is transparent to users.)

Other changes include: All usages of the 'cmp' function are changed to lt and eq with functools.total_ordering filling in the rest Sorting comparison functions are removed in favor of the 'key' keyword argument to the builtin sort() function

Tested Python versions: 2.7 3.2

  • Issues #35: Support Python 3 new

Comments (0)