You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LookupError is the mother of both KeyError and IndexError, which is used by some containers.
"Index" seems to refer to an incremental integer key.
In py2store containers though, keys are meant have (unless otherwise specified) a looser semantic. They can actually be anything (even a non-hashable) that references some content.
Therefore, it may be better, at least at the base(r) levels that we use LookupError instead of what is used now: KeyError.
The text was updated successfully, but these errors were encountered:
LookupError
is the mother of bothKeyError
andIndexError
, which is used by some containers."
Index
" seems to refer to an incremental integer key.In py2store containers though, keys are meant have (unless otherwise specified) a looser semantic. They can actually be anything (even a non-hashable) that references some content.
Therefore, it may be better, at least at the base(r) levels that we use
LookupError
instead of what is used now:KeyError
.The text was updated successfully, but these errors were encountered: