]> granicus.if.org Git - python/commit
Mchael Hudson pointed out that the code for detecting changes in
authorGuido van Rossum <guido@python.org>
Wed, 2 May 2001 15:13:44 +0000 (15:13 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 2 May 2001 15:13:44 +0000 (15:13 +0000)
commitb1f35bffe5f2ce456854d4e8c8075a0d58e8eb02
tree8ac7d314d24fca271fefc0f97107d1f2a44850b7
parent542fe56cb9ed36bd8af8bd5cbfba9cdc7f3514f0
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.
Objects/dictobject.c