[Python-Dev] Arbitrary attributes on funcs and methods

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Wed, 12 Apr 2000 19:42:24 +0200


Moshe Zadka wrote:
> > To pollute this discussion with an example from another one:
> >=20
> >     i =3D 3.1416
> >     i.__precision__ =3D 4
>=20
> And voila! Numbers are no longer immutable. Using any
> numbers as keys in dicts?

so?  you can use methods as keys today, you know...

</F>