Ryanitus wrote:
> I may have found a bug in the __setitem__ method of the maxdict class.
>
Fixed--thanks for pointing it out.
Eric
> Since a dictionary is a mapping class, if an item is set that already
> exists, it overwrites the previous. However, you are still appending that
> item to _kill
I may have found a bug in the __setitem__ method of the maxdict class.
Since a dictionary is a mapping class, if an item is set that already
exists, it overwrites the previous. However, you are still appending that
item to _killkeys regardless.
In the case where 2 items with the same key were a