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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue687648>
____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to