[prev in list] [next in list] [prev in thread] [next in thread]
List: zodb-dev
Subject: RE: [ZODB-Dev] False alarm (was: [BUG] maybe yet unknown BTREES bug)
From: "Tim Peters" <tim () zope ! com>
Date: 2003-01-28 18:05:12
[Download RAW message or body]
[Dieter.Maurer@Haufe.de]
> It has been a false alarm. Sorry!
>
> The same problem occured with the new BTrees module.
>
> Therefore, I checked the error again and found,
> that the problem was not caused by "tree[k] = v"
> but by a nearby "del tree[k]" (which, of course, is entitled to raise
> "KeyError").
>
> When we had analysed the error for the first time, we happened
> to look at some slightly outdated source.
I appreciate the follwup, Dieter! I've gone half blind searching the source
for any way a BTree __setitem__ could have raised KeyError. I didn't find
one, even if the BTree were corrupted. But that doesn't mean it couldn't
happen <wink>, so knowing it wasn't actually happening is a relief.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic