Originally python evaluated 

5 / 2 = 2
5.0 / 2.0 = 2.5

It's hard to write and read generic code with such semantics.

It's easier when 

a // b always truncates and
a / b never truncates

Kari

-----Original Message-----
From: [EMAIL PROTECTED]

By the way whats wrong with 5/2 = 2 ?


_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to