How about adding rational fraction to Python?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Tue Feb 26 09:41:50 EST 2008


On Tue, 26 Feb 2008 09:29:55 -0500, D'Arcy J.M. Cain wrote:

> If 3/4 ever returned 0.75 in any language I would drop that language.

Then prepare to drop Python from version 3 on:

Python 3.0a1 (py3k, Aug 31 2007, 21:20:42)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 3 / 4
0.75

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list