I have a code in Python 2 which I would like to convert to Python 3, however the behaviour of the code MUST remain exactly the same as on Python 2 interpreter.
Especially division must behave like on Python 2 interpreter.
I tried with futurize stage 1 and 2 but division remains just / on the code, which generates errors on execution because returned number is of type float instead of type int (which was a default behaviour for code executed on Python 2 interpreter).
EDIT: 3 // 2 = 1.0 which is float in Python 3. Is there a way to return int?