Changing base class of a big hierarchy

John J. Lee jjl at pobox.com
Sun Aug 3 07:44:10 EDT 2003


jjl at pobox.com (John J. Lee) writes:
[...]
> Maybe deep-copying the module or something, then fiddling with
> __bases__??  Or a metaclass?

Actually, I meant deep-copying as an *alternative* to fiddling with
__bases__ -- presumably could then replace the base class's methods
without affecting other users of xml.dom.

Not sure what the best plan is though, so my questions still stand.


John




More information about the Python-list mailing list