Espen Vestre <[EMAIL PROTECTED]> writes: > > If you say foo.frob() in Python, that's supposed to look up 'frob' in > > a dictionary hanging off of foo. You can modify the contents of this > > dictionary any time you want. > > You can redefine CLOS methods at run time any time you like, so this > doesn't make Python more /dynamic/ than CLOS. Maybe you should replace > "more dynamic" with "less managable", if that's what you mean?
Can you redefine CLOS methods without calling CLOS functions that tell the object system what to expect (so it can do things like update the MRO cache)? I.e. can you redefine them by poking some random dictionary? You can in Python. I don't claim that's a good thing. -- http://mail.python.org/mailman/listinfo/python-list