From: gabriele renzi Date: 2004-01-13T17:16:37+09:00 Subject: Re: faster integer arithmetics & arbitrary precision floating number il Tue, 13 Jan 2004 13:15:21 +0900, Jim Weirich ha scritto:: >> still, you can't reopen base classes in python, IIRC.. > >You can't reopen them as you can in Ruby, but it is possible to add >methods to a class after its definition. It involves assigning an >unbounded method to a attribute. I know thanks :) anyway, having int.__add__ always being the same easily alows you to do some constant folding, impossible to do in ruby, I suppose