1. James Taylor
  2. bx-python

Pull requests

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

Fix for issue #43

Author
  1. mruffalo
Reviewers
Description

functools.total_ordering is not present in Python <= 2.6, so replace it with a manually-implemented total ordering in bx_extras.lrucache.Node. The le, gt, ge and ne methods are implemented in terms of the already-existing lt and eq__.

Comments (0)