PLay nice with Python 2.x
Added support for sliced searching