Subclassing built-in classes

Theerasak Photha hanumizzle at
Wed Oct 11 06:18:55 CEST 2006

On 10/9/06, Gabriel Genellina <gagsl-py at> wrote:
> At Saturday 7/10/2006 04:35, hanumizzle wrote:
> > > >As the first post said "...couldn't python (in theory)...", I
> > was discussing
> > > >if it would be possible for python (in some future version) to manage the
> > > >literals so that they use the constructors in the __builtin__ module, I
> > > >didn't say it works actually (I'm aware it's not the case).
> >Somehow, I missed Python's round() function and came up with
> >convoluted solution involving decimal. Gee duh, Theerasak
> Ah! So this is applicable:
> Describe the goal, not the step

Believe it or not, I did look for round() but by virtue of some
strange brain fart I didn't find it until later.

-- Theerasak

More information about the Python-list mailing list