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 _______________________________________________ Zope-Dev maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
