In the function _swap_refs (line 686 currently), there is a comparison of containerType to 'type'. However this seems to fail when the container has a metaclass (such as ABCMeta); this would cause an error when using, say, an old style super. It seems the line should be: elif issubclass(containerType, type): or maybe elif isinstance(container, type):
Updating bases of classes with metaclasses
Issue #3
new