nick coghlan uytankmfgmailcom one issues porting py3k problem __getattr__ __getattribute__ cant reliably provide special methods like __add__ way __getattr__ could classic classes first noted terry reedy years ago recently seeing new activity bug tracker 1 culprit fact __getattribute__ associated machinery typically never invoked methods dedicated tp_ slots clevel type structure people think idea providing extra method type objects goes clevel special method slots one isnt currently set getattr associated special name stores result current type object converting proxy class relies __getattr__ classic newstyle would needed invoke new method class object defining class class decorator metaclass could provided somewhere make bit tidier seems lot cleaner expecting everyone implements proxy object maintain list relevant special methods locates implementation support area code already plenty infrastructure dedicated keeping python visible attributes sync c visible tp_ slots thoughts altenative ideas howls protest cheers nick 1 httpbugspythonorgissue643841 nick coghlan uytankmfgmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 152820 1000 python3000 method populate tp_ slots via getattr