commit | b1f35bffe5f2ce456854d4e8c8075a0d58e8eb02 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed May 02 15:13:44 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed May 02 15:13:44 2001 +0000 |
tree | 8ac7d314d24fca271fefc0f97107d1f2a44850b7 | |
parent | 542fe56cb9ed36bd8af8bd5cbfba9cdc7f3514f0 [diff] |
Mchael Hudson pointed out that the code for detecting changes in dictionary size was comparing ma_size, the hash table size, which is always a power of two, rather than ma_used, wich changes on each insertion or deletion. Fixed this.