Author georg.brandl
Recipients georg.brandl, rupole
Date 2008-08-10.18:47:23
SpamBayes Score 4.63892e-05
Marked as misclassified No
Message-id <>
The problem is that PyDict_New doesn't reinitialize the fields of a dict
from the free list when the number of entries is zero. For a
preconstructed dict (like created by BUILD_MAP) of size >=8, however,
there will be an allocated ma_table and ma_mask will be 16-1, not 8-1.

I propose the attached patch.
Date User Action Args
2008-08-10 18:47:25georg.brandlsetrecipients: + georg.brandl, rupole
2008-08-10 18:47:25georg.brandlsetmessageid: <>
2008-08-10 18:47:24georg.brandllinkissue3537 messages
2008-08-10 18:47:24georg.brandlcreate