Python 3 only has int. That is a problem.
I think I have a related problem with numexpr:
Numexpr has been recently ported to python 3, and it uses numpy 2to3 machinery under the hood. So I'm interested in this issue. But I don't know exactly what you fixed. Could you elaborate more on this issue please? Thanks.
Nothing fancy, I put a version dependent definition of long in numpy/compat/py3k.py where various other such things go. Basically
if sys.version_info >= 3:
long = int
long = long
And import long where it's needed.
Ah, okay. Yes, something similar has been done in numexpr. Thanks for the extra info!