__dict__ strangeness

Georg Brandl g.brandl-nospam at gmx.net
Sat Mar 18 12:27:49 EST 2006


Alan Franzoni wrote:
> Georg Brandl on comp.lang.python said: 
> 
>>>>> d.__dict__
>> {}
> 
> Which Python version, on which system? I can see the properly inserted
> attribute in __dict__, both with old style and new style classes.

It's 2.4.2, on Linux. The 2.5 SVN trunk has the same symptom.

Georg



More information about the Python-list mailing list