Language change and code breaks

Greg Ewing greg at cosc.canterbury.ac.nz
Thu Jul 12 01:31:14 EDT 2001


Dirck Blaskey wrote:
> 
> In all the examples cited that show why this is a problem,
> it's not integer division that causes the confusion,
> it's division of integer *literals*.

That's only because the examples have deliberately
been made very concise, to show the essence of
what's going on.

The problem occurs when / is applied to integer
*objects*, which can arise from any number of
sources.

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list