• Tim Peters's avatar
    Jack Jansen hit a bug in the new dict code, reported on python-dev. · 0c6010be
    Tim Peters yazdı
    dictresize() was too aggressive about never ever resizing small dicts.
    If a small dict is entirely full, it needs to rebuild it despite that
    it won't actually resize it, in order to purge old dummy entries thus
    creating at least one virgin slot (lookdict assumes at least one such
    exists).
    
    Also took the opportunity to add some high-level comments to dictresize.
    0c6010be
dictobject.c 42.7 KB