[issue37713] 2to3 division problems leading to program crashes in Python3

2019-07-29 Thread Zachary Ware
Zachary Ware added the comment: This is not a bug; division changed in Python 3 such that `/` is the "true division" operator, whereas `//` is the "integer division" operator. Note that this was actually added in Python 2.2, though it was guarded by `from __future__ import division` for the

[issue37713] 2to3 division problems leading to program crashes in Python3

2019-07-29 Thread Xinmeng Xia
New submission from Xinmeng Xia : The snake game will report a crash in Python3: Traceback (most recent call last): File "/home/xxm/Desktop/instrument/datasetpy3/Snake_game/runGame.py",line 20, in w.addch(food[0], food[1], curses.ACS_PI) TypeError: integer argument expected, got float