Stefan Behnel wrote:

> Well, 'long' is exactly the reason: Since there are 'int' and 'long' in 
> Py2, which are completely interchangeable, it's impossible to type a 
> variable as Python 'int' or 'long' without restricting your code too much. 
 > ... If there was only Py3 (with only one Python 'int'
> type), this problem would have occurred much more often (and I predict that 
> it will become more apparent when more people start developing Py3 code).

What use cases do you think there will be for typing something
as a Python int, even in Py3? I'm having trouble thinking of
any.

-- 
Greg
_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to