Dynamically changing an object's class - still to be allowed?

Hamish Lawson hbl at st-andrews.ac.uk
Thu Apr 25 07:49:10 EDT 2002


I came across a debate that ran on the list while Python 2.2 was being
developed that suggested (if I understood correctly) that Guido was
planning to limit the ability to dynamically change an object's class by
assigning to its __class__ attribute. It was indicated that these
limitations might be implemented for Python 2.2, but they don't appear
to have been; might they yet?

Hamish Lawson





More information about the Python-list mailing list