Are dictionaries the same as hashtables?

John Machin sjmachin at lexicon.net
Tue Aug 26 11:22:02 CEST 2008


On Aug 26, 5:43 pm, Martin Marcher <mar... at marcher.name> wrote:
> On 2008-08-26 00:32:20, cnb wrote:
>
> > Are dictionaries the same as hashtables?
>
> Yes, but there is nothing in there that does sane collision handling
> like making a list instead of simply overwriting.
>

Please clarify: (1) Nothing in where? In the Python dictionary
implementation? (2) What do you mean by "sane collision handling"?
What do you mean by "simply overwriting"?

TIA,
John



More information about the Python-list mailing list