Schüle Daniel <[EMAIL PROTECTED]> writes: > does anybody know modules which make rational numbers available? > and are there considerations to add them to the core, like > complex numbers (maybe in Python 3)
I think it's not likely. In Scheme, (/ 5 2) is the rational number 5/2, while in current Python, 5/2 is the integer 2. If Python got native rationals, we'd expect something similar. But it's been publicly announced that in Python 3, 5/2 will be the floating point number 2.5. -- http://mail.python.org/mailman/listinfo/python-list