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
OK, these look pretty trivial. I've forked your repository and already fixed len() and has_key(). I'll see about the rest but submit a pull request for those, at least, today or tomorrow.
get_storage()
doesn't implement some of the basic methods of a dictionary.I haven't actually got to putting anything into the storage, yet, but on an empty storage:
results in:
TypeError: an integer is required
as does
len(storage)
Also, it has no
'viewitems', 'fromkeys', 'viewvalues', '__cmp__', '__le__', 'has_key', 'viewkeys', '__gt__', '__lt__', 'copy', '__ge__'
methods.Most importantly, I need
has_key
— and contains() provides the correct functionality, so why not just implementhas_key()
?The text was updated successfully, but these errors were encountered: