Issue1196

classification
Title: failure of dir() on instances of a class with __getattribute__
Type: Severity: major
Components: Library Versions: 2.5b0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pjenvey Nosy List: doublep, pjenvey
Priority: Keywords:

Created on 2008-12-09.22:23:34 by doublep, last changed 2008-12-10.00:07:46 by pjenvey.

Messages
msg3895 (view) Author: (doublep) Date: 2008-12-09.22:23:34
Setting severity to major because dir() is a built-in.

>>> class Test (object):
...     def __getattribute__(self, name):
...         return name
...
>>> dir (Test ())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: dictionary update sequence element #0 has length 1; 2 is
required
msg3897 (view) Author: Philip Jenvey (pjenvey) Date: 2008-12-10.00:07:45
fixed in r5726, thanks
History
Date User Action Args
2008-12-10 00:07:46pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg3897
2008-12-09 22:47:15pjenveysetassignee: pjenvey
nosy: + pjenvey
2008-12-09 22:23:34doublepcreate