[Zope-dev] Session concurrency problem
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Feb 4 10:14:16 EST 2008
On Wednesday 30 January 2008, Dieter Maurer wrote:
> >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"?
A very simple object:
class SessionPkgData(persistent.Persistent, IterableUserDict):
"""See zope.session.interfaces.ISessionData
>>> session = SessionPkgData()
>>> ISessionPkgData.providedBy(session)
True
"""
zope.interface.implements(ISessionPkgData)
def __init__(self):
self.data = OOBTree()
(zope.session.session, line 517)
Regards,
Stephan
--
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
More information about the Zope-Dev
mailing list