[issue687648] classic division in demos/ directory

Robert Schuppenies report at bugs.python.org
Sun Mar 2 16:59:43 CET 2008


Robert Schuppenies added the comment:

The attached patch applies floor division to all classic divisions where
only integer input was used, and true division where at least on input
parameter was of non-integral type. 
In cmptree.py I replaced "int(size/dt)" with "size//dt" as it has the
same semantic but I thought it to be more explicit.

----------
keywords: +patch
nosy: +okkoto
Added file: http://bugs.python.org/file9585/demo_classicdivision.diff

____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue687648>
____________________________________


More information about the Python-bugs-list mailing list