18 Mar
2022
18 Mar
'22
9:42 a.m.
18.03.22 11:29, Serhiy Storchaka пише:
It will break some code (there are 2 occurrences in the stdlib an 1 in scripts), but that code can be easily fixed.
Actually it will break more code, because initializing __slots__ with a list is pretty common. Maybe restrict it to tuple or list? But having an immutable __slots__ may be more reliable.