New submission from Alexander Rødseth <rods...@gmail.com>:

Hi,

2to3 is a great tool, but I think I found one case it doesn't catch, which is 
this change:

-        half = self.maxstars / 2
+        half = self.maxstars // 2

"/ 2" is an integer division, so it should be "// 3" in Python 3.

Thanks.

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 142879
nosy: alexander256
priority: normal
severity: normal
status: open
title: 2to3 and integer division
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12831>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to