Class Description

Glen Malley glen at ranma.interq.or.jp
Fri Aug 20 03:57:30 CEST 1999


On Wed, 18 Aug 1999 13:00:07 +0100, Ian Clarke <I.Clarke at strs.co.uk> wrote:
>
>> ...could a class re-write itself, if properly messed with?
>
>Do you mean like adding and removing methods and fields?

I mean like re-writing itself.
Adding and removing methods and fields is just one part
of it. I'd like to make something which can modify its
own source based on the additions made to it.
Shouldn't be too hard so long as classes can describe themselves.





More information about the Python-list mailing list