22 Nov
2004
22 Nov
'04
9:29 a.m.
Dear List, recently i got stuck on a strange class initialization bug. Please refer the sample attached for a demonstration and watch what happens to d2 in the second class instance. This only works on dictionaries. Any other types initialized outside of __init__ seem to work perfectly. So, is it a bug or a feature? In my eyes this behaviour is not what the programmer has got to expect. Who knows whats happening there and can explain me if it makes any sense? Best regards Oliver
7067
Age (days ago)
7067
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nick Coghlan
-
Oliver Walczak