[Python-Dev] re: division
Moshe Zadka
Moshe Zadka <mzadka@geocities.com>
Wed, 5 Apr 2000 16:08:53 +0200 (IST)
On Wed, 5 Apr 2000, Greg Ward wrote:
> Gaackk! Why is this even an issue? As I recall, Pascal got it right 30
> years ago: / is what you learned in grade school (1/2 = 0.5)
Greg, here's an easy way for you to make money: sue your grade school
<wink>.
I learned that 1/2 is 1/2. Rationals are a much more natural entities then
decimals (just think 1/3).
FWIW, I think Python should support Rationals, and have integer division
return a rational. I'm still working on the details of my great Python
numeric tower change.
> Not sure what "alphanumeric"
> means in Unicode, but I'm sure someone has worried about this.
I think Unicode has a clear definition of a letter and a number.
How do you feel about letting arbitrary Unicode whitespace into Python?
(Other then the indentation of non-empty lines <wink>)
--
Moshe Zadka <mzadka@geocities.com>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com