[issue10163] 7/200 and 7%200 show weird results

Mark Dickinson report at bugs.python.org
Thu Oct 21 16:02:10 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Seconding Eric's comment.  This is what I get on my machine;  can you cut and paste the equivalent output on yours (including whatever else is required to reproduce the results you describe)

Python 2.6.1 (r261:67515, Feb 11 2010, 15:47:53) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 200 % 7
4

In any case, please let us know which version of Python you're using, and where you got it from.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10163>
_______________________________________


More information about the Python-bugs-list mailing list