Class Description

Glen Malley glen at ranma.interq.or.jp
Thu Aug 19 21:57:30 EDT 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