Re: [ZODB-Dev] RFC: Remove KeyError as base class of POSKeyError

2011-12-15 Thread Paul Winkler
Yes thank you!! Paul Winkler -- Typed on my phone. Apologies for typos, brevity, and/or bizarre word substitutions. On Dec 15, 2011, at 11:52 AM, Jim Fulton wrote: > POSKeyError subclasses KeyError. While this makes sense conceptually, > it's really unfortunate in practice. Application code

Re: [ZODB-Dev] RFC: Remove KeyError as base class of POSKeyError

2011-12-15 Thread Maurits van Rees
Op 15-12-11 17:51, Jim Fulton schreef: POSKeyError subclasses KeyError. While this makes sense conceptually, it's really unfortunate in practice. Application code that catches key errors when getting an item from a container, will unintentionally hide POSKeyErrors. I propose to remove KeyError

[ZODB-Dev] RFC: Remove KeyError as base class of POSKeyError

2011-12-15 Thread Jim Fulton
POSKeyError subclasses KeyError. While this makes sense conceptually, it's really unfortunate in practice. Application code that catches key errors when getting an item from a container, will unintentionally hide POSKeyErrors. I propose to remove KeyError as a base class of POSKeyError. While t