This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author minrk
Recipients minrk
Date 2016-09-14.11:47:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This patch fixes the memory leak in split-dict resizing.

Each time dict_resize is called, it gets a new, larger size `> minused`. If this is triggered many times, it will keep growing in size by a factor of two each time, as the previous size is passed as minused for the next call.

Set the lower bound at minused (inclusive), rather than exclusive, so that the size does not continue to increase for repeated calls.

A test is added to based on the earlier test script, but if someone has a simpler way to trigger the split-dict resize events, I'd be happy to see it.
Date User Action Args
2016-09-14 11:47:08minrksetrecipients: + minrk
2016-09-14 11:47:08minrksetmessageid: <>
2016-09-14 11:47:08minrklinkissue28147 messages
2016-09-14 11:47:08minrkcreate