deprecated __getslice__ replaced with __getitem__
Merge pull request #6 from ilvalle/getitem

Deprecated __getslice__ replaced with __getitem__
Merge branch 'master' into py3
Various fixes for py3, pt 2