Manual Metaclass Compatibility: The Pre-`six` Struggle

Before `six.add_metaclass`, developers had to resort to more verbose manual methods, often involving conditional logic or an intermediary base class like `six.with_metaclass`, to achieve cross-version metaclass compatibility, which could complicate the Method Resolution Order (MRO).

Sources

Open the full topic