[Python-Dev] Adding a Rational Type to Python
Paul Prescod
paulp@ActiveState.com
Mon, 12 Mar 2001 04:27:29 -0800
Whether or not Python adopts rationals as the default number type, a
rational() built-in would be a Good Thing. I'd like to see it in 2.1 or
2.2.
I think that Python users should be allowed to experiment with it before
it becomes the default. If I recode my existing programs to use
rationals and they experience an exponential slow-down, that might
influence my recommendation to Guido.
--
Python:
Programming the way
Guido
indented it.
- (originated with Skip Montanaro?)