Re: [Python-Dev] The AttributeError/__getattr__ mechanism

2015-11-27 Thread Victor Stinner
Hi, As R. David Murray wrote on the issue, the python-ideas mailing list is better suited to start such discussion ;-) Victor 2015-11-27 9:40 GMT+01:00 王珺 : > Hello everyone: > > I'm suggesting a modification to the AttributeError/__getattr__ mechanism, > see issue25634: > http://bugs.python.org

[Python-Dev] The AttributeError/__getattr__ mechanism

2015-11-27 Thread 王珺
Hello everyone: I'm suggesting a modification to the AttributeError/__getattr__ mechanism, see issue25634: http://bugs.python.org/issue25634 I used __getattr__ sometimes, and *descriptor* especially *property* is so widely used. I wonder whether someone had encountered the same problem with me.