6628145af7
A somewhat cleaner solution is now used (through __init__) which also completely removes the performance impact of __getattribute__.