• Jeremy Hylton's avatar
    Make classes with __slots__ into new-style objects. · b50f8e3a
    Jeremy Hylton authored
    Move two class variable definitions into __init__(), because class
    variables defined in __slots__ are immutable.  This should still be a
    net memory savings, because the a 8-entry dict and a 10-entry dict
    both have the same allocated size.
    b50f8e3a
fspack.py 29.9 KB