30 Jan
2008
30 Jan
'08
6:26 p.m.
Stephan Richter wrote at 2008-1-30 08:45 -0500:
... 1. The data's __dict__ returns an empty dictionary. When you access an attribute directly, though, the data can be seen. This symptom can be reliably reproduced.
This is normal for persistent objects. When a persistent object is in Ghost state, its "__dict__" appears to be empty (it is empty). When you access a non special attribute, the object is unghosted and then "__dict__" is filled in.
2. Sometimes, the session package data does not have the data in it and fails with a key error. This happens maybe 1 in 50 times and I have not reliably reproduced this problem.
What is "session package data"? -- Dieter