PEP0238 lament

Paul Prescod paulp at ActiveState.com
Mon Jul 23 19:54:15 EDT 2001


Paul Prescod wrote:
> 
>...
> 
> The other languages in the Python category (Perl, Ruby, JavaScript, ...)

I'm sorry, it turns out that I was wrong about Ruby. By default Ruby
uses closed-integer division. I presumed incorrectly that it followed
Perl. In Ruby you could probably change this behaviour using overloading
but this is probably ill-advised because it would probably change the
behaviour of libraries.
-- 
Take a recipe. Leave a recipe.  
Python Cookbook!  http://www.ActiveState.com/pythoncookbook




More information about the Python-list mailing list