gah! I hate the new string syntax
pieter at equinox.co.za
Fri Mar 16 12:52:01 CET 2001
On Mon, 12 Mar 2001 17:56:33 +0100, Alex Martelli <aleaxit at yahoo.com> wrote:
> Focusing on the polymorphism needs, I see the issue in the mirror
> way from you: it's a _weakness_ (of Python and most other languages)
> that I can't add methods 'post-facto, from the outside' to existing
> objects -- it impedes the most natural, elegant, typeswitch-free way
> to add functionality.
Not true. See my other message in this post for how to extend Python
classes with new methods at runtime.
/_) /| /
/ i e t e r / |/ a g e l
More information about the Python-list