[Python-porting] questions about future package here?

Neal Becker ndbecker2 at gmail.com
Mon Mar 31 21:34:10 CEST 2014


I'm  just experimenting with future package.

1st problem:
I tried converting a small py2 module
futurize mod.py -w

Then I get segfault. It seems to want to do:

from future.builtins import int

Then when my code says:

<some numpy container>.astype(int)

instead of converting to int, it is converted to object.

So what is this newint anyway?



More information about the Python-porting mailing list