Allow Python long integers in indexing.
Check indexing with too big a long raises an error
Merge pull request #1285 from lamblin/long_indexing

Allow Python long integers in indexing.