Skip to content
  • Iustin Pop's avatar
    Fix dumpers/loaders after __slots__ cleanup · adf385c7
    Iustin Pop authored
    Commit 154b9580
     changed (correctly) the __slots__ usage, but this broke
    dumpers/loaders since we relied directly on the own class __slots__
    To compensate, we introduce a simple function for computing the slots
    across all parent classes (if any), and use this instead of __slots__
    Note: the _all_slots() function is duplicated between and, but the only other options is to introduce a for
    such very basic language items.
    Signed-off-by: default avatarIustin Pop <>
    Reviewed-by: default avatarMichael Hanselmann <>