Python 3 does not support long type

```
NameError: global name 'long' is not defined
```