Ticket #587 (closed enhancement: fixed)
Support __metaclass__ in Python classes
|Reported by:||vitja||Owned by:||vitja|
Description (last modified by scoder) (diff)
Add support for metaclasses in Python classes.
Problem: now class object is created with empty attributes dict (only __module__ is set) and then attributes are assigned via PyObject_SetItem()
To support metaclasses attributes dict should be initialized first then __metaclass__ attribute should be handled in __Pyx_CreateClass()