[Python-ideas] Add an attribute spec descriptor.