[Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please

Chris McDonough chrism at plope.com
Sat Feb 28 15:01:19 EST 2004


On Sat, 2004-02-28 at 04:51, alex at halogen-dg.com wrote:
> Hi
> 
> As far I understand the error happends in this code
> 
> Question to Python developers:
> 
> As far I understand, index does contain b, and
> data does not contain 'b'.
> 
> Simple question: why does the line:
> 
>   v = self._data[b].get(k, notfound)
> 
> throw KeyError at any case?

The bit of that expression that throws the KeyError is "self._data[b]",
not the ".get(k, notfound)"






More information about the Zope-Dev mailing list