LionHeart123 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Can't use '__getattribute__' in python interpreter window #714

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.write a class which use __getattribute__ method in python interpreter window:

>>> class A(object):
...     def __getattribute__(self, name):
...         if name == 'good':
...             return 33

2. using this class:
>>> aa = A()
>>> a        <----- get a error window

OS: Windows XP sp3
Python version: all versions
Pyscripter version: 2.5.3.0 x86

Attachments are the error windows.

Original issue reported on code.google.com by xqt...@gmail.com on 25 Dec 2012 at 9:48

Attachments: