added support for retrieving items using numerical index instead of keys, like my_dict[1]
Removed feature to retrieve from index; it was stupid. Added has_key(self,key) method.
implemented __contains__(self,item)
Now, " some_key_or_value in my_wdict " works as expected
Optimized for a HUGE performance increase when adding lots of items to the dictionary. (as long as you don't read between every single writing. which generally isn't the case for mass writing operations.)
minor changes
added feature: bool_only argument to make a dictionary that can be looked up only to answer in true (exists) or false (does not exist). May not be iterated this way. to make normal, iterable index set bool_only to False (that's the default.) breaks older implementations due to file check. (not that there are any except my own so shouldn't be a problem.)